»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 10-04-2003, 09:14 PM   #1 (permalink)
Registered User
 
Join Date: Oct 2003
Posts: 5
Francesca is on a distinguished road
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 10-04-2003, 09:16 PM   #2 (permalink)
Registered User
 
VHockey86's Avatar
 
Join Date: Jan 2003
Location: New York
Posts: 1,588
VHockey86 is on a distinguished road
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 10-04-2003, 10:13 PM   #3 (permalink)
Registered User
 
Join Date: Oct 2003
Posts: 5
Francesca is on a distinguished road
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 10-05-2003, 02:00 PM   #4 (permalink)
Registered User
 
VHockey86's Avatar
 
Join Date: Jan 2003
Location: New York
Posts: 1,588
VHockey86 is on a distinguished road
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; 10-05-2003 at 02:05 PM.
VHockey86 is offline   Reply With Quote
Old 10-06-2003, 11:14 PM   #5 (permalink)
Registered User
 
Join Date: Oct 2003
Posts: 5
Francesca is on a distinguished road
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 10-07-2003, 02:42 PM   #6 (permalink)
Registered User
 
VHockey86's Avatar
 
Join Date: Jan 2003
Location: New York
Posts: 1,588
VHockey86 is on a distinguished road
I can give it a shot
VHockey86 is offline   Reply With Quote
Old 10-07-2003, 02:52 PM   #7 (permalink)
Registered User
 
VHockey86's Avatar
 
Join Date: Jan 2003
Location: New York
Posts: 1,588
VHockey86 is on a distinguished road
Something like this?
http://adp.0catch.com/NavTest.htm
VHockey86 is offline   Reply With Quote
Old 10-07-2003, 04:57 PM   #8 (permalink)
Registered User
 
Join Date: Oct 2003
Posts: 5
Francesca is on a distinguished road
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




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
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 02:36 AM.