Forum Home
Press F1
 
Thread ID: 27151 2002-11-15 04:07:00 Website Roll Over Menus Brad H (738) Press F1
Post ID Timestamp Content User
98739 2002-11-15 04:07:00 Does anyone know off a good website or can tell me how to make a good menu system on my website. What i would like to do it create a vertical menu and when you put your mouse over an item it expands horizontally so it exposes more links
ie,
Downloads when you click on it it expands out to Cars, Tracks, Skins, Menus
ie
Downloads -> Cars Tracks Skins Menus

I would like to be able to do this in dhtml or javascript (NOT JAVA as it takes to long to load.) So if anyone has anyhelpful information (bearing in mind that i only know HTML, and a little bit of javascript) could you please reply.

P.S.
My website (Racer V8) is located at
http://www.racerv8.orcon.net.nz
Brad H (738)
98740 2002-11-15 04:37:00 DHTML menu available from www.webreference.com Heather P (163)
98741 2002-11-15 06:16:00 Place this inside your <head> tag:
function popMenu(elementId,show,offset) {
var subMenu = document.getElementById(elementId)
if (show) {
if (offset) {
subMenu.style.top = window.event.y
}
subMenu.style.zIndex = 1
}
else {
subMenu.style.zIndex = -1
}
}
Create a stylesheet with this:
.submenu {
z-index: -1;
}
Create you links like this:
<table>
<tr><td>Root Menu (root.html)</td></tr>
</table>
<table onMouseOver="javascript:popMenu('menuEvents',true);" onMouseOut="javascript:popMenu('menuEvents',false);">
<tr><td>Item 1 (PopupMenuItem1.html)</td></tr>
<tr><td>Item 2 (PopupMenuItem2.html)</td></tr>
</table>
Create additional tables for each root menu.
antmannz (28)
98742 2002-11-15 06:20:00 Hmmm ... that probably doesn't make much sense with all those smilies.

Take a look here (crash.ihug.co.nz) for popup menu type links. Choose View Source in your browser to grab the link html code. There's a few extra bits and pieces in there, post back here if you need any more help :)
antmannz (28)
98743 2002-11-15 20:54:00 Have a look at coolmenus (www.dhtmlcentral.com). Multifeatured and free :) wuppo (41)
98744 2002-11-15 22:11:00 thanks i am taking a look at all the options now Brad H (738)
98745 2002-11-15 22:53:00 the cool menus are just what i am looking for Brad H (738)
98746 2002-11-16 05:02:00 or try Flash MX to create flash rollovers and menus.

v.K
vk_dre (195)
98747 2002-11-16 05:32:00 cool, ill put some of these memus on my site too (http://www.cs-clanswat.tk)

TiM©:*)
TiMĀ©:*) (977)
98748 2002-11-16 06:15:00 Swish is cheaper and easier to use than MX, but Flash is still dah bomb though.

Vk_Dre thanks for recommendation for Bryce 5 (3 weeks ago)

A
Archibald (180)
1