Help ..heve a javascript problem?

I have a stupid problem.



I downloaded a javascript source code and followed the instructions precisily.

Now I am altering to the need of the website.

In there I have standard inbuilded in html a div structure ..





Go Back


Go Home





JS Forum


Site FAQs





Link to Us






Now i want it to dynamically change it:



function setMenu ( mnuName ) {

// var strTst = ""

ie5menu.innerHTML = ""

for (var i=0;i
if ( arrMenus[i] == mnuName ) {

// uitvoeren

ie5menu.innerHTML += '
'+arrBesch[i] + "
"

}

}

return ie5menu.innerHTML;

}



.. but after I changed it dynamically the menu is shown correct, except It doesn't highlight and

when you clicked it doesn't go that page.. whole head source below:





















function Dummy() {

// ...... dummy

}

// here'e the body code





Go Back


Go Home





JS Forum


Site FAQs





Link to Us




language="JavaScript1.2">

if (document.all && window.print) {

ie5menu.className = menuskin;

document.oncontextmenu = showmenuie5;

document.body.onclick = hidemenuie5;

}

alert ( ie5menu.innerHTML );

// menu index

add( "Index", "Referentielijst", "./Referentielijst.html" );

add( "Index", "Leverings voorwaarden", "./Leverings_voorwaarden.html" );

add( "Index", "Kwaliteit", "./kwaliteit.html" );

add( "Opleidingen", "Referentielijst", "./Referentielijst.html" );

add( "Opleidingen", "Kwaliteit", "./kwaliteit.html" );

add( "Kwaliteit", "Referentielijst", "./Referentielijst.html" );

add( "Kwaliteit", "Kwaliteit", "./kwaliteit.html" );

add( "Ons_Visitekaartje", "Referentielijst", "./Referentielijst.html" );

add( "Ons_Visitekaartje", "Kwaliteit", "./kwaliteit.html" );

add( "Ons_Visitekaartje", "Start pagina", "./startpagina.html" );

add( "Detachering", "Referentielijst", "./Referentielijst.html" );

add( "Detachering", "Kwaliteit", "./kwaliteit.html" );

add( "Consultancy", "Referentielijst", "./Referentielijst.html" );

add( "Consultancy", "Leverings voorwaarden", "./Leverings_voorwaarden.html" );

add( "Consultancy", "Kwaliteit", "./kwaliteit.html" );

add( "Consultancy", "Start pagina", "./startpagina.html" );

add( "Assortiment", "Referentielijst", "./Referentielijst.html" );

add( "Assortiment", "Leverings voorwaarden", "./Leverings_voorwaarden.html" );

add( "Assortiment", "Kwaliteit", "./kwaliteit.html" );










Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories