| 370 |
rajveer |
1 |
#set( $expslides = $expentity.getExpandedSlides() )
|
|
|
2 |
|
| 391 |
rajveer |
3 |
<div class="content1 ie" style="margin-top:0px;">
|
|
|
4 |
<div class="lfbox">
|
|
|
5 |
<div class="bl">
|
|
|
6 |
<div class="br">
|
|
|
7 |
<div class="controls contweak" style="padding-left:0px;">
|
|
|
8 |
<div class="sideNav">
|
|
|
9 |
<ul id="sideNav">
|
|
|
10 |
#foreach( $expslide in $expslides )
|
|
|
11 |
<li><a href="#vtab-$velocityCount" class="vt">$expslide.getSlideDefinition().getLabel()</a></li>
|
|
|
12 |
#end
|
|
|
13 |
</ul>
|
|
|
14 |
</div>
|
|
|
15 |
#foreach( $expslide in $expslides )
|
|
|
16 |
<div class="teaser" id="vtab-$velocityCount">
|
|
|
17 |
<h1>$expentity.getBrand() <strong>$expentity.getModelName()</strong></h1>
|
| 452 |
rajveer |
18 |
<!--
|
|
|
19 |
#set( $imageRefs = $expSlide.getFreeformContent().getImageRefs() )
|
| 413 |
rajveer |
20 |
#foreach( $imageRef in $imageRefs )
|
|
|
21 |
#set( $imageUrl = "http://localhost/images/" + $expentity.getID() + $imageRef)
|
|
|
22 |
<img src=$imageUrl alt="Nokia" />
|
| 452 |
rajveer |
23 |
#end -->
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
<DIV class="demo" id="tabs">
|
|
|
27 |
<!-- tabb start -->
|
|
|
28 |
<UL id="tab1">
|
|
|
29 |
<LI class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><A onclick="runEffect2();">Images</A></LI>
|
|
|
30 |
<LI class="ui-state-default ui-corner-top"><A onclick="runEffect1();">View 360</A></LI>
|
|
|
31 |
<LI class="ui-state-default ui-corner-top"><A onclick="runEffect3();">Video</A></LI>
|
|
|
32 |
|
|
|
33 |
</UL>
|
|
|
34 |
<UL class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all" id="tab2" style="display:none;">
|
|
|
35 |
<LI class="ui-state-default ui-corner-top"><A onclick="runEffect2();">Images</A></LI>
|
|
|
36 |
<LI class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><A onclick="runEffect1();">View 360</A></LI>
|
|
|
37 |
<LI class="ui-state-default ui-corner-top"><A onclick="runEffect3();">Video</A></LI>
|
|
|
38 |
</UL>
|
|
|
39 |
<UL class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all" id="tab3" style="display:none;">
|
|
|
40 |
<LI class="ui-state-default ui-corner-top"><A onclick="runEffect2();">Images</A></LI>
|
|
|
41 |
<LI class="ui-state-default ui-corner-top"><A onclick="runEffect1();">View 360</A></LI>
|
|
|
42 |
<LI class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><A onclick="runEffect3();">Video</A></LI>
|
|
|
43 |
</UL>
|
|
|
44 |
<!-- tabb end -->
|
|
|
45 |
<!-- tabb one(Images) content start -->
|
|
|
46 |
<DIV id="tabss-1" class="ui-tabs-panel ui-widget-content ui-corner-bottom">
|
|
|
47 |
<div id="loopedSlider">
|
|
|
48 |
<div class="container">
|
|
|
49 |
<div class="slides" onclick="changeImageStatus('Next')">
|
|
|
50 |
<div><img src="../images/nokia.png" /></div>
|
|
|
51 |
<div><img src="../images/nokia_videobg.gif" /></div>
|
|
|
52 |
<div><img src="../images/nokia.png" /></div>
|
|
|
53 |
</div>
|
|
|
54 |
</div>
|
|
|
55 |
<DIV class="bot" >
|
|
|
56 |
<div class="text" style="float:left;">
|
|
|
57 |
Displaying <span id="preCount" style="margin:0;">1</span> of <span id="postCount" style="margin:0;">3</span> Images
|
|
|
58 |
</div>
|
|
|
59 |
<div style="float:right;">
|
|
|
60 |
<A href="#" class="next" onclick="changeImageStatus('Previous')">Previous</A> |
|
|
|
61 |
<A href="#" class="previous" onclick="changeImageStatus('Next')">Next</A>
|
|
|
62 |
</div>
|
|
|
63 |
</DIV>
|
|
|
64 |
</div>
|
|
|
65 |
</DIV>
|
|
|
66 |
<!-- tabb one(Images) content end-->
|
|
|
67 |
<DIV id="tabss-2" class="ui-tabs-panel ui-widget-content ui-corner-bottom" style="display:none;">
|
|
|
68 |
<div>
|
|
|
69 |
<div class="container">
|
|
|
70 |
<div>
|
|
|
71 |
<div><img src="../images/nokia_videobg.gif" width="311" height="481" /></div>
|
|
|
72 |
</div>
|
|
|
73 |
</div>
|
|
|
74 |
</div>
|
|
|
75 |
</DIV>
|
|
|
76 |
<DIV id="tabss-3" class="ui-tabs-panel ui-widget-content ui-corner-bottom" style="display:none;">
|
|
|
77 |
<div class="container">
|
|
|
78 |
<div class="slides">
|
|
|
79 |
<span class="videoImg">
|
|
|
80 |
<span class="videoStyle">
|
|
|
81 |
<div id="videoDiv-$velocityCount">Loading...</div>
|
|
|
82 |
</span>
|
|
|
83 |
</span>
|
|
|
84 |
</div>
|
|
|
85 |
</div>
|
|
|
86 |
</DIV>
|
|
|
87 |
</DIV>
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
|
| 391 |
rajveer |
92 |
<div class="desc">
|
|
|
93 |
<h4>$expslide.getSlideDefinition().getLabel()</h4>
|
|
|
94 |
<p>
|
|
|
95 |
#if ( $expslide.getExpandedFeatures() )
|
|
|
96 |
<ul>
|
|
|
97 |
#set ( $expfeatures = $expslide.getExpandedFeatures() )
|
|
|
98 |
#foreach( $expfeature in $expfeatures )
|
|
|
99 |
<li>$expfeature.getFeatureDefinition().getLabel()
|
|
|
100 |
<ul>
|
|
|
101 |
#if ( $expfeature.getExpandedBullets() )
|
|
|
102 |
#set ( $expbullets = $expfeature.getExpandedBullets() )
|
|
|
103 |
#foreach ( $expbullet in $expbullets)
|
|
|
104 |
<li>
|
|
|
105 |
$expbullet.displayText()
|
|
|
106 |
</li>
|
|
|
107 |
|
|
|
108 |
#if ( $expbullet.getFreeformContent() )
|
|
|
109 |
$expbullet.getFreeformContent().getFreeformText()
|
|
|
110 |
#end
|
|
|
111 |
#end
|
|
|
112 |
#end
|
|
|
113 |
</ul>
|
|
|
114 |
</li>
|
|
|
115 |
#end
|
|
|
116 |
#if ( $expfeature.getFreeformContent() )
|
|
|
117 |
$expfeature.getFreeformContent().getFreeformText()
|
|
|
118 |
#end
|
|
|
119 |
</ul>
|
|
|
120 |
</div>
|
|
|
121 |
#end
|
|
|
122 |
|
|
|
123 |
#if ( $expslide.getExpandedChildrenSlides() )
|
|
|
124 |
#set ( $expchildren = $expslide.getExpandedChildrenSlides() )
|
|
|
125 |
#foreach( $expchild in $expchildren )
|
|
|
126 |
#showchildslide ( $expchild )
|
|
|
127 |
#end
|
|
|
128 |
#end
|
| 370 |
rajveer |
129 |
|
| 391 |
rajveer |
130 |
#if ( $expslide.getFreeformContent() )
|
|
|
131 |
$expslide.getFreeformContent().getFreeformText()
|
|
|
132 |
#end
|
|
|
133 |
</p>
|
|
|
134 |
</div>
|
|
|
135 |
#end
|
|
|
136 |
</div>
|
|
|
137 |
|
|
|
138 |
</div>
|
|
|
139 |
</div>
|
|
|
140 |
</div>
|
|
|
141 |
</div>
|
|
|
142 |
|
| 370 |
rajveer |
143 |
## MACROS ##
|
|
|
144 |
|
|
|
145 |
#macro ( showchildslide $expslide )
|
|
|
146 |
<ul>
|
|
|
147 |
<li>$expslide.getSlideDefinition().getLabel()
|
|
|
148 |
#if ( $expslide.getExpandedFeatures() )
|
|
|
149 |
<ul>
|
|
|
150 |
#set ( $expfeatures = $expslide.getExpandedFeatures() )
|
|
|
151 |
#foreach( $expfeature in $expfeatures )
|
|
|
152 |
<li>$expfeature.getFeatureDefinition().getLabel()
|
|
|
153 |
<ul>
|
|
|
154 |
#if ( $expfeature.getExpandedBullets() )
|
|
|
155 |
#set ( $expbullets = $expfeature.getExpandedBullets() )
|
|
|
156 |
#foreach ( $expbullet in $expbullets )
|
|
|
157 |
<li>
|
|
|
158 |
$expbullet.displayText()
|
|
|
159 |
</li>
|
|
|
160 |
#if ( $expbullet.getFreeformContent() )
|
|
|
161 |
$expbullet.getFreeformContent().getFreeformText()
|
|
|
162 |
#end
|
|
|
163 |
#end
|
|
|
164 |
#end
|
|
|
165 |
</ul>
|
|
|
166 |
</li>
|
|
|
167 |
#end
|
|
|
168 |
#if ( $expfeature.getFreeformContent() )
|
|
|
169 |
$expfeature.getFreeformContent().getFreeformText()
|
|
|
170 |
#end
|
|
|
171 |
</ul>
|
|
|
172 |
#end
|
|
|
173 |
|
|
|
174 |
#if ( $expslide.getExpandedChildrenSlides() )
|
|
|
175 |
#set ( $expchildren = $expslide.getExpandedChildrenSlides() )
|
|
|
176 |
#foreach( $expchild in $expchildren )
|
|
|
177 |
#showchildslide ( $expchild )
|
|
|
178 |
#end
|
|
|
179 |
#end
|
|
|
180 |
|
|
|
181 |
#if ( $expslide.getFreeformContent() )
|
|
|
182 |
$expslide.getFreeformContent().getFreeformText()
|
|
|
183 |
#end
|
|
|
184 |
|
|
|
185 |
</li>
|
|
|
186 |
</ul>
|
|
|
187 |
#end
|