• Hi Guys,

    So having struggled to get the s3slider to work in my HTML template I have since moved on to converting into my WordPress install and it now no longer works again.

    I have read dozen’s of pages about the ways of loading jQuery but still cannot get it working. My current header is below and I have s3slider.js inside a js folder within my theme.

    Can you spot why the script is not running?

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml">
    
    	<head>
    		<title><?php wp_title('-', true, 'right'); ?><?php bloginfo('name'); ?></title>
    		<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css">
    		<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    		<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
    		<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    		<?php wp_enqueue_script('jquery'); ?>
    		<?php wp_head(); ?>
    		<script src="<?php bloginfo(’template_directory’); ?>/js/s3Slider.js" type="text/javascript"></script>
    		<script type="text/javascript">jQuery(document).ready(function($) { jQuery('#s3slider').s3Slider({ timeOut: 3000 }); });</script>
    	</head>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘jQuery s3Slider (Still) not loading. Can you help?’ is closed to new replies.