Results 1 to 10 of 10

Thread: lil help please

  1. #1
    Join Date
    Sep 2007
    Posts
    1,158
    Tokens
    0

    Latest Awards:

    Default lil help please

    i forgot the script for when you click an image, and underneath lots of little links appear. if u click it again they dissapear

  2. #2
    Join Date
    Sep 2007
    Location
    USA
    Posts
    474
    Tokens
    0

    Default

    wouldnt that be a spoiler like on here?
    Post Meter
    ______________________________________________
    400 450 500 550 600 650 700 750 800 850 900-1k
    Green=Done | Orange=Almost | Red=Not Done
    ______________________________________________
    Habbo fury Coming Soon!
    My Img tag has ran away

  3. #3
    Join Date
    Sep 2007
    Posts
    1,158
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by lozlozloz View Post
    i forgot the script for when you click an image, and underneath lots of little links appear. if u click it again they dissapear
    yes, um an example is on www.habbome.com

  4. #4
    Join Date
    Aug 2006
    Location
    United Kingdom
    Posts
    3,843
    Tokens
    1,121

    Latest Awards:

    Default

    you mean dropdown links
    www.dynamicdrive.com

    its on their.


    Edit here:
    http://www.dynamicdrive.com/dynamici...switchmenu.htm
    Last edited by Sunny.; 03-10-2007 at 03:49 PM.

  5. #5
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    NEVER. EVER. Use DynamicDrive.

    I'll post the code later, bust atm.

  6. #6
    Join Date
    Sep 2007
    Posts
    1,158
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Sunny. View Post
    you mean dropdown links
    www.dynamicdrive.com

    its on their.


    Edit here:
    http://www.dynamicdrive.com/dynamici...switchmenu.htm
    thanks

  7. #7
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    HTML Code:
    <html>
    <head>
    <script type="text/javascript">
    
    function switch(div) {
    
    var el=document.getElementById(div);
    el.style.display=el.style.display=='none'? 'block' : 'block';
    
    }
    </script>
    </head>
    <body>
    <div id="title"><a onClick="switch(1)">TITLE LOL</a></div><br />
    <div id="1" style="display: none">lol</div>
    </body>
    </html>

  8. #8
    Join Date
    Jul 2007
    Location
    Swindon
    Posts
    990
    Tokens
    125

    Default

    Quote Originally Posted by Invent View Post
    HTML Code:
    <html>
    <head>
    <script type="text/javascript">
    
    function switch(div) {
    
    var el=document.getElementById(div);
    el.style.display=el.style.display=='none'? 'block' : 'block';
    
    }
    </script>
    </head>
    <body>
    <div id="title"><a onClick="switch(1)">TITLE LOL</a></div><br />
    <div id="1" style="display: none">lol</div>
    </body>
    </html>
    that actually work?

  9. #9
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    Yes. .

  10. #10
    Join Date
    Jul 2007
    Location
    Swindon
    Posts
    990
    Tokens
    125

    Default

    thats a rather simple way

Posting Permissions

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