Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 07-21-2004, 09:12 AM Problem with Menu
LizzeyDripping's Avatar
Skilled Talker

Posts: 77
Name: Sarah
Trades: 0
I am using a drop down menu, which should display the submenu on click, but when I click it the submenu is above and slightly to the right of the main menu. Not a good look! Any ideas as to how I can stop this happening?

Thanks!
LizzeyDripping is offline
Reply With Quote
View Public Profile Visit LizzeyDripping's homepage!
 
 
Register now for full access!
Old 07-21-2004, 09:26 AM hi
Mooofasa's Avatar
Defies a Status

Posts: 1,611
Name: Michael (mik) Land
Location: England
Trades: 0
Can you submit your source code, because without that i/we cannot see what is the true problem
__________________

Please login or register to view this content. Registration is FREE
- Tumblog with thoughts, quotes, links, videos, images and my creations.

Please login or register to view this content. Registration is FREE
- The best free web browser.

Please login or register to view this content. Registration is FREE
- Firefox is now Firefail.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Old 07-21-2004, 10:58 AM
LizzeyDripping's Avatar
Skilled Talker

Posts: 77
Name: Sarah
Trades: 0
OK, thanks for your response, but I've had another look at the code and it won't work in netscape - it appears to only work in ie. That's no good to me anyway then!

All I want to happen is when you hover over the main link, a little box of sublinks appears and then you can use the links, or it disappears on mouse out. I thought show/hide layers in Dreamweaver would make this a doddle (does mentioning that mean I'm in the wrong forum? If so, sorry!) but for some reason the layers don't show OR hide no matter what I do - it's like they don't exist!

Can anyone suggest a way of getting this effect really simply?
LizzeyDripping is offline
Reply With Quote
View Public Profile Visit LizzeyDripping's homepage!
 
Old 07-21-2004, 12:40 PM hi
Mooofasa's Avatar
Defies a Status

Posts: 1,611
Name: Michael (mik) Land
Location: England
Trades: 0
Hi, your best bets is using Dhtml, ive added a code below, the menu's impressive list of features makes it one of the best scripts of its kind today:

Ability to act either as a horizontal or vertical menu (through toggle of a single variable)
Multi-level submenus supported (ie: 3 levels down)
Menu interface completely customizable (color, alignment etc)
Drop down in another frame supported (frames support)
Functional in all major DHTML browsers- IE4+, NS4, NS6+, Opera7+

Insert below the <body> tag.(immedietly after the body tag)

<script type='text/javascript'>

function Go(){return}

</script>
<script type='text/javascript' src='exmplmenu_var.js'></script>
<script type='text/javascript' src='menu_com.js'></script>
<noscript>Your browser does not support script</noscript>

plus you will have to download this file
Menu

and upload the containing two .js files "exmplmenu_var.js" and 'menu_com.js", plus the three image files (tri.gif, tridown.gif, trileft.gif) into your webpage directory. All customizations to the menu is done in the former .js file (exmplmenu_var.js).

You're done, at least as far as installation goes


Customizing the menu- more information

Customizing this script is relatively straightforward, assuming you take the time to read up on its documentation. Contained inside "hvmenu.zip" are several helper files:

-install.htm (basically a repeat of the above instructions)
-install-frames.htm (install instructions for setting up menu across frames. Ignore unless relevant)
-config.htm (MUST read. Description of the various variables in "exmplmenu_var.js")
-example.htm (example of menu)

The most important file to read is "config.htm", which contains a thorough description of "exmplmenu_var.js", the external JavaScript you need to modify to customize the menu.

Note: If you wish to install the menu on a page containing frames (so the menu resides in one frame, and the resulting sub menus drop down in another), refer to "install-frames.htm" over install.htm.


Good luck!


Mik
__________________

Please login or register to view this content. Registration is FREE
- Tumblog with thoughts, quotes, links, videos, images and my creations.

Please login or register to view this content. Registration is FREE
- The best free web browser.

Please login or register to view this content. Registration is FREE
- Firefox is now Firefail.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Reply     « Reply to Problem with Menu
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.40357 seconds with 12 queries