• Page 1 of 1
  • 1
Forum moderator: bigblog  
uCoz Community » For Webmasters » Design Customization » Design Problem (design 1322 slider)
Design Problem
Urs
Posts: 303
Reputation: 4

Message # 1 | 8:49 AM
In design Design # 1322, in the PROMO section i have :

<?if($PAGE_ID$='sitePage1')?>
<section>
<div id="slider">
<ul class="slides">

<li class="slide">
<img src="/picture1.jpg" alt="">
<div class="caption">
<div class="cap-ttl"><a href=""></a></div>
<div class="cap-ds">description</div>
</div>
</li>

<li class="slide">
<img src="/picture2.jpg" alt="">
<div class="caption">
<div class="cap-ttl"><a href=""></a></div>
<div class="cap-ds">description</div>
</div>
</li>

<li class="slide">
<img src="/picture3.jpg" alt="">
<div class="caption">
<div class="cap-ttl"><a href=""></a></div>
<div class="cap-ds">description</div>
</div>
</li>

<li class="slide">
<img src="/picture4.jpg" alt="">
<div class="caption">
<div class="cap-ttl"><a href=""></a></div>
<div class="cap-ds">description</div>
</div>
</li>

<li class="slide">
<img src="/picture5.jpg" alt="">
<div class="caption">
<div class="cap-ttl"><a href=""></a></div>
<div class="cap-ds">description</div>
</div>
</li>


</div>
<script type="text/javascript" src="/.s/t/1322/jquery.flexslider-min.js"></script>
</section>
<div class="clr"></div>
<?endif?>


If i duplicate the whole code and post it under but at the start of it i write :
<?if($PAGE_ID$='sitePage<span style="color:red">2</span>')?>

(and with other pictures)

On page 2 i get only the first image and the slider doesn't move or show more pictures like it does on the first page.

If you have any guide how to have the slider on different pages with different pictures please help.

Thassos Island Portal :
https://thassos.one
Post edited by Urs - Wednesday, 2016-03-30, 8:50 AM
Sunny
Posts: 9296
Reputation: 456

Message # 2 | 10:28 AM
Urs, please provide the link to page 2 where you have the duplicated code.
I'm not active on the forum anymore. Please contact other forum staff.
Sunny
Posts: 9296
Reputation: 456

Message # 3 | 12:59 PM
Urs, add the following script to the 'Site pages' template:

Code
<script>
  $('#slider').flexslider({
      animation: "slide",
      slideshowSpeed: 10000,
      directionNav: false
      });
</script>

I'm not active on the forum anymore. Please contact other forum staff.
uCoz Community » For Webmasters » Design Customization » Design Problem (design 1322 slider)
  • Page 1 of 1
  • 1
Search: