ThemeShaper Forums » Power Blog

[closed]

Integrating the s3Slider jQuery plugin

(2 posts)
  • Started 3 years ago by JanTenner
  • Latest reply from azoomer
  1. JanTenner
    Member

    Hi,
    I am trying to integrate the s3Slider into my Power-Blog but it just wont work. I tried to do it as it is been told in this tutorial:
    http://boxietuts.com/tutorials/php/creating-a-wordpress-slider
    but I'm not sure how to get the code into my template the right way ... can anyone help?

    Posted 3 years ago #
  2. azoomer
    Member

    Hi Jan i took a quick glance at the tutorial you are linking to. Not sure why it doesn't work but one thing you can try is to change $ to jQuery in this piece of the code

    <script type="text/javascript">
    $(document).ready(function() {
       $('#slider').s3Slider({
          timeOut: 5000
       });
    })
    </script>

    I mean like this:

    <script type="text/javascript">
    jQuery(document).ready(function() {
       jQuery('#slider').s3Slider({
          timeOut: 5000
       });
    })
    </script>

    Jquery runs in noconflict mode on the power blog and because of that $ will not work. Not sure if this helps but you can try it.

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.