Zen Follower
- Join Date:
- Jul 2006
- Posts:
- 213
- Plugin Contributions:
- 0
attribute pop up images
Blag, thanks for the response.
I think we can both curse the browser behaviour problems. It is the bane of all web developers.
As for the javascript problem. I should perhaps have been a little clearer. What I meant to say was that there was no link call for the jscript file in the head of the HTML page...which is generated by the attributes.php file.
I am beginning to suspect that like ckosloff, I may be seeing a conflict between this module and some other module I have loaded in my system. I do NOT have IH2 loaded so that's not it. I do have something which generated a 'popupWindow function call (italics below). But that function call to popWindow is actually inside an HTML comment, so it shouldn't be active. I need to check it out.
I even tried the original version 1.0 from Quillomania and got the same results as with your v1.0.1 (except that the option name was 'undefined' in the popup window).
The relevant HTML in the HEAD section for both v1.0 and v1.0.1 reads:
<link rel="stylesheet" type="text/css" href="includes/templates/healingspirit/css/stylesheet_new.css" /> <link rel="stylesheet" type="text/css" href="includes/templates/healingspirit/css/stylesheet_tablitev3_silver.css" /> **<script type="text/javascript" src="includes/templates/healingspirit/jscript/jscript_dynamic_window_popup.js"></script>** <script type="text/javascript" src="includes/templates/healingspirit/jscript/jscript_tablitev3.js"></script> <script type="text/javascript" src="includes/modules/pages/product_info/jscript_textarea_counter.js"></script> <script language="javascript" type="text/javascript"> *<!-- function popupWindow(url) { window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150') } function popupWindowPrice(url) { window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=600,height=400,screenX=150,screenY=150,top=150,left=150') } //-->* </script>The only difference in v1.0.2 is that the line
<script type="text/javascript" src="includes/templates/healingspirit/jscript/jscript_dynamic_window_popup.js"></script>is missing.
Very strange behaviour. It's almost as if the override function for the php file isn't working when the .js file is in the template_default directory.
Maury