Click here to Skip to main content
15,513,793 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on Zen Cart also Purchased Modul and implanted
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:

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

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.

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