| Line 11... |
Line 11... |
| 11 |
#set($staticnum = $staticnum+1)
|
11 |
#set($staticnum = $staticnum+1)
|
| 12 |
#set($staticnum = $staticnum%3)
|
12 |
#set($staticnum = $staticnum%3)
|
| 13 |
#set($numcount = $staticnum)
|
13 |
#set($numcount = $staticnum)
|
| 14 |
#set($dynamicurl = $urlpart1 + $numcount + $urlpart2)
|
14 |
#set($dynamicurl = $urlpart1 + $numcount + $urlpart2)
|
| 15 |
#set($entitytitle = $expentity.getBrand().trim() + ' ' + $expentity.getModelName().trim() + ' ' + $expentity.getModelNumber().trim())
|
15 |
#set($entitytitle = $expentity.getBrand().trim() + ' ' + $expentity.getModelName().trim() + ' ' + $expentity.getModelNumber().trim())
|
| - |
|
16 |
#set($requiresSkinImg = false) ##If this product has vedios which require skin image or not
|
| 16 |
<!-- slide guide -->
|
17 |
<!-- slide guide -->
|
| 17 |
<div id="slideGuideContent">
|
18 |
<div id="slideGuideContent">
|
| 18 |
<div class="top">
|
19 |
<div class="top">
|
| 19 |
<div class="left">
|
20 |
<div class="left">
|
| 20 |
<div class="right">
|
21 |
<div class="right">
|
| 21 |
<div class="center">
|
22 |
<div class="center"></div>
|
| - |
|
23 |
</div>
|
| 22 |
</div>
|
24 |
</div>
|
| 23 |
</div>
|
- |
|
| 24 |
</div>
|
25 |
</div>
|
| 25 |
</div>
|
- |
|
| 26 |
<div class="middle">
|
26 |
<div class="middle">
|
| 27 |
<div class="left">
|
27 |
<div class="left">
|
| 28 |
<div class="controls contweak">
|
28 |
<div class="controls contweak">
|
| 29 |
<!-- slideGuideNav -->
|
29 |
<!-- slideGuideNav -->
|
| 30 |
<div id="slideGuideNav">
|
30 |
<div id="slideGuideNav">
|
| 31 |
<ul id="sideNav">
|
31 |
<ul id="sideNav">
|
| 32 |
## Get necessary data from summary slide. This data will be used later on in the code
|
32 |
## Get necessary data from summary slide. This data will be used later on in the code
|
| 33 |
#foreach( $expslide in $expslides )
|
33 |
#foreach( $expslide in $expslides )
|
| 34 |
#if($expslide.getSlideDefinitionID() == 130054)
|
34 |
#if($expslide.getSlideDefinitionID() == 130054)
|
| 35 |
#set($expfeatures = $expslide.getExpandedFeatures())
|
35 |
#set($expfeatures = $expslide.getExpandedFeatures())
|
| 36 |
#foreach($expfeature in $expfeatures)
|
36 |
#foreach($expfeature in $expfeatures)
|
| Line 47... |
Line 47... |
| 47 |
#end
|
47 |
#end
|
| 48 |
#if($expfeature.getFeatureDefinitionID() == 120086)
|
48 |
#if($expfeature.getFeatureDefinitionID() == 120086)
|
| 49 |
#set($expbullet = $expfeature.getExpandedBullets().get(0))
|
49 |
#set($expbullet = $expfeature.getExpandedBullets().get(0))
|
| 50 |
#set($screentopcornerx = $expbullet.getDataObject().getPrimitiveDataObjects().get(0).getValue())
|
50 |
#set($screentopcornerx = $expbullet.getDataObject().getPrimitiveDataObjects().get(0).getValue())
|
| 51 |
#set($screentopcornery = $expbullet.getDataObject().getPrimitiveDataObjects().get(1).getValue())
|
51 |
#set($screentopcornery = $expbullet.getDataObject().getPrimitiveDataObjects().get(1).getValue())
|
| - |
|
52 |
#set($requiresSkinImg = true)
|
| 52 |
#end
|
53 |
#end
|
| 53 |
#if($expfeature.getFeatureDefinitionID() == 120087)
|
54 |
#if($expfeature.getFeatureDefinitionID() == 120087)
|
| 54 |
#set($expbullet = $expfeature.getExpandedBullets().get(0))
|
55 |
#set($expbullet = $expfeature.getExpandedBullets().get(0))
|
| 55 |
#set($screenheight = $expbullet.getDataObject().getPrimitiveDataObjects().get(0).getValue())
|
56 |
#set($screenheight = $expbullet.getDataObject().getPrimitiveDataObjects().get(0).getValue())
|
| 56 |
#set($screenwidth = $expbullet.getDataObject().getPrimitiveDataObjects().get(1).getValue())
|
57 |
#set($screenwidth = $expbullet.getDataObject().getPrimitiveDataObjects().get(1).getValue())
|
| Line 345... |
Line 346... |
| 345 |
<script type="text/javascript">
|
346 |
<script type="text/javascript">
|
| 346 |
$(function(){
|
347 |
$(function(){
|
| 347 |
$firstVideoInitCode;
|
348 |
$firstVideoInitCode;
|
| 348 |
});
|
349 |
});
|
| 349 |
</script>
|
350 |
</script>
|
| - |
|
351 |
#if($requiresSkinImg)
|
| - |
|
352 |
#set($backgroundCSSStyle = "background:url(${skinurl}/images/${entityid}/${imagePrefix}-skin-${contentVersion}.jpg) no-repeat;")
|
| - |
|
353 |
#else
|
| - |
|
354 |
#set($backgroundCSSStyle = "")
|
| - |
|
355 |
#end
|
| 350 |
<div class="slides">
|
356 |
<div class="slides">
|
| 351 |
<span style="height:${skinheight}px; background:url(${skinurl}/images/${entityid}/${imagePrefix}-skin-${contentVersion}.jpg) no-repeat; width:${skinwidth}px; float:left;" >
|
357 |
<span style="height:${skinheight}px; $backgroundCSSStyle width:${skinwidth}px; float:left;">
|
| 352 |
<span id="vedioContainer$velocityCount" style="height:${screenheight}px; width:${screenwidth}px; margin:${screentopcornery}px 0px 0px ${screentopcornerx}px; float:left;">
|
358 |
<span id="vedioContainer$velocityCount" style="height:${screenheight}px; width:${screenwidth}px; margin:${screentopcornery}px 0px 0px ${screentopcornerx}px; float:left;">
|
| 353 |
<div id="videoDiv$velocityCount"></div>
|
359 |
<div id="videoDiv$velocityCount"></div>
|
| 354 |
</span>
|
360 |
</span>
|
| 355 |
</span>
|
361 |
</span>
|
| 356 |
<div class="modelName">$firstVideoTitle</div>
|
362 |
<div class="modelName">$firstVideoTitle</div>
|
| - |
|
363 |
</div>
|
| 357 |
</div>
|
364 |
</div>
|
| 358 |
</div>
|
365 |
</div>
|
| 359 |
</div>
|
- |
|
| 360 |
#end
|
366 |
#end
|
| 361 |
</div>
|
367 |
</div>
|
| 362 |
</div>
|
368 |
</div>
|
| 363 |
<script type="text/javascript">
|
369 |
<script type="text/javascript">
|
| 364 |
$(function() {
|
370 |
$(function() {
|