Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 9 of 9
  1. #1

    Default CSS Drop Down Navigation [+4 rep]

    How do I get a drop down navigation using CSS like http://www.smartwavetech.com?

    Replies recieve +rep

  2. #2
    Join Date
    Feb 2009
    Location
    Suffolk
    Posts
    327
    Tokens
    0

  3. #3

    Default

    that makes my code too bloated, and uses JS

  4. #4
    Join Date
    Mar 2008
    Location
    Swindon, UK
    Posts
    1,274
    Tokens
    187
    Habbo
    :Ltd

    Latest Awards:

    Default

    CSS Drop down, and you think JS code is "bloated"? Try this tutorial I quickly googled 4 u. http://www.projectseven.com/tutorial...ion/auto_hide/
    Hi, names James. I am a web developer.

  5. #5

    Default

    That thing generated about 200 lines of code.

    Thanks for this one though - looks promising
    Last edited by Thai-Man-Land; 12-03-2009 at 07:40 PM.

  6. #6

    Default

    EDIT: Free hosting to the person who can do this for me. Internet keeps crashing (again)

  7. #7

    Default

    If you're not going to use JavaScript, each lower version of Internet Explorer and I'm sure other browsers will lose functionality, as they all have different stages of CSS 2.1 implemented and especially when it comes to the pseudo selectors in particular the :hover one, IE6 only supports them for hyperlinks. In all honesty you're best off using JavaScript or a JavaScript framework, but here's a sample I did up, again it won't work well in all browsers. http://pastebin.me/49ba03b4bd750
    Last edited by Iszak; 13-03-2009 at 06:59 AM. Reason: sentence structure

  8. #8

    Default

    Any reccomendations for using JavaScript?

  9. #9

    Default

    There's lots of frameworks that'll help you with this - but just be sure when using JavaScript use it responsibly, this includes if you're going to use a framework (which can add around 30kb) to your page size, use it more than once. Also allow non-JavaScript replacements, so for example with this drop down menu if they have JavaScript off, it'll possibly let them click the main links, which will then direct them to a page with the links from the submenu. If you want I could make you one with jQuery sometime.

Posting Permissions

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