BigRed wrote:
[color=blue]
> Open the SLIDING_MENU.JS file and look for the function
> "write_menu()". Scroll down until you see the variable "csmc = 0;".
> The next line should be a command starting out like this:
>
> document.write("<div class='men' style='top.....
>
>
> Highlight and COPY the code below. Find that
> "document.write("<div......");" command as stated above and copy over
> the ENTIRE line with the new code.
>
>
> //START YOUR COPY HERE
> if (la[2] != "")
> {
> document.write("<a href='"+la[2]+"'
> style='text-decoration:none;'");
> if (la[3] != "") document.write(" target='" + la[3] + "' ");
> }
>
> document.write("<div class='menu'
> style='top:"+mn+";height:"+height+"' id='down"+smc+"'
> onclick='prepare("+smc+","+mni+")'> "+ la[1] + "</div>");
>
> if (la[2] != "") { document.write("</a>"); }
> //END YOUR COPY HERE
>
>
>
> You're done!!! All this does is wrap that main menu item with a <A>
> tag IF you add a link in your LINK array. Here are your new choices
> when adding a link. Choice 3 is what you wanted....
>
> //MAIN MENU ITEM - SUB-MENU LINK.
> Link[0] = "0|Home|";
> Link[1] = "1|Home|index.html|_top";
>
> //MAIN MENU ITEM - NO LINK
> Link[0] = "0|Home|";
>
> //MAIN MENU ITEM - LINKED WITHOUT SUB-MENU
> Link[0] = "0|Home|home.html|_top";[/color]
I'll give it a try tonight
thansk!
--
Bigbuddha
www.bigbuddha.be