March 26, 201214 yr Hi there Please visit the link 1st My link here you will see some book cover pages underneath the "issue 15". but its not sliding its a wordpress theme. here is header.php foir the 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"> <head> <title><?php bloginfo('name'); ?><?php wp_title(); ?></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please --> <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/reset.css" type="text/css" media="screen" /> <script type="text/javascript" src="http://www.tmsbd.com/wp-content/themes/paragrams/jss/amazon_scroller.js"></script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="stylesheet" type="text/css" media="all" href="http://www.tmsbd.com/wp-content/themes/paragrams/csss/amazon_scroller.css" /> <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge;chrome=1"><![endif]--> <!--[if IE 6]> <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/ie6.css" type="text/css" media="screen" /> <![endif]--> <!--[if IE 7]> <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/ie7.css" type="text/css" media="screen" /> <![endif]--> <!--[if IE 8]> <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/ie8.css" type="text/css" media="screen" /> <![endif]--> <link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/favicon.ico" type="image/x-icon" /> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/menu.css" type="text/css" media="screen" /> <?php wp_enqueue_script('jquery'); ?> <?php wp_head(); ?> <script src="<?php bloginfo('template_url'); ?>/js/columnizer.js" type="text/javascript"></script> <script src="<?php bloginfo('template_url'); ?>/js/columnize.js" type="text/javascript"></script> <script type='text/javascript' src='<?php bloginfo('template_url'); ?>/js/menu.js'></script> </head> <body <?php body_class(); ?>> <div id="outer"> <div id="header"> <div id="logo"> <?php ob_start(); ob_implicit_flush(0); echo get_option('paragrams_custom_logo'); $my_logo = ob_get_contents(); ob_end_clean(); if ( $my_logo == '' ): ?> <a href="<?php bloginfo("url"); ?>/"> <img src="<?php bloginfo('template_url'); ?>/images/logo.png" alt="<?php bloginfo('name'); ?>" /></a> <?php else: ?> <a href="<?php bloginfo("url"); ?>/"><img src="<?php echo get_option('paragrams_custom_logo'); ?>" alt="<?php bloginfo('name'); ?>" /></a> <?php endif ?> </div> <div id="serv"> <div id="search"><?php get_search_form(); ?></div> <div id="navicons"> <ul> <li><a id="subscribe" href="<?php bloginfo('rss2_url'); ?>" title="">Subscribe</a></li> <li><a id="twitter" href="<?php echo get_option('paragrams_twturl'); ?>" title="">Twitter</a></li> <li><a id="facebook" href="<?php echo get_option('paragrams_fbkurl'); ?>" title="">Facebook</a></li> </ul> </div> <div id="menu"> <?php if ( function_exists( 'wp_nav_menu' ) ) wp_nav_menu( array( 'theme_location' => 'custom-menu','fallback_cb'=> 'custom_menu','container' => 'ul','menu_id' => 'top-menu', ) ); else custom_menu(); ?> </div> </div> </div> i added this below there lines to header to working the slider <script type="text/javascript" src="http://www.tmsbd.com/wp-content/themes/paragrams/jss/amazon_scroller.js"></script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="stylesheet" type="text/css" media="all" href="http://www.tmsbd.com/wp-content/themes/paragrams/csss/amazon_scroller.css" /> and make div at the bottom of header.php and paste the below codes <script language="javascript" type="text/javascript"> $(function() { $("#amazon_scroller1").amazon_scroller({ scroller_title_show: 'enable', scroller_time_interval: '4000', scroller_window_background_color: "#fff", scroller_window_padding: '10', scroller_border_size: '1', scroller_border_color: '#000', scroller_images_width: '124', scroller_images_height: '160', scroller_title_size: '12', scroller_title_color: 'black', scroller_show_count: '4', directory: 'images' }); $("#amazon_scroller2").amazon_scroller({ scroller_title_show: 'disable', scroller_time_interval: '3000', scroller_window_background_color: "none", scroller_window_padding: '10', scroller_border_size: '0', scroller_border_color: '#CCC', scroller_images_width: '100', scroller_images_height: '80', scroller_title_size: '12', scroller_title_color: 'black', scroller_show_count: '2', directory: 'images' }); $("#amazon_scroller3").amazon_scroller({ scroller_title_show: 'enable', scroller_time_interval: '3000', scroller_window_background_color: "none", scroller_window_padding: '10', scroller_border_size: '2', scroller_border_color: '#9C6', scroller_images_width: '124', scroller_images_height: '160', scroller_title_size: '11', scroller_title_color: 'black', scroller_show_count: '3', directory: 'images' }); }); </script> <div id="amazon_scroller1" class="amazon_scroller"> <div class="amazon_scroller_mask"> <ul> <li><a href="http://www.amazon.com/gp/product/1935182323/ref=as_li_tf_il?ie=UTF8&tag=html061-20&linkCode=as2&camp=217145&creative=399369&creativeASIN=1935182323" title="jQuery in Action, Second Edition" target="_blank"><img src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&Format=_SL160_&ASIN=1935182323&MarketPlace=US&ID=AsinImage&WS=1&tag=html061-20&ServiceVersion=20070822" width="124" height="160" alt="jQuery in Action, Second Edition"/></a></li> <li><a href="http://www.amazon.com/gp/product/0596159773/ref=as_li_ss_il?ie=UTF8&tag=html061-20&linkCode=as2&camp=217145&creative=399369&creativeASIN=0596159773" title="jQuery Cookbook: Solutions & Examples for jQuery Developers (Animal Guide)" target="_blank"><img src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&Format=_SL160_&ASIN=0596159773&MarketPlace=US&ID=AsinImage&WS=1&tag=html061-20&ServiceVersion=20070822" width="124" height="160" alt="jQuery Cookbook: Solutions & Examples for jQuery Developers (Animal Guide) [Paperback]"/></a></li> <li><a href="http://www.amazon.com/gp/product/0980576857/ref=as_li_ss_il?ie=UTF8&tag=html061-20&linkCode=as2&camp=217145&creative=399369&creativeASIN=0980576857" title="jQuery: Novice to Ninja" target="_blank"><img src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&Format=_SL160_&ASIN=0980576857&MarketPlace=US&ID=AsinImage&WS=1&tag=html061-20&ServiceVersion=20070822" width="124" height="160" alt="jQuery: Novice to Ninja"/></a></li> <li><a href="http://www.amazon.com/gp/product/0321430840/ref=as_li_ss_il?ie=UTF8&tag=html061-20&linkCode=as2&camp=217145&creative=399369&creativeASIN=0321430840" title="HTML, XHTML, and CSS, Sixth Edition" target="_blank"><img src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&Format=_SL160_&ASIN=0321430840&MarketPlace=US&ID=AsinImage&WS=1&tag=html061-20&ServiceVersion=20070822" width="124" height="160" alt="HTML, XHTML, and CSS, Sixth Edition"/></a></li> <li><a href="http://www.amazon.com/gp/product/0321344758/ref=as_li_ss_il?ie=UTF8&tag=html061-20&linkCode=as2&camp=217145&creative=399369&creativeASIN=0321344758" title="Don't Make Me Think: A Common Sense Approach to Web Usability, 2nd Edition" target="_blank"><img src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&Format=_SL160_&ASIN=0321344758&MarketPlace=US&ID=AsinImage&WS=1&tag=html061-20&ServiceVersion=20070822" width="124" height="160" alt="Don't Make Me Think: A Common Sense Approach to Web Usability, 2nd Edition"/></a></li> <li><a href="http://www.amazon.com/gp/product/059610197X/ref=as_li_ss_il?ie=UTF8&tag=html061-20&linkCode=as2&camp=217145&creative=399369&creativeASIN=059610197X" title="Head First HTML with CSS & XHTML" target="_blank"><img src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&Format=_SL160_&ASIN=059610197X&MarketPlace=US&ID=AsinImage&WS=1&tag=html061-20&ServiceVersion=20070822" width="60" height="60" alt="Head First HTML with CSS & XHTML"/></a></li> <li><a href="http://www.amazon.com/gp/product/0596517742/ref=as_li_ss_il?ie=UTF8&tag=html061-20&linkCode=as2&camp=217145&creative=399369&creativeASIN=0596517742" title="JavaScript: The Good Parts" target="_blank"><img src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&Format=_SL160_&ASIN=0596517742&MarketPlace=US&ID=AsinImage&WS=1&tag=html061-20&ServiceVersion=20070822" width="60" height="60" alt="JavaScript: The Good Parts"/></a></li> <li><a href="http://www.amazon.com/gp/product/0321564081/ref=as_li_ss_il?ie=UTF8&tag=html061-20&linkCode=as2&camp=217145&creative=399369&creativeASIN=0321564081" title="JavaScript and Ajax for the Web: Visual QuickStart Guide" target="_blank"><img src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&Format=_SL160_&ASIN=0321564081&MarketPlace=US&ID=AsinImage&WS=1&tag=html061-20&ServiceVersion=20070822" width="60" height="60" alt="JavaScript and Ajax for the Web: Visual QuickStart Guide"/></a></li> </ul> </div> <ul class="amazon_scroller_nav"> <li></li> <li></li> </ul> <div style="clear: both"></div> </div> But nothing is happening... i am not understanding why. i am giving the original slider script which i download from htmldrive slider.zip
March 26, 201214 yr IE9 says SCRIPT5009: 'jQuery' is undefined amazon_scroller.js, line 10 character 2 HTML1115: X-UA-Compatible META tag ('IE=edge;chrome=1') ignored because document mode is already finalized. www.tmsbd.com SCRIPT438: Object doesn't support property or method 'amazon_scroller' www.tmsbd.com, line 69 character 17
March 26, 201214 yr I suspect a few things, one you have the call to the script before your call to jquery AND you appear to be loading more than one version of jquery.
March 26, 201214 yr Author here is my full header.php code <!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"> <head> <title><?php bloginfo('name'); ?><?php wp_title(); ?></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please --> <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/reset.css" type="text/css" media="screen" /> <script type="text/javascript" src="http://www.tmsbd.com/wp-content/themes/paragrams/jss/amazon_scroller.js"></script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="stylesheet" type="text/css" media="all" href="http://www.tmsbd.com/wp-content/themes/paragrams/csss/amazon_scroller.css" /> <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge;chrome=1"><![endif]--> <!--[if IE 6]> <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/ie6.css" type="text/css" media="screen" /> <![endif]--> <!--[if IE 7]> <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/ie7.css" type="text/css" media="screen" /> <![endif]--> <!--[if IE 8]> <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/ie8.css" type="text/css" media="screen" /> <![endif]--> <link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/favicon.ico" type="image/x-icon" /> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/menu.css" type="text/css" media="screen" /> <?php wp_enqueue_script('jquery'); ?> <?php wp_head(); ?> <script src="<?php bloginfo('template_url'); ?>/js/columnizer.js" type="text/javascript"></script> <script src="<?php bloginfo('template_url'); ?>/js/columnize.js" type="text/javascript"></script> <script type='text/javascript' src='<?php bloginfo('template_url'); ?>/js/menu.js'></script> </head> <body <?php body_class(); ?>> <div id="outer"> <div id="header"> <div id="logo"> <?php ob_start(); ob_implicit_flush(0); echo get_option('paragrams_custom_logo'); $my_logo = ob_get_contents(); ob_end_clean(); if ( $my_logo == '' ): ?> <a href="<?php bloginfo("url"); ?>/"> <img src="<?php bloginfo('template_url'); ?>/images/logo.png" alt="<?php bloginfo('name'); ?>" /></a> <?php else: ?> <a href="<?php bloginfo("url"); ?>/"><img src="<?php echo get_option('paragrams_custom_logo'); ?>" alt="<?php bloginfo('name'); ?>" /></a> <?php endif ?> </div> <div id="serv"> <div id="search"><?php get_search_form(); ?></div> <div id="navicons"> <ul> <li><a id="subscribe" href="<?php bloginfo('rss2_url'); ?>" title="">Subscribe</a></li> <li><a id="twitter" href="<?php echo get_option('paragrams_twturl'); ?>" title="">Twitter</a></li> <li><a id="facebook" href="<?php echo get_option('paragrams_fbkurl'); ?>" title="">Facebook</a></li> </ul> </div> <div id="menu"> <?php if ( function_exists( 'wp_nav_menu' ) ) wp_nav_menu( array( 'theme_location' => 'custom-menu','fallback_cb'=> 'custom_menu','container' => 'ul','menu_id' => 'top-menu', ) ); else custom_menu(); ?> </div> </div> </div> <div><script language="javascript" type="text/javascript"> $(function() { $("#amazon_scroller1").amazon_scroller({ scroller_title_show: 'enable', scroller_time_interval: '4000', scroller_window_background_color: "#fff", scroller_window_padding: '10', scroller_border_size: '1', scroller_border_color: '#000', scroller_images_width: '124', scroller_images_height: '160', scroller_title_size: '12', scroller_title_color: 'black', scroller_show_count: '4', directory: 'images' }); $("#amazon_scroller2").amazon_scroller({ scroller_title_show: 'disable', scroller_time_interval: '3000', scroller_window_background_color: "none", scroller_window_padding: '10', scroller_border_size: '0', scroller_border_color: '#CCC', scroller_images_width: '100', scroller_images_height: '80', scroller_title_size: '12', scroller_title_color: 'black', scroller_show_count: '2', directory: 'images' }); $("#amazon_scroller3").amazon_scroller({ scroller_title_show: 'enable', scroller_time_interval: '3000', scroller_window_background_color: "none", scroller_window_padding: '10', scroller_border_size: '2', scroller_border_color: '#9C6', scroller_images_width: '124', scroller_images_height: '160', scroller_title_size: '11', scroller_title_color: 'black', scroller_show_count: '3', directory: 'images' }); }); </script> <div id="amazon_scroller1" class="amazon_scroller"> <div class="amazon_scroller_mask"> <ul> <li><a href="http://www.amazon.com/gp/product/1935182323/ref=as_li_tf_il?ie=UTF8&tag=html061-20&linkCode=as2&camp=217145&creative=399369&creativeASIN=1935182323" title="jQuery in Action, Second Edition" target="_blank"><img src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&Format=_SL160_&ASIN=1935182323&MarketPlace=US&ID=AsinImage&WS=1&tag=html061-20&ServiceVersion=20070822" width="124" height="160" alt="jQuery in Action, Second Edition"/></a></li> <li><a href="http://www.amazon.com/gp/product/0596159773/ref=as_li_ss_il?ie=UTF8&tag=html061-20&linkCode=as2&camp=217145&creative=399369&creativeASIN=0596159773" title="jQuery Cookbook: Solutions & Examples for jQuery Developers (Animal Guide)" target="_blank"><img src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&Format=_SL160_&ASIN=0596159773&MarketPlace=US&ID=AsinImage&WS=1&tag=html061-20&ServiceVersion=20070822" width="124" height="160" alt="jQuery Cookbook: Solutions & Examples for jQuery Developers (Animal Guide) [Paperback]"/></a></li> <li><a href="http://www.amazon.com/gp/product/0980576857/ref=as_li_ss_il?ie=UTF8&tag=html061-20&linkCode=as2&camp=217145&creative=399369&creativeASIN=0980576857" title="jQuery: Novice to Ninja" target="_blank"><img src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&Format=_SL160_&ASIN=0980576857&MarketPlace=US&ID=AsinImage&WS=1&tag=html061-20&ServiceVersion=20070822" width="124" height="160" alt="jQuery: Novice to Ninja"/></a></li> <li><a href="http://www.amazon.com/gp/product/0321430840/ref=as_li_ss_il?ie=UTF8&tag=html061-20&linkCode=as2&camp=217145&creative=399369&creativeASIN=0321430840" title="HTML, XHTML, and CSS, Sixth Edition" target="_blank"><img src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&Format=_SL160_&ASIN=0321430840&MarketPlace=US&ID=AsinImage&WS=1&tag=html061-20&ServiceVersion=20070822" width="124" height="160" alt="HTML, XHTML, and CSS, Sixth Edition"/></a></li> <li><a href="http://www.amazon.com/gp/product/0321344758/ref=as_li_ss_il?ie=UTF8&tag=html061-20&linkCode=as2&camp=217145&creative=399369&creativeASIN=0321344758" title="Don't Make Me Think: A Common Sense Approach to Web Usability, 2nd Edition" target="_blank"><img src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&Format=_SL160_&ASIN=0321344758&MarketPlace=US&ID=AsinImage&WS=1&tag=html061-20&ServiceVersion=20070822" width="124" height="160" alt="Don't Make Me Think: A Common Sense Approach to Web Usability, 2nd Edition"/></a></li> <li><a href="http://www.amazon.com/gp/product/059610197X/ref=as_li_ss_il?ie=UTF8&tag=html061-20&linkCode=as2&camp=217145&creative=399369&creativeASIN=059610197X" title="Head First HTML with CSS & XHTML" target="_blank"><img src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&Format=_SL160_&ASIN=059610197X&MarketPlace=US&ID=AsinImage&WS=1&tag=html061-20&ServiceVersion=20070822" width="60" height="60" alt="Head First HTML with CSS & XHTML"/></a></li> <li><a href="http://www.amazon.com/gp/product/0596517742/ref=as_li_ss_il?ie=UTF8&tag=html061-20&linkCode=as2&camp=217145&creative=399369&creativeASIN=0596517742" title="JavaScript: The Good Parts" target="_blank"><img src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&Format=_SL160_&ASIN=0596517742&MarketPlace=US&ID=AsinImage&WS=1&tag=html061-20&ServiceVersion=20070822" width="60" height="60" alt="JavaScript: The Good Parts"/></a></li> <li><a href="http://www.amazon.com/gp/product/0321564081/ref=as_li_ss_il?ie=UTF8&tag=html061-20&linkCode=as2&camp=217145&creative=399369&creativeASIN=0321564081" title="JavaScript and Ajax for the Web: Visual QuickStart Guide" target="_blank"><img src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&Format=_SL160_&ASIN=0321564081&MarketPlace=US&ID=AsinImage&WS=1&tag=html061-20&ServiceVersion=20070822" width="60" height="60" alt="JavaScript and Ajax for the Web: Visual QuickStart Guide"/></a></li> </ul> </div> <ul class="amazon_scroller_nav"> <li></li> <li></li> </ul> <div style="clear: both"></div> </div></div>
March 26, 201214 yr Author yes <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> and <script type='text/javascript' src='http://www.tmsbd.com/wp-includes/js/jquery/jquery.js?ver=1.4.4'></script>
March 26, 201214 yr Your calling two seperate versions of the same plugin? Remove the earlier version. Edited March 26, 201214 yr by Dissident
Create an account or sign in to comment