Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Sep 2005
    Posts
    2
    Member #
    11245
    Hey im kind of a newbie, please try and help..

    I want something like this..

    When ure mouse cursor moves over some link.. a list of sub-links is displayed..

    to see what i mean..just check out the URL: http://www.history.ufl.edu/ <-- here whenever u move ure mouse cursor over links such as Facult&Staff, Courses etc.. a list of sublinks are displayed.

    Can anyone tell me how to do that? what do i need to learn ? can it be done using plain HTML?

    Thanks a lot ! looking forward to a reply..

    bye !
    Varun.

  2.  

  3. #2
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    Well that is achieved by HTML and JavaScript.

    The HTML defines how the horizontal bar will appear in a browser, and the JavaScript handles showing the sub-links.

    Code:
    <A HREF="#" onmouseout="overmenu=0; menutimeout('faculty')" onmouseover="hideMenu(); popup('faculty'); swap_img('faculty'); overmenu=1;"><IMG NAME="faculty" SRC="topNavImages/facultyOFF.gif" WIDTH=91 HEIGHT=22 BORDER=0 ALT="Faculty and Staff"></A></TD>
    I am unsure if you have JS experience, but what that is saying is when the user mouses over (the mouse cursor goes over) the image, to do 4 things.

    1: call the function hideMenu();
    2: call the function popup(); with the argument faculty
    3: call the function swap_img again with the argument faculty
    4: Assign the variable overmenu a value of 1.

    These are found all over the web, if you would like to look for one, try

    http://dynamicdrive.com
    http://javascriptkit.com

    Hope this helps


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:28 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com