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
    Jun 2003
    Posts
    2
    Member #
    1898
    I want to create a basic navigation system for my site that uses DIV tags to create boxes as links. The links are general and have subcategories that I would also like to display and I would like to use an onMouseOver event to pop up more choices to to the right of the first option when it is in pointed to. Would the best way to do this be to do a JS function that displays more DIVs in a relative manner? Meaning, should the position of the new DIVs upon mouseOver be relative to the first link? Can someone provide a rough example or code sample? MUUUUCH appreciated!!! I'm just not sure exactly where to start!

    THANKS!

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    My own personal preference for nav systems of this nature is to use absolute positioning: that way, everything's exactly where it's supposed to be no matter what. The best example that I have of this is in two places:

    http://www.ontariomantels.com
    http://www.allhvacinfo.com

    As you'll see when you yank out the code, the menus are pulled from external JScripts and then displayed in the correct position on the site. (This can be done vertically as well but I don't have a complete one in a vertical configuration.)
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


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 07:09 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com