AlreadyM / jscrollpane

Automatically exported from code.google.com/p/jscrollpane
0 stars 0 forks source link

with slideshow jscroll pane not working #228

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. when i use  jscroll pane with slideshow, means slideshow on that page
2. in other pages its working fine for me
3.

What is the expected output? What do you see instead?

my script is :

  <script type="text/javascript">
      $('.ppt li:gt(0)').hide();
      $('.ppt li:last').addClass('last');
      $('.ppt li:first').addClass('first');
      $('#play').hide();

      var cur = $('.ppt li:first');
      var interval1;

      $('#fwd').click(function() {
          goFwd();
          showPause();
      });

      $('#back').click(function() {
          goBack();
          showPause();
      });

      $('#stop').click(function() {
          // alert(interval);
          try {
              stop();

              window.clearInterval(interval1);
              showPlay();
          }
          catch (x) {
              // alert(x);
          }

          // alert(interval);

      });

      $('#play').click(function() {
          start();
          showPause();
      });

      function goFwd() {
          stop();
          forward();
          start();
      }

      function goBack() {
          stop();
          back();
          start();
      }

      function back() {
          cur.fadeOut(1000);
          if (cur.attr('class') == 'licontent first')
              cur = $('.ppt li:last');
          else
              cur = cur.prev();
          cur.fadeIn(1000);
      }

      function forward() {
          cur.fadeOut(1000);
          if (cur.attr('class') == 'licontent last')
              cur = $('.ppt li:first');
          else
              cur = cur.next();
          cur.fadeIn(1000);
      }

      function showPause() {

          $('#play').hide();
          $('#stop').show();

      }

      function showPlay() {

          $('#stop').hide();
          $('#play').show();
      }

      function start() {

          interval1 = setInterval("forward()", 5000);

      }

      function stop() {
          window.clearInterval(interval1);

      }

      $(function() {
          // this initialises the demo scollpanes on the page.
          try {

              start();
              // var z = $('#pane2').css("z-index");
              // alert(z)
              //  $('#pane2').show().jScrollPane().hide().css("z-index", z);

              $('#panGallery').jScrollPane({ showArrows: true, scrollbarWidth: 15, arrowSize: 16 });

                       }
          catch (x) {
              //window.status = ''
              //  alert(x);
          }
      });

    </script>
What version of the jScrollPane are you using? On what browser? And operating 
system?
jScrollPane.js 93 2010-06-01 08:17:28Z kelvin.luck 
windows xp
ie

Please provide a URL to a page displaying the problem.

Please provide any additional information below.

Original issue reported on code.google.com by bharvad....@gmail.com on 22 Sep 2010 at 10:03

GoogleCodeExporter commented 9 years ago
Please try with the new beta of version 2 of jScrollPane:
http://jscrollpane.kelvinluck.com/

If you are still having problems please use the google group to report your 
issue:
http://groups.google.com/group/jscrollpane/

Original comment by kelvin.l...@gmail.com on 22 Sep 2010 at 10:28

GoogleCodeExporter commented 9 years ago
yes, i have use that new version also but same issue with me... let me know 
what do with this???

Original comment by bharvad....@gmail.com on 22 Sep 2010 at 10:43

GoogleCodeExporter commented 9 years ago
If you are still having problems please use the google group to report your 
issue:
http://groups.google.com/group/jscrollpane/

Original comment by kelvin.l...@gmail.com on 22 Sep 2010 at 10:47

GoogleCodeExporter commented 9 years ago
OK i have reported to Google group.

Original comment by bharvad....@gmail.com on 22 Sep 2010 at 10:53

GoogleCodeExporter commented 9 years ago
please have  look image where i got error

Original comment by bharvad....@gmail.com on 22 Sep 2010 at 11:11

Attachments: