forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: mrshark on August 21, 2004, 08:09:35 am

Title: form elements not selectable with mozilla*
Post by: mrshark on August 21, 2004, 08:09:35 am
after upgrading to cpg 1.3.1 from 1.3.0, now on my site http://www.slide-show.net/galleria is not possible to access textual form elements with mozilla. If someone uploads images, when he has to insert titles and descriptions soon after, form elements are non selectable, my mouse click and by the tab key (it simply passes on, as they are not there!), too. This is true for mozilla firefox and mozilla navigator, latest versions for both. IE works... Any help? if it can help, i can create e temporary account on my site, to test it...
Title: Re: form elements not selectable with mozilla*
Post by: Nibbler on August 21, 2004, 08:26:42 am
You have javascript in your theme blocking the mouse clicks
Code: [Select]
<SCRIPT LANGUAGE="JavaScript" type="text/javascript" >
<!--
document.oncontextmenu = function(){return false}
if(document.layers) {
window.captureEvents(Event.MOUSEDOWN);
window.onmousedown = function(e){
if(e.target==document)return false;
}
}
else {
document.onmousedown = function(){return false}
}
//-->
</SCRIPT>

Remove that and you'll be fine.