home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Help with JavaScript menu problem (positioning)

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1803
Discussions: 200,933, Posts: 2,379,197, Members: 246,298
Old October 5th, 2003, 12:14 AM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: Oct 2003
Posts: 8
Help with JavaScript menu problem (positioning)

Hello!

I have a problem with a Javascript menu that I have installed on my site.

The problem is the following:
when the webpage containing the menu is resized, the menu (which obviously "floats" over the page) will remain exactly in the position specified by its properties (I created it with a menu editor), rather than reposition itself according to the new size.

So the menu ends up covering other parts of the page and being mostly unusable (unless the page is maximized) and ugly.

I thought I had specified all the relevant options in the menu editor program I used (AllWebMenus), but it doesn't seem to work.

I checked out java menus on other sites and none of them has this problem. So I downloaded one such page and opened it with Dreamweaver to discover that there is a Layer item in the area where the menu appears once loaded... apparently an "anchor" feature which restricts the position of the menu to that particular area.

Obviously I am a real newbie and don't have a clue about how to use these features and make them work for me! But this DIY approach is all I can afford.

Does anyone know how can I create such an anchor for my javascript menu?

Any pointers, comments or info would be greatly appreciated! Thanks!

Francesca
Francesca is offline   Reply With Quote
Old October 5th, 2003, 12:16 AM     #2 (permalink)
Perfetc Member
 
VHockey86's Avatar
 
Join Date: Jan 2003
Location: Maryland Suburbia
Posts: 4,334
Could you give us a link to the site, that way we can try to fix it ourselves and then explain to you how to do it?
VHockey86 is offline   Reply With Quote
Old October 5th, 2003, 01:13 AM     #3 (permalink)
Junior Member
 
Join Date: Oct 2003
Posts: 8
Thank you so much for responding so promptly.

You can take a look at my problem at this URL:

http://www.spiritfamily.com/testhome-t.htm

I uploaded just the menu with a quick background just to show what I mean... the site is in work-in-progress stage and I haven't put it online yet.

But even like this it should be pretty evident what's happening: just resize the window and you'll see the menu remaining in the same spot and going over the background elements.

You can examine the javascript source at the URL http://www.spiritfamily.com/menus/navbarhoriz.js

Let me know if you need more info, and thanks again.
I'll be very grateful if you can help me fix it!

Francesca
Francesca is offline   Reply With Quote
Old October 5th, 2003, 05:00 PM     #4 (permalink)
Perfetc Member
 
VHockey86's Avatar
 
Join Date: Jan 2003
Location: Maryland Suburbia
Posts: 4,334
Well with my complete lack of programming knowledge this is what I came up with

Not sure if its what you wanted exactly but i think it works a little better. Basically llayers make stuff a mess in a hurry, a simple table ought to work there.

http://adp.0catch.com/NavTest.htm

srry about the crap at the top, free hosting =(.

Last edited by VHockey86 : October 5th, 2003 at 05:05 PM.
VHockey86 is offline   Reply With Quote
Old October 7th, 2003, 02:14 AM     #5 (permalink)
Junior Member
 
Join Date: Oct 2003
Posts: 8
Hey, thanks a lot! Really! I truly appreciate your kind help.

I really didn't think of doing it that way, the thing though is that my original menu had a drop-down submenu (on the 'Products' category), which is not showing up on your example, because basically it's not a javascript item anymore! but more just images that have "javascript" as link attributes.

Do you know a way to make my Products tab display their dropdown menu again and still remain in place like you had it?

What about layers? Do you know anything about how I could use them to accomplish this goal?

If anyone has further suggestions on this matter I would really be grateful.. Thank you!

Francesca
Francesca is offline   Reply With Quote
Old October 7th, 2003, 05:42 PM     #6 (permalink)
Perfetc Member
 
VHockey86's Avatar
 
Join Date: Jan 2003
Location: Maryland Suburbia
Posts: 4,334
I can give it a shot
VHockey86 is offline   Reply With Quote
Old October 7th, 2003, 05:52 PM     #7 (permalink)
Perfetc Member
 
VHockey86's Avatar
 
Join Date: Jan 2003
Location: Maryland Suburbia
Posts: 4,334
Something like this?
http://adp.0catch.com/NavTest.htm
VHockey86 is offline   Reply With Quote
Old October 7th, 2003, 07:57 PM     #8 (permalink)
Junior Member
 
Join Date: Oct 2003
Posts: 8
Not quite but THANKS anyway; in the meanwhile I fixed the problem the way I wanted -- somebody on another forum pointed me to the information I needed, right there smack dab in the middle of the documentation of my menu editing program.. That entitles me to a big fat Duh! Award I guess

But thanks nonetheless for your efforts, it was really nice to get a response right away by someone trying to help.

Appreciated!

Take care,
Francesca
Francesca is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2889)
Wireless Televisions. (5)
California Passes Anti-Flat-HDTV Le.. (39)
Obama the Muslim (14)
Is the PSU I received dead? (10)
windows vista security holes (9)
Install XP pro and a Vista laptop ?.. (11)
HIS HD5770 graphic card question (15)
Print spooler problem (13)
Foreign voltage (10)
Dept. of HS: NSA 'Helped' Develop V.. (15)
A good PSU? (10)
EVGA 9800 gtx help with finding a g.. (8)
New Computer wont recognize XP disc (7)
Recent Discussions
Wireless Televisions. (5)
CPU fan stops spinning randomly (2)
World's largest Monopoly Game using G.. (332)
Ideal cheap graph card for PC-Gaming? (17)
BIOS won't read disk when I try to fl.. (0)
Install XP pro and a Vista laptop ?? (11)
Partition Magic caused HDD problem (2)
Graphics Card Upgrade Question (1)
favorit (1)
solutions for virtical white lines on.. (1)
Regular Build (3)
Fire in DVD (2)
Modern Warfare For the PC (33)
radeon x850xt platinum & shader 3 (3)
Have you switched yet? (84)
Wireless Router+Cable Modems and Much.. (0)
Optical Audio A-B Switch (1)
windows vista security holes (9)
The NTDVM CPU has encountered an ille.. (24)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (34)
Wireless speakers for PC? (11)
Print spooler problem (13)
Help getting around port 80 for camer.. (2)
Display shows 3x5 inch in middle of s.. (3)
monitor will not turn on at all, (1)


All times are GMT -4. The time now is 10:09 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28