WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums


javascript header problem

Version: 2.0.2
printPrint


javascript header problem
sertan6
Experienced

Usergroup: Customer
Joined: Feb 22, 2004
Total Topics: 45
Total Posts: 83
Posted 01/08/07 - 10:02 AM:
quote post
#1
i just installed a fresh copy, when i click the "Search" in the javascript header, nothing happens, Firefox gives the error "dropmenu is not defined"
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 56
Total Posts: 5853
Posted 01/08/07 - 11:33 PM:
quote post
#2
Confirmed, insert this in the javascript header template to fix:
function dropmenu(divid)
{
var ourdiv = document.getElementById(divid);
if(ourdiv.style.display == "block") ourdiv.style.display = "none";
else ourdiv.style.display = "block";
return false;
}

_____________________
"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
sertan6
Experienced

Usergroup: Customer
Joined: Feb 22, 2004
Total Topics: 45
Total Posts: 83
Posted 01/09/07 - 01:44 AM:
quote post
#3
it works now, thanks
sertan6
Experienced

Usergroup: Customer
Joined: Feb 22, 2004
Total Topics: 45
Total Posts: 83
Posted 01/10/07 - 08:19 AM:
quote post
#4
Paul, you forgot to fix this in 2.0.3
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 56
Total Posts: 5853
Posted 01/12/07 - 12:23 AM:
quote post
#5
Odd, I remember putting it in. I guess I put it in one of the other scripts.

_____________________
"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.