Rev 8792 | Rev 8919 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<script type="text/javascript">function jqueryLoaded() {#if( $BANNERS.size() > 1 )jQuery('#promotion-banners').slidy({animation: 'slide',children: 'a',menu: false,pause: true,speed: 1000,time: 4000,width: 258,height: 180});#elsejQuery('#promotion-banners').slidy({animation: 'none',children: 'a',menu: false,pause: true,speed: 1000,time: 4000,width: 258,height: 180});#end}function checkJquery(){if (window.jQuery){try {jqueryLoaded();jQuery('#promotion-banners').show();}catch(error){window.setTimeout(checkJquery, 100);}} else {window.setTimeout(checkJquery, 100);}}</script><div id="banner-side" style="margin-bottom:10px;"><img src="/images/banner-side.jpg" usemap="#popup"><map name="popup"><area shape="rect" coords="0,90,255,146" id="otg_know_more" href="javascript:void(0)"><area shape="rect" coords="0,144,255,215" id="pickupstoreInfo" href="javascript:void(0)"><area shape="rect" coords="0,213,255,284" class="emiInfo"href="javascript:void(0)"><area shape="rect" coords="0,280,255,346" class="insuranceInfo" href="javascript:void(0)"></map></div>#if( $BANNERS && $BANNERS.size()!=0 )<div id="promotion-banners" style="margin-bottom : 10px; cursor : pointer; display:none;" onload="checkJquery()">#foreach($banner in $BANNERS)#if($banner.isHasMap())<a href="$banner.getLink()" banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' title="$banner.getBannerName()" usemap='#sidebannermap$velocityCount'/></a><map name='sidebannermap$velocityCount'>#set($mapdetails = $ALL_BANNER_MAP.get($banner.getBannerName()))#foreach($mapdetail in $mapdetails)<area shape="rect" coords='$mapdetail.getCoordinates()' href='$mapdetail.getMapLink()' banner-name='$banner.getBannerName()'/>#end</map>#else<a href="$banner.getLink()" banner-name='$banner.getBannerName()'><img src='/images/banners/$banner.getImageName()' title="$banner.getBannerName()"/></a>#end#end</div>#end