To verify functionality - I used Wordpress 2.8 and the theme Arthemia Free v2 (http://michaelhutagalung.com/2008/05/arthemia-magazine-blog-wordpress-theme-released/). 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 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.
<style type=\"text/css\" media=\"screen\"> #slider1 { width: 720px; /* important to be same as image width */ height: 300px; /* important to be same as image height */ position: relative; /* important */ overflow: hidden; /* important */ }
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.
<?php
/**
* @package WordPress
* @subpackage Classic_Theme
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title('«', 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() {
jquery('#s3slider').s3slider({
timeOut: 4000
});
});
</script>
</head>
<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>
<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>
</li>
<div class="clear s3sliderImage"></div>
</ul>
</div>
<!-- // slider -->
<!-- Center Column Text -->
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:
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.
read this article.
http://digwp.com/2009/06/including-jque ... 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.
http://www.shadowbox-js.com/index.html
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.
http://jqueryfordesigners.com/demo/coda-slider.html