-
Notifications
You must be signed in to change notification settings - Fork 0
/
product.html
52 lines (45 loc) · 2.13 KB
/
product.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
%%Panel.HTMLHead%%
<body class="productPage">
<script type="text/javascript" src="%%GLOBAL_CdnAppPath%%/javascript/jquery/plugins/validate/jquery.validate.js?%%GLOBAL_JSCacheToken%%"></script>
<script type="text/javascript" src="%%GLOBAL_TPL_PATH%%/js/product.functions.js?%%GLOBAL_JSCacheToken%%"></script>
<script type="text/javascript" src="%%GLOBAL_CdnAppPath%%/javascript/product.js?%%GLOBAL_JSCacheToken%%"></script>
%%Panel.DrawerMenu%%
<div class="page">
%%Panel.Header%%
<div class="main">
<div class="inner">
%%Panel.WrapperBanner%%
%%Panel.ProductBreadcrumb%%
%%Panel.ProductDetails%%
%%Panel.SimilarProductsByCustomerViews%%
%%Panel.SideProductRelated%%
<div class="clear"></div>
</div>
</div>
%%Panel.Footer%%
<script type="text/javascript">
$(window).load(function() {
if ($('.wishTrigger:visible').size() != 0) {
$('html').click(function() {
$('#SideProductAddToWishList .BlockContent').slideUp(300);
});
$('.wishTrigger').click(function(event){
event.stopPropagation();
var x = $('.wishTrigger').offset().left;
var y = $('.wishTrigger').offset().top;
$('#SideProductAddToWishList').css('top', y).css('left', x).css('position', 'absolute').show();
$('#SideProductAddToWishList .BlockContent').slideToggle(300);
});
$('#SideProductAddToWishList .BlockContent').click(function(event){
event.stopPropagation();
});
}
$('.prodAccordion > div > h2').click(function(){
$('#SideProductAddToWishList .BlockContent').slideUp(300);
});
});
</script>
</div>
%%Panel.SideProductAddToWishList%%
</body>
</html>