Got a question for all you leet web designers out there....

Soujiro

Senior member
Jan 28, 2001
342
0
0
I'm kinda new to the web dev game and I'm trying to teach myself how to make those nifty Javascript buttons with the pulldown menus. I got this program called EzMenu and made the menu with it (spits out a nice little script for you). Then I threw it up on my site like it says...

Check it out here: http://198.37.27.41/grainger/java.html

As you'll surely notice, the problem is that if the resolution is changed from from 800*600 to 1024*768, the menu is still in the same spot it was in 800*600 (which is rather messed up lookin).

When I check out more professional sites with the same javascript button deals and I change the resolution, the menu automatically repositions itself to the correct centered location.

sooo I'm sure this sounds like some kinda newbie queston......But does anyone know how to do that? Get the javascript menu to be in the right place for different resolutions? Much obliged for any help. Thanks.

Soujir0
 

Stratum9

Senior member
Apr 13, 2002
602
0
0
Try placing the script inside a table like the rest of your page is rather than in the head section. Setting the table attributes to centered and with a fixed width should make your menu script behave on the page the same way as the other stuff does.
 

CasioTech

Diamond Member
Oct 1, 2000
7,145
9
0
ah fusk that, do it in flash, it's easier.

im sure on of our crafty board members will be more than happy to give you a copy.....
 

Soujiro

Senior member
Jan 28, 2001
342
0
0
Hmmm, I'll try that out first thing in the morning Stratum...sounds like it should work. Stupid me eh.

Thanks for the tip man. You rock!

Soujir0