I have made a mouseover layer menu.
Click on the link to keep it open.
The only way to close the layer is to reload the page.
Is there anyother way to do it.

link to script. http://www.stupidharold.com/dani/clicktokeepopen.htm

Page trying to fix. http://www.stupidharold.com/Harold1/acessScripts.htm

I have another question. I am running ie 5.5. So I don't know if the newer browsers
are able to see my pages.

You can declare a global variable to check weather the link is visible or not.


So that you can toggle the appearance of
links by clicking on above link.

Your function will look like that:

var flag = 0;

function hideShowLinks() {
if(flag == 0) {
//code to show the second link

flag =1;
} else {
//Code to hide the second link

flag =0;

}


}

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.