Never mind. Fixed it!
did...
function checkDiv(){
if(a==0 && b==0) {
document.getElementById("Links2").style.display="none";
}
...and moved "Links2" from external .css file into "document".
Works a treat now.
Just need to work out how to reference external css file instead of "document"...
I get javascript errors with my pop-up menu. checkDiv() won't run at all.
Forgive me for being a noob but am banging my head against a wall about this...
Sub menu div box is hidden as default.
<script language="JavaScript">
//set global variables
var a=0;
var b=0;
/*hide sub menu div box if...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.