jbmd Posted February 3, 2013 Share Posted February 3, 2013 (edited) Hello, I have this problem: when you look at this page: http://ps.jbmd.com/p...hp?id_product=6 - everything works ok: when you click on pictures -> they have exactly defined pop up window. Then I modified the product.tpl and product.css files like see in link: http://ps.jbmd.com/product.zip ------------------------------------------------------------------------------- Briefly in tpl page originally: <a id="color_{$id_attribute|intval}" class="color_pick" style="background: {$color.value};" onclick="updateColorSelect({$id_attribute|intval});$('#wrapResetImages').show('slow');" title="{$color.name}">{if file_exists($col_img_dir|cat:$id_attribute|cat:'.jpg')} <img src="{$img_col_dir}{$id_attribute}.jpg" alt="{$color.name}" width="20" height="20" />{/if}</a> ------------------------------------------------------------------------------- tpl page after this modification: <a id="color_{$id_attribute|intval}" class="color_pick" style="background: {$color.value};" onclick="updateColorSelect({$id_attribute|intval});$('#wrapResetImages').show('slow'); " title="{$color.name}">{if file_exists($col_img_dir|cat:$id_attribute|cat:'.jpg')} <img src="{$img_col_dir}{$id_attribute}.jpg" alt="{$color.name}" width="65" height="65" /> <span><img id="obrazek" src="{$img_col_dir}{$id_attribute}.jpg" alt="vzor" ></span> {/if} </a> ------------------------------------------------------------------------------- But in this page: http://ps.jbmd.com/p...p?id_product=10 I am not able to have the same popup as in previous product no. 6. Moreover, the product no.6 still preserves its nice original pop. How should I improve it? Edited February 3, 2013 by jbmd (see edit history) Link to comment Share on other sites More sharing options...
doubleD Posted February 3, 2013 Share Posted February 3, 2013 Hi, I've checked your files with ps 1.4.7.0 and they work fine for me... I've noticed an error in your product.js after the page is loaded uncaught referenceerror: ipa_default is not defined Try this link for the fix Link to comment Share on other sites More sharing options...
Recommended Posts