Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: bbcode buttons

  1. #1
    Regular Coder
    Join Date
    Nov 2006
    Posts
    601
    Thanks
    1
    Thanked 2 Times in 2 Posts

    bbcode buttons

    i have made by bbcode but now im trying to pull together some puttons to use with the code but i have come accross soem problems,,,

    i have 3 areas i cant figure out how to creat buttons for these are:

    colour
    size
    font

    i would like to creat a drop down menu with say

    red
    blue
    black
    green

    and when one of the colours are selected it sets the code in the box as


    ho do i do this?

  • #2
    New to the CF scene
    Join Date
    Oct 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    to <head> :
    Code:
    <script src="/js/prototype.js" type="text/javascript"></script>
    <script src="/js/scriptaculous.js"type="text/javascript"></script>
    JS-Libs U can find online.

    Body:
    Code:
    <div onclick="javascript: Element.show('usertoolswrap'); window.setTimeout('Effect.DropOut(\'usertoolswrap\', {duration:.3})',4000); return false;" id="usertools_out" class="sitetool">
    	<span class="sitetools">You button</span>
    <!-- hidden area -->
            <div id="usertoolswrap" style="display: none;">
                <div id="usertools" onclick="javascript: Element.hide('usertoolswrap'); return false;" >
                ...Your html-code here...
                </div>
            </div>
    <!-- END hidden area -->
    </div>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •