hi, stil not getting this menu to work how i wat it, how would i make the menu items (ie. the inital toplevel menu items like "products" etc) closer together, they default being quite far apart and it seems the longer the word, the further the distance to the next item?Hi!
Please read this and not only grab the code below:
it is not necessary to start a new thread always when you have a question related to a thread you already started before. Not only because of waste of bandwith, but also in your own interest. If you post to a thread where you already had replies, those who replied will be informed, if you post something new. So you will increase your chances to get a reply again soon. It is also unnecessary to start three threads always with the same attachment.
Well - here we go. Open your menu.js file in your editor and go to line 38-40; these lines are:
-----
if (ie||ns6) HTMLstr += "<div id='MainTable' style='position:absolute;top:0;left:0;'>\n";
//if (n) HTMLstr += "<layer name='MainTable'>\n";
HTMLstr += "<table width='100%' bgcolor='"+this.bgColor+"' border='"+this.mainPaneBorder+"'>\n";
-----
replace them with:
-----
if (ie||ns6) HTMLstr += "<div id='MainTable' style='position:absolute;top:0;left:0;width:100%;background-color:"+this.bgColor+"'>\n";
HTMLstr += "<table bgcolor='"+this.bgColor+"' border='"+this.mainPaneBorder+"'>\n";
-----
The black bar will take all the available horizontal space, whereas the top level menu items only take as much space as necessary.
Regards - Pithi, sori about multiple posting and files!
ive tried doing what you sujested, but now it wont work at all! lol, have included the 1 file, lol, did i rpelace the correct code?
cheers.Hi!
Not your fault, what you did was correct. The forums' software inserted a killer: a linebreak which has to be removed. It is following this bit:
if (ie||ns6) HTMLstr += "<div id='MainTable' style='position:absolute;top:0;left:0;width:100%;
and separates that from
background-color:"+this.bgColor+"'>\n";
The stuff has to be in one line, then it will work.
Cheers - Pitonce again, thanx very much!Hi!
You're welcome once more.
Cheers - Pit
Please read this and not only grab the code below:
it is not necessary to start a new thread always when you have a question related to a thread you already started before. Not only because of waste of bandwith, but also in your own interest. If you post to a thread where you already had replies, those who replied will be informed, if you post something new. So you will increase your chances to get a reply again soon. It is also unnecessary to start three threads always with the same attachment.
Well - here we go. Open your menu.js file in your editor and go to line 38-40; these lines are:
-----
if (ie||ns6) HTMLstr += "<div id='MainTable' style='position:absolute;top:0;left:0;'>\n";
//if (n) HTMLstr += "<layer name='MainTable'>\n";
HTMLstr += "<table width='100%' bgcolor='"+this.bgColor+"' border='"+this.mainPaneBorder+"'>\n";
-----
replace them with:
-----
if (ie||ns6) HTMLstr += "<div id='MainTable' style='position:absolute;top:0;left:0;width:100%;background-color:"+this.bgColor+"'>\n";
HTMLstr += "<table bgcolor='"+this.bgColor+"' border='"+this.mainPaneBorder+"'>\n";
-----
The black bar will take all the available horizontal space, whereas the top level menu items only take as much space as necessary.
Regards - Pithi, sori about multiple posting and files!
ive tried doing what you sujested, but now it wont work at all! lol, have included the 1 file, lol, did i rpelace the correct code?
cheers.Hi!
Not your fault, what you did was correct. The forums' software inserted a killer: a linebreak which has to be removed. It is following this bit:
if (ie||ns6) HTMLstr += "<div id='MainTable' style='position:absolute;top:0;left:0;width:100%;
and separates that from
background-color:"+this.bgColor+"'>\n";
The stuff has to be in one line, then it will work.
Cheers - Pitonce again, thanx very much!Hi!
You're welcome once more.
Cheers - Pit