Hey thanks for all the help!!!! I have made a test page for the client and it works great! Here is the link if you would like to take a look, and I will post the code for anyone who wants to do the same later!
http://www.chessusa.com/product/new-...yout-test.html
Here is the code for the light box page:
HTML Code:
<mvt:item name="head" param="head_tag" />
<head>
<mvt:item name="html_profile" />
<base href="&mvt:global:basehref;" />
<mvt:item name="head" param="css_list" /><mvt:item name="product_display_imagemachine" param="head" />
</head>
<body style="padding-top: 0;" class="PROD">
<div style="width: 600px; height: 600px; float: left; border: 2px solid #ccc;"> <img id="main_image" src="graphics/en-US/cssui/blank.gif" alt="&mvte:product:name;"> </div>
<div style="float: left; width: 350px;">
<ul id="thumbnails" class="thumbnails"></ul>
<mvt:item name="product_display_imagemachine" param="body:product:id" />
</div>
</div>
</body>
</html>
Set the options accordingly on the image machine.
I used fancybox for the lightbox iframe.
Add the scripts for fancy box in the head of the regular prod page and these settings aswell:
HTML Code:
<script>
$(document).ready(function() {
$(".various").fancybox({
maxWidth : 990,
maxHeight : 604,
fitToView : false,
width : '990',
height : '604',
autoSize : false,
closeClick : false,
openEffect : 'none',
closeEffect : 'none'
});
});
</script>
Then any place you want the light box to open add this a link:
HTML Code:
<a class="various" data-fancybox-type="iframe" href="/mm5/merchant.mvc?Screen=PROD-IFRAME&Product_Code=&mvt:product:code;"> </a>
And your done!!
Thanks again!!!