The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Does anybody know why my wordpress s3slider isn’t working?

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #26251

    I have no idea whats going on… Im building this on wordpress. heres the code.

    * @package WordPress
    * @subpackage Classic_Theme
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""&gt;
    <html xmlns="; <?php language_attributes(); ?>>

    <head profile=""&gt;
    <meta http-equiv="Content-Type" content="<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>" />

    <title><?php wp_title(‘&laquo;’, true, ‘right’); ?> <?php bloginfo(‘name’); ?></title>

    <style type="text/css" media="screen">@import url( <?php bloginfo(‘stylesheet_url’); ?> );</style>
    <?php bloginfo(‘template_directory’) ?>

    <link rel="pingback" href="<?php bloginfo(‘pingback_url’); ?>" />

    <?php wp_enqueue_script(‘jquery’); ?>

    <?php wp_get_archives(‘type=monthly&format=link’); ?>

    <?php //comments_popup_script(); // off by default ?>

    <?php wp_head(); ?>

    <script type="text/javascript" src="<?php bloginfo(‘template_url’) ?>/js/s3slider.js"></script>

    <script type="text/javascript">

    jquery(document).ready(function() {
    timeOut: 4000


    <body <?php body_class(); ?>>

    <!– Navigation Menu / *** Jquery *** –>

    <div id="s3slider">
    <ul id="s3sliderContent">
    <li class="s3sliderImage">
    <a href=""><img src="wp-content/themes/default/images/wide/1.jpg" alt="1" /></a>
    <span class="top"><strong></strong><br /></span>

    <li class="s3sliderImage">
    <a href=""><img src="wp-content/themes/default/images/wide/2.jpg" alt="2" /></a>
    <span class="top"><strong>This one is mine</strong><br />Sweet!!!</span>

    <div class="clear s3sliderImage"></div>
    <!– // slider –>

    <!– Center Column Text –>


    did you include the jquery library? did you include it correctly? can you get it working outside of wordpress?


    To verify functionality – I used WordPress 2.8 and the theme Arthemia Free v2 ( I used jquery.js bundled with s3slider.

    Put the following lines ONE LINE ABOVE <?php wp_head(); ?> in header.php and verify the script paths:


    Put the following lines ONE LINE UNDER <?php wp_head(); ?> in header.php :


    Put the following lines at the bottom of the page right above <?php get_footer(); ?> in index.php and verify the img paths:

    • 1
      Title text 1
      Content text…
    • 2
      Title text 2
      Content text…Content text…Content text…Content text…Content text…Content text
    • 3
      Title text 2
      Content text…
    • 4
      Title text 2
      Content text…
    • 5
      Title text 2
      Content text…

    Put the following code at the end of style.css – I changed right to sliderright and left to sliderleft. The <span class> code above has the correct changes too.


    if you are running a lightbox, that code will interfere with the slider. There is also a better way to include the jquery in wordpress

    read this article. … right-way/

    if you are running any other scripts, disable them and see if the slider works. Disable them by removing the script tag in the head section that calls the code that runs them and see if the slider begins to work. If you are running a lightox, then try replacing the lightbox with shadowbox.

    it doesn’t interfere with the sliders. As far as I know. I have used coda slider and shadow box was the only one that would work.


    The purpose of my first posting was to give an example of how to get s3slider to work.



Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.