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 5 of 5
  1. #1
    Join Date
    Jan 2008
    Posts
    1,003
    Tokens
    0

    Latest Awards:

    Default {+REP] Mouse over - popup

    Hello there,

    I'm basically in a current project (disciplesofrhythm.com). I'm basically in need of a script which will have a floating box or something when a user puts their mouse over a hot spot.

    Basically its a bar of music, then when they place their mouse over the hotspot i explain what the notation is in a little floating popup or whatever, It would be nice for me to be able to easily change it.

    So im looking for a script, any one help?

    +rep.

  2. #2
    Join Date
    Jun 2008
    Location
    Manchester
    Posts
    766
    Tokens
    0

    Default

    HTML Code:
    <div id="infobox" style="width: 125px; position: fixed; top: 50%; z-index: 1; margin: auto; background-color: white; border: 1px solid #000000; display:none;">blah blah music notes <br><a href="#" onClick="document.getElementById('infobox').style.display='none'">[X]</a>
    </div>
    <a href="#" onClick="document.getElementById('infobox').style.display='block'">Click here for box thingy</a>
    Hopefully that would work.

  3. #3
    Join Date
    Aug 2006
    Posts
    312
    Tokens
    0

    Default

    Another script could be the one found here: http://www.javascriptkit.com/script/...ltooltip.shtml

    Although to be honest the script above seems more easy to add into the sites html. This one is quite long and is from a free javascript source so might only be good for edditing or using as a template anyway


  4. #4
    Join Date
    Jun 2008
    Location
    Manchester
    Posts
    766
    Tokens
    0

    Default

    Quote Originally Posted by help23 View Post
    Another script could be the one found here: http://www.javascriptkit.com/script/...ltooltip.shtml

    Although to be honest the script above seems more easy to add into the sites html. This one is quite long and is from a free javascript source so might only be good for edditing or using as a template anyway
    That's probably a better answer than mine. I got thrown by the word "popup".

  5. #5
    Join Date
    Jun 2007
    Posts
    240
    Tokens
    0

    Default

    Why not use jQuery?

Posting Permissions

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