Click here to Skip to main content
14,978,864 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I am working on Zen Cart also Purchased Modul and implanted
split-carousel
GitHub - notbigmuzzy/splitslider: Simple jQuery slider which can be useful if you want to split slides and animate them individually[^]

Almost everything is fine. But I can not find out, how to add extra closing tabs and new opening divs after
<div class="slides content">
and so on.
There should be
</div><div class="slides photo">
an so on.

It is easy to get the php variables and insert them on the right place, but I am struggling (almost 3 days) with those extra definitions.

Thanks for helping

What I have tried:

<script>
  $(document).ready(function() {
  var className = $('.SlideOne')[<?php echo $maxDisplay; ?>].className;
  alert(className);
  });
  </script>  

SlideOne is a definition for className
$maxDisplay is counter for mySql value.
But I do not know how to tell java how to count, and after a special value to insert extra divs.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900