...

View Full Version : Edit the length of the menu



victoria_1018
04-05-2003, 03:20 AM
Hi,
I have got a script from one of the javascript tutorial website.
However, I have got no idea on how to edit the length of the menu. Here is the script

// Define navigation bar settings.

navBarX = 0;

navBarHeaderWidth =150;
//navBarMenuWidth = 190;
//navBarBorderWidth = 1;
//navBarPaddingWidth = 2;


I shall change the codes in red into wild value, which mean it will take up the size of the heading in the menu instead of a fix value is given.

Thank You

chrismiceli
04-05-2003, 04:58 AM
please give us more relevant code.

wox3-iO
04-05-2003, 07:50 AM
Try to uncomment the

//navBarMenuWidth = 190;

It should be just

navBarMenuWidth = 190;

Again, please remember that I'm a beginner in javascript... I'm just trying to help...

victoria_1018
04-05-2003, 02:56 PM
Opp...
I have made a minor mistake in this script as I have put the // before that code to do some testing.

Thank You For You amendment:)

Regards

victoria



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum