www.webdeveloper.com
Results 1 to 3 of 3

Thread: links and JS

  1. #1
    Join Date
    Oct 2005
    Posts
    15

    links and JS

    Hey

    I have to design pages that contain links that can only ( so i heard) be done by JS. It would mean that the page would contain a link. When the cursor is on top of the link 2-3 othe links appear below it. I can't remember what the link is called but i hope someone understood what I meant.

    Thanks!

  2. #2
    Join Date
    Nov 2003
    Location
    Worthington, OH, USA
    Posts
    3,634
    I think this is what you're asking for:

    Code:
    <div>
    <a href="..........." onmouseover="document.getElementById('subLink').style.display='block'" onmouseout=document.getElementById('subLink').style.display='none'">Top Link</a>
    <div id="subLink" style="display:none">
    <a href=".....">Sub Link 1</a>
    <a href=".....">Sub Link 2</a>
    <a href=".....">Sub Link 3</a>
    </div>
    </div>
    54 68 65 42 65 61 72 4D 61 79

  3. #3
    Join Date
    Oct 2005
    Posts
    15
    not exactly...
    I have an example of this kind of a link -> www.elsedesign.fi

    I know I can get the code from those pages but the pages contain so much JS that I have a problem finding the exact code that I want

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles