User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 373,936 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,907 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 7638 | Replies: 31
Reply
Join Date: Jun 2004
Location: Hemet, CA
Posts: 427
Reputation: FC Jamison is on a distinguished road 
Rep Power: 5
Solved Threads: 17
Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: Easy drop down menu?

  #21  
Sep 13th, 2006
There's more than one way to skin a cat...let me try something else.
Reply With Quote  
Join Date: Sep 2006
Posts: 20
Reputation: Mikeish is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
Mikeish Mikeish is offline Offline
Newbie Poster

Re: Easy drop down menu?

  #22  
Sep 13th, 2006
Originally Posted by Deacon J View Post
There's more than one way to skin a cat...let me try something else.

Well Good Luck! :-P

Thanks again.. I really do appreciate this ^_^
Reply With Quote  
Join Date: Jun 2004
Location: Hemet, CA
Posts: 427
Reputation: FC Jamison is on a distinguished road 
Rep Power: 5
Solved Threads: 17
Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Solution Re: Easy drop down menu?

  #23  
Sep 14th, 2006
Ha!

I knew I'd figure it out eventually.

I based it on the Suckerfish menu...but it works very similar to my first post.

Simply add your items to the arrays in the javascript file and customize with the css file.

The float selector in the CSS file is still required for the javascript to dynamically write the menus...so don't delete it. It is used to keep the top-level menu items in the same order no matter which margin the menu is floated on.

DJ
Last edited by FC Jamison : Sep 14th, 2006 at 1:12 am.
Attached Files
File Type: zip jamDeluxeMenu.zip (4.4 KB, 15 views)
Reply With Quote  
Join Date: Sep 2006
Posts: 20
Reputation: Mikeish is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
Mikeish Mikeish is offline Offline
Newbie Poster

Re: Easy drop down menu?

  #24  
Sep 14th, 2006
AWESOME! THanks a lot!

I'll implement it into my code and let you know how it works

Really appreciate this!
Reply With Quote  
Join Date: Sep 2006
Posts: 20
Reputation: Mikeish is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
Mikeish Mikeish is offline Offline
Newbie Poster

Re: Easy drop down menu?

  #25  
Sep 15th, 2006
Ignore post: Found out my problem
Last edited by Mikeish : Sep 15th, 2006 at 3:31 am.
Reply With Quote  
Join Date: Jun 2004
Location: Hemet, CA
Posts: 427
Reputation: FC Jamison is on a distinguished road 
Rep Power: 5
Solved Threads: 17
Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: Easy drop down menu?

  #26  
Sep 15th, 2006
#topMenu li #flyMenu3_6 { 
	margin: -21px 0 0 135px; 
	width:167px; 
}

is one of the styles to control the position of the flyout menus
you need one of these for each flyout
Reply With Quote  
Join Date: Sep 2006
Posts: 20
Reputation: Mikeish is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
Mikeish Mikeish is offline Offline
Newbie Poster

Re: Easy drop down menu?

  #27  
Sep 15th, 2006
Originally Posted by FC Jamison View Post
#topMenu li #flyMenu3_6 { 
    margin: -21px 0 0 135px; 
    width:167px; 
}

is one of the styles to control the position of the flyout menus
you need one of these for each flyout


I've gone ahead and done what I can about those, however there's still a slight difference in FF and IE when you go down to try and do third level... but I've gotten it set up to work up pretty well so I think that'll do it.

Thanks a lot!!
--Mike
Reply With Quote  
Join Date: Sep 2006
Location: Broken Arrow, OK
Posts: 31
Reputation: okparrothead is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
okparrothead's Avatar
okparrothead okparrothead is offline Offline
Light Poster

Re: Easy drop down menu?

  #28  
Sep 20th, 2006
Hello all.

cath120,

Here's an alternative that might work for you.

[html]http://www.serve.com/apg/workshop/cssMenu.html[/html]

It uses nested unordered lists of links and css styles to "hide" the drop down links until mouseover.

I hope this helps.

Peace
Reply With Quote  
Join Date: Jun 2004
Location: Hemet, CA
Posts: 427
Reputation: FC Jamison is on a distinguished road 
Rep Power: 5
Solved Threads: 17
Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: Easy drop down menu?

  #29  
Sep 20th, 2006
I have posted a tutorial on this site at http://www.daniweb.com/tutorials/tutorial55309.html which may help those in need of a simple dropdown menu along with a working example.

P.S. The example below at http://www.serve.com/apg/workshop/cssMenu.html did not work for me in IE 6.
Last edited by FC Jamison : Sep 20th, 2006 at 11:36 pm.
Reply With Quote  
Join Date: Sep 2006
Location: Broken Arrow, OK
Posts: 31
Reputation: okparrothead is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
okparrothead's Avatar
okparrothead okparrothead is offline Offline
Light Poster

Re: Easy drop down menu?

  #30  
Sep 22nd, 2006
FC,

Sweet! You even made it work in Internet Explorer.

Kudos.
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)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 6:26 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC