RSS Forums RSS
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 2119 | Replies: 3 | Solved
Reply
Join Date: Jul 2007
Posts: 77
Reputation: reen.blom is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
reen.blom's Avatar
reen.blom reen.blom is offline Offline
Junior Poster in Training

Simple drop down menu

  #1  
Jul 27th, 2007
Ok. I give up. I have read a 1000 and 1 tutorial online and still havent figured out what to do.

I have graphic buttons on my page with ImageReady generated Javascript, they change their rollover state.

I need to create a simple dropdown menu. Like with 2 items in it. I have found a lot of free Java script templates, but they are all way too complicated. Also found some "list" menues, but as with Java script they are tied to the menu buttons which are also made either by javaScript or as a list item. I fail to "tie" the menu to my graphic rollover buttons!

Could someone please help? I am really stuck! Hope it is not too confusing!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2007
Posts: 77
Reputation: reen.blom is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
reen.blom's Avatar
reen.blom reen.blom is offline Offline
Junior Poster in Training

Re: Simple drop down menu

  #2  
Jul 27th, 2007
Ok Here is an update:

Guess what? I poked Fireworks until it made a drop down menu! WOW this is like magic!

I am just wondering, how can I get the button to change AND have the menu dropdown? I wonder if it is possible at all?

The Rollover I had using
<a href="#"
				onmouseover="changeImages('topevents', 'images/topevents-over.gif'); return true;"
				onmouseout="changeImages('topevents', 'images/topevents.gif'); return true;"
				onmousedown="changeImages('topevents', 'images/topevents-over.gif'); return true;"
				onmouseup="changeImages('topevents', 'images/topevents-over.gif'); return true;"> 

But now Fireworks generated me
			<a href="#" onMouseOut="MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_0728010700_0,0,49,null,'topevents');">

Thanks!
Reply With Quote  
Join Date: Jul 2006
Location: Deptford, London
Posts: 987
Reputation: MattEvans has a spectacular aura about MattEvans has a spectacular aura about MattEvans has a spectacular aura about 
Rep Power: 6
Solved Threads: 52
Moderator
Featured Poster
MattEvans's Avatar
MattEvans MattEvans is offline Offline
Posting Shark

Re: Simple drop down menu

  #3  
Jul 28th, 2007
Hybridize?

<a href="#" onmousedown="changeImages('topevents', 'images/topevents-over.gif'); return true;" onmouseup="changeImages('topevents', 'images/topevents-over.gif'); return true;" onmouseout="MM_startTimeout(); changeImages('topevents', 'images/topevents.gif'); return true;" onmouseover="MM_showMenu(window.mm_menu_0728010700_0,0,49,null,'topevents'); changeImages('topevents', 'images/topevents-over.gif'); return true;">

I haven't used 'code tags' for a good reason.

Note: You need to make sure that where more one statement ( a statement in javascript is terminated by a semicolon ) is put in a sequence; that return [something]; is only ever the LAST statement in that sequence.
Last edited by MattEvans : Jul 28th, 2007 at 3:18 am.
Plato forgot the nullahedron..
Reply With Quote  
Join Date: Jul 2007
Posts: 77
Reputation: reen.blom is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
reen.blom's Avatar
reen.blom reen.blom is offline Offline
Junior Poster in Training

Re: Simple drop down menu

  #4  
Jul 28th, 2007
Oh my Goodness! It is working! It is my lucky day! YIPPY! Thank you sooo much!

*hug hug*
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

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

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:18 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC