Hello there, on some products i want to add (on the description) small images, that when you click them they will open a page that contains a video of the product. I'll do that will lightwindow (it's like the lightbox)..
To do that i have to add those:
Code:
<script type="text/javascript" src="lightwindow/javascript/prototype.js"></script>
<script type="text/javascript" src="lightwindow/javascript/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="lightwindow/javascript/lightwindow.js"></script>
<link rel="stylesheet" href="lightwindow/css/lightwindow.css" type="text/css" media="screen" />
First of all, if i add this on the product description, after i press the button save, i see that the product detailed description isn't saved. I tried to use {literal} but not luck.
I know that i can add those lines on product.tpl but i think that is not a good idea coz i don't need them to all products.. E.g from the 100 products i have, i need it only on 5-10, so it's not a good idea to load them on all products coz maybe this can make the site to take longer to load - lag (am i correct?)