Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 29th, 2005, 12:49 PM   #1
kerriganm
Newbie
 
kerriganm's Avatar
 
Join Date: Apr 2005
Location: Vallejo, CA
Posts: 15
Rep Power: 0 kerriganm is on a distinguished road
dropdown menu with persistence?

I'm not sure if I should post this in here- it's HTML, CSS, and JavaScript all together.

What I've got:
Top level items in menu have a rollover effect, and when rolled over a submenu for each item appears horizontally under the main menu item. When a user rolls over the submenu, the top level item rollover effect disappears and rollover effects for the submenu items appear. When the mouse leaves the submenu, the submenu disappears.

What the boss wants:
(effect like menu under logo at http://www.mercury.com/us/)
Top level items in menu have a rollover effect, and when rolled over a submenu for each item appears horizontally under the main menu item. When a user rolls over the submenu, the top level item rollover effect *persists* and rollover effects for the submenu items appear. When a submenu item is clicked, submenu and clicked-submenu-item rollover effect persist while new page loads (in another frame. don't blame me, I hate frames too). When the mouse leaves the clicked-on submenu, the previously-clicked main menu rollover effect and the submenu *persist* until another main menu item is clicked.

Any ideas? I've been looking everywhere and can't find the code to do this. Please help if you can- it'll be an early birthday present for me!
kerriganm is offline   Reply With Quote
Old Nov 30th, 2005, 11:31 AM   #2
Agent 47
Hobbyist Programmer
 
Agent 47's Avatar
 
Join Date: Nov 2005
Posts: 122
Rep Power: 3 Agent 47 is on a distinguished road
It's pretty simple really.

Google is your friend
__________________
"I'm going to become rich and famous when I invent a device that allows you to stab people in the face over the internet"
Agent 47 is offline   Reply With Quote
Old Dec 12th, 2005, 8:46 PM   #3
Indigno
Professional Programmer
 
Indigno's Avatar
 
Join Date: Dec 2005
Location: Anywhere non-productive
Posts: 267
Rep Power: 0 Indigno is an unknown quantity at this point
Send a message via AIM to Indigno Send a message via MSN to Indigno Send a message via Yahoo to Indigno
There's a few ways to do it. But (if you have it and know it) Flash is the easiest way to go.
Indigno is offline   Reply With Quote
Old Dec 13th, 2005, 10:22 AM   #4
Agent 47
Hobbyist Programmer
 
Agent 47's Avatar
 
Join Date: Nov 2005
Posts: 122
Rep Power: 3 Agent 47 is on a distinguished road
No, it isn't. Please don't give out bad advice.
__________________
"I'm going to become rich and famous when I invent a device that allows you to stab people in the face over the internet"
Agent 47 is offline   Reply With Quote
Old Dec 13th, 2005, 10:42 AM   #5
Lich
Professional Programmer
 
Lich's Avatar
 
Join Date: May 2005
Location: Detroit
Posts: 254
Rep Power: 4 Lich is on a distinguished road
Send a message via AIM to Lich Send a message via MSN to Lich
Javascript or DHTML Is the easiest way to go. This tutorial may be of interest to you: http://www.spoono.com/javascript/tut...rial.php?id=17
__________________
--John Cruz
Web Developer
www.cruzweb.net
Lich is offline   Reply With Quote
Old Dec 13th, 2005, 6:52 PM   #6
Indigno
Professional Programmer
 
Indigno's Avatar
 
Join Date: Dec 2005
Location: Anywhere non-productive
Posts: 267
Rep Power: 0 Indigno is an unknown quantity at this point
Send a message via AIM to Indigno Send a message via MSN to Indigno Send a message via Yahoo to Indigno
Quote:
Originally Posted by Agent 47
No, it isn't. Please don't give out bad advice.
maybe it's just me. I tried the other ways before and I personally found flash to be the easiest way for me. But I guess it really just depends on what your preferences are.
Indigno is offline   Reply With Quote
Old Dec 13th, 2005, 7:20 PM   #7
Agent 47
Hobbyist Programmer
 
Agent 47's Avatar
 
Join Date: Nov 2005
Posts: 122
Rep Power: 3 Agent 47 is on a distinguished road
Flash is way over-rated, and horribly inaccessible - at least with JS there
is a graceful fallback for those without it...
__________________
"I'm going to become rich and famous when I invent a device that allows you to stab people in the face over the internet"
Agent 47 is offline   Reply With Quote
Old Dec 13th, 2005, 7:51 PM   #8
a thing
Unverified User
 
a thing's Avatar
 
Join Date: Aug 2005
Location: none
Posts: 146
Rep Power: 0 a thing is on a distinguished road
Plus it's nonfree and not a standard.
__________________
Warning: My posts may change (dramatically) within the first 15 minutes they're posted.
Got 'Nux?—GNU/Linux and other free software support.
It's GNU/Linux, not just Linux.
a thing is offline   Reply With Quote
Old Dec 14th, 2005, 12:04 AM   #9
Lich
Professional Programmer
 
Lich's Avatar
 
Join Date: May 2005
Location: Detroit
Posts: 254
Rep Power: 4 Lich is on a distinguished road
Send a message via AIM to Lich Send a message via MSN to Lich
Flash is much more cleaner cut, but it's only more usefull if you know flash as well as JS. For all intensive purposes, a JS menu is easier to built.

But a flash menu is usually much nicer
__________________
--John Cruz
Web Developer
www.cruzweb.net
Lich is offline   Reply With Quote
Old Dec 17th, 2005, 1:32 PM   #10
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 843
Rep Power: 3 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
Quote:
Originally Posted by Agent 47
Flash is way over-rated, and horribly inaccessible - at least with JS there is a graceful fallback for those without it...
Quote:
Originally Posted by a thing
Plus it's nonfree and not a standard.
This is not true. Flash Player is free. And it is installed on virtually every computer.

Example: In December 2002 the free Flash Player had been installed on 98 percent of personal computers worldwide, or close to half a billion machines, and around three quarters were running Flash Player 6, according to a survey conducted for Macromedia by research company NPD Online.
titaniumdecoy is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:31 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC