View Single Post
  #6  
Old 06-26-2004, 11:19 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

Found a bug, it kills this javascript that I have in my product pages that pops up a new window for detailed images.

So I can't use it as-is, but hopefully I'll find time to play with this and get it to work.

Is there a way to PREVENT areas of code from being touched?

Code:
{literal} <SCRIPT language=JavaScript1.2> <!-- var store_language='{/literal}{$store_language}{literal}'; function product_option(name_of_option) { {/literal} for(i=0; i<{$product_options_count|default:"0"}; i++) if (document.orderform[i].name.search(name_of_option) != -1) return document.orderform[i]; return -1; {literal} } function FormValidation() { {/literal} {if $javascript_code} {$javascript_code} {else} return true; {/if} {literal} } --> </SCRIPT>
Reply With Quote