Subversion Repositories SmartDukaan

Rev

Rev 5930 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5930 Rev 5941
Line 100... Line 100...
100
			  
100
			  
101
				#set($snippets =  $action.getSnippets())
101
				#set($snippets =  $action.getSnippets())
102
				#set($count = 1)
102
				#set($count = 1)
103
				#foreach ( $snippet in $snippets.values() )
103
				#foreach ( $snippet in $snippets.values() )
104
					#if($velocityCount != 1)
104
					#if($velocityCount != 1)
105
						<div class="comparision-border-inner"></div>
105
						<div class="comparision-border-inner mk_seperator"></div>
106
					#end
106
					#end
107
					<div id="product-comparision" class="comparision-product-column #if($count == 0) comparision-product-column-even #set($count = 1) #else #set($count = 0) #end">
107
					<div id="product-comparision" class="comparision-product-column #if($count == 0) comparision-product-column-even #set($count = 1) #else #set($count = 0) #end">
108
					$snippet	
108
					$snippet	
109
					</div>
109
					</div>
110
				#end
110
				#end
Line 266... Line 266...
266
<script type="text/javascript" id="sourcecode">
266
<script type="text/javascript" id="sourcecode">
267
      $(function() {
267
      $(function() {
268
	  hideSlides();
268
	  hideSlides();
269
		#if($snippets.size() > 3)
269
		#if($snippets.size() > 3)
270
	    if ($(".scroller-column-$snippets.size()").length){
270
	    if ($(".scroller-column-$snippets.size()").length){
-
 
271
			selector = '.scroller-column-$snippets.size()';
-
 
272
		  pane  = $(selector);
271
		  $('.scroller-column-$snippets.size()').jScrollPane({showArrows: true});
273
		  pane = pane.jScrollPane({showArrows: true});
-
 
274
		  api = pane.data('jsp');
272
        }
275
        }
273
		#end
276
		#end
274
	  renderComparison();
277
	  renderComparison();
275
	  #if(!$action.isComparable())
278
	  #if(!$action.isComparable())
276
	  $('li.ui-state-default:nth(1)').click();
279
	  $('li.ui-state-default:nth(1)').click();