+ Reply to Thread
Results 1 to 4 of 4

Thread: Popup div on mouse-over

  1. #1
    Yatagrasu is offline x10Hosting Member Yatagrasu is an unknown quantity at this point
    Join Date
    Jan 2008
    Posts
    12

    Popup div on mouse-over

    Hello,

    I've been searching all morning for a simple javascript that will display a div (or something) when a user mouses-over an <li> element in my navigation bar's unordered list to display a sub menu, if you want to call it that.

    My navigation bar is horizontal and uses this syntax:

    HTML Code:
          <div id="menu">
    <ul>
    <li><a id="selected"  href="bla bla bla.com">home</a>
    <li><a href="blAA">another page</a>
          </div>
    And is controlled using this CSS:
    Code:
    #menu li a:hover, #menu li a#selected, #menu li a#selected:hover
    { background: #FFFFFF url(menu_hover.png);
      color: #484E56;
    } 
    
     #menu, #menu li a
    { background: #FFFFFF url(menu.png);
      color: #D1D3D7;
      border-color: #D7D7D7;
    }
    I can't seem to find a script that works. Can anyone please help?
    Thank you.

  2. #2
    FalseHope's Avatar
    FalseHope is offline Lord Of The Keys FalseHope is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    IRC
    Posts
    1,639

    Re: Popup div on mouse-over

    This belongs in the scripts board.
    :happysad:;):cool::nuts::rant2::drool::eek4::dunno::thefinger:laugh::hahano::lockd::naughty:

  3. #3
    Yatagrasu is offline x10Hosting Member Yatagrasu is an unknown quantity at this point
    Join Date
    Jan 2008
    Posts
    12

    Re: Popup div on mouse-over

    Sorry. I would appreciate it if someone moved it and gave me an answer......

  4. #4
    TechAsh's Avatar
    TechAsh is offline Retired TechAsh is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    UK
    Posts
    5,853

    Re: Popup div on mouse-over

    I have such a script. It may take me a couple of minutes to find the site I got it from.

    I'll edit once I've found it.

    Edit: Found It
    http://www.dynamicdrive.com/dynamicindex16/showhint.htm
    It's quite easy to customise and has worked in every browser I've tested it in.
    Last edited by TechAsh; 03-06-2008 at 11:11 AM.
    Useful Links:
    Terms of Service | Server News | Buy a Domain
    Free Domains: co.cc | Dot.tk -- Free File Storage: Dropbox -- Website Monitoring: Service Uptime


    My Websites:
    Earthtime Games & TechAsh's Blog

+ Reply to Thread

Similar Threads

  1. popup creator
    By IamShipon1988 in forum Graphics & Webdesign
    Replies: 2
    Last Post: 01-04-2009, 03:37 PM
  2. Replies: 1
    Last Post: 11-27-2007, 07:36 PM
  3. Replies: 3
    Last Post: 09-10-2006, 03:08 AM
  4. Revenge of the mouse
    By n4tec in forum Off Topic
    Replies: 8
    Last Post: 01-11-2006, 10:01 AM
  5. Sony : Keyboard and Mouse Support for PS3
    By subvertman in forum Gamer's Lounge
    Replies: 7
    Last Post: 09-07-2005, 05:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers