Reply
How to control position of drop-down menu?
Old 06-22-2008, 05:41 PM How to control position of drop-down menu?
Average Talker

Posts: 19
Hey, folks,

I'm putting together a web page with drop-down menus. I'm using a javascript for that which looked great on my first menu. Now, I've added another drop-down menu to my navigation bar, but the new menu appears in the wrong position horizontally -- all the way over to the left...same as my first menu. If you want to check this test page out, it's at http://tinyurl.com/5svlxn . (The first menu's at "go shopping" and the second is at "blogs.")

I'm over my head here. Suggestions, anyone?

I.
ibexslam is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 06-23-2008, 12:49 PM Re: How to control position of drop-down menu?
wayfarer07's Avatar
$frontend->developer

Posts: 1,283
Name: Abel Mohler
Location: Asheville, North Carolina USA
With CSS
__________________
<!--if a signature drops in the forest, and no one is there to see it, does it make a link?-->
wayfarer07 is offline
Reply With Quote
View Public Profile
 
Old 06-23-2008, 01:27 PM Re: How to control position of drop-down menu?
Average Talker

Posts: 19
No kidding?
ibexslam is offline
Reply With Quote
View Public Profile
 
Old 06-23-2008, 03:05 PM Re: How to control position of drop-down menu?
wayfarer07's Avatar
$frontend->developer

Posts: 1,283
Name: Abel Mohler
Location: Asheville, North Carolina USA
Nope, no kidding.
__________________
<!--if a signature drops in the forest, and no one is there to see it, does it make a link?-->
wayfarer07 is offline
Reply With Quote
View Public Profile
 
Old 06-24-2008, 05:19 PM Re: How to control position of drop-down menu?
Average Talker

Posts: 19
I guess I might just have to hire a helpful person. It's a shame there don't seem to be any of those here.

I.
ibexslam is offline
Reply With Quote
View Public Profile
 
Old 06-24-2008, 05:29 PM Re: How to control position of drop-down menu?
wayfarer07's Avatar
$frontend->developer

Posts: 1,283
Name: Abel Mohler
Location: Asheville, North Carolina USA
Sorry, it was my way of saying that it isn't a javascript problem.
__________________
<!--if a signature drops in the forest, and no one is there to see it, does it make a link?-->
wayfarer07 is offline
Reply With Quote
View Public Profile
 
Old 06-25-2008, 06:46 PM Re: How to control position of drop-down menu?
Average Talker

Posts: 19
Alright, then...I'll move this question to the CSS section over here:
http://www.webmaster-talk.com/css-fo...tml#post743520
ibexslam is offline
Reply With Quote
View Public Profile
 
Old 06-25-2008, 09:48 PM Re: How to control position of drop-down menu?
Average Talker

Posts: 19
OK, fine, they just deleted the other thread.

Anyway.

Never mind.

I noticed that the drop-down menus were sticking to the left edge of the cells they were in, so I put each link inside its own cell so the menus would be "captured" in the cells. Requires some fiddling, but it works.

I.
ibexslam is offline
Reply With Quote
View Public Profile
 
Old 06-25-2008, 09:48 PM Re: How to control position of drop-down menu?
Novice Talker

Posts: 6
Name: Marc
Location: England
I took a look at the script you are using, the source where you downloaded the script from is contained inside <li> tags, which are floated, currently your submenus are absolutely positioned to the parent elements, which as far as i can imagine would be the <table> elements. I would advise moving away from tables and using <ul> and <li> elements like in the example. I have a similar version of this menu on my site, you could take a look at that if you wanted.

Personally i would have posted this question here as you did oringinally, as my script uses javascript to position the submenu depending on client widths of the parent elements.

Hope this helps you.

Marc
Marc.Qualie is offline
Reply With Quote
View Public Profile Visit Marc.Qualie's homepage!
 
Reply     « Reply to How to control position of drop-down menu?
 

Thread Tools

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

vB 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.14389 seconds with 12 queries