Zen Cart Logo
Forums / All Other Contributions/Addons / ZX Slideshow support thread

ZX Slideshow support thread

Views: 294,414

Results 181 to 200 of 767
28 Sep 2012, 16:11
#181
godfatherantiques avatar

godfatherantiques

Zen Follower

Join Date:
Nov 2010
Posts:
101
Plugin Contributions:
0

ZX Slideshow support thread

Hello fellow zen cart users...I'm getting a error message TypeError: o is not a function on line 12 in the jquery.nivo.slider.pack file. When I tested this add on my local host it worked perfectly, but when I placed it on my live server it doesn't want to work. Currently I'm using site version v1.5.0p1 and my site is http://qualityautowi.com. Also I made sure all files uploaded properly and installed sql script. Any help would be greatly appreciated.

28 Sep 2012, 16:15
#182
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: ZX Slideshow support thread

GodfatherAntiques:

Hello fellow zen cart users...I'm getting a error message TypeError: o is not a function on line 12 in the jquery.nivo.slider.pack file. When I tested this add on my local host it worked perfectly, but when I placed it on my live server it doesn't want to work. Currently I'm using site version v1.5.0p1 and my site is http://qualityautowi.com. Also I made sure all files uploaded properly and installed sql script. Any help would be greatly appreciated.
You MUST remove all instances of EasySlider and it's javascript because it's conflicting with Nivo.

28 Sep 2012, 16:27
#183
godfatherantiques avatar

godfatherantiques

Zen Follower

Join Date:
Nov 2010
Posts:
101
Plugin Contributions:
0

Re: ZX Slideshow support thread

I did remove all the files, but the uninstall file failed in the admin sql section...this is what it says in that file DROP TABLE slideshow so how can I remove that table.

28 Sep 2012, 16:33
#184
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: ZX Slideshow support thread

GodfatherAntiques:

I did remove all the files, but the uninstall file failed in the admin sql section...this is what it says in that file DROP TABLE slideshow so how can I remove that table.

I'm not sure what you did, but I'm pretty sure you did NOT need to run any SQL patches or anything alike. You were supposed to remove the files (or code) that are used by EasySlider (I'm guessing it's located in includes/templates/all_business/common/html_header.php)
I can see the code is still there so you didn't remove it...

BTW, don't confuse EasySlider with ZX Slideshow... :wink2:

28 Sep 2012, 16:42
#185
godfatherantiques avatar

godfatherantiques

Zen Follower

Join Date:
Nov 2010
Posts:
101
Plugin Contributions:
0

Re: ZX Slideshow support thread

Here is the html_header file code

<?php
/**
 * Common Template
 *
 * outputs the html header. i,e, everything that comes before the \</head\> tag <br />
 *
 * @package templateSystem
 * @copyright Copyright 2003-2010 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: html_header.php 15761 2010-03-31 19:31:27Z drbyte $
 */
/**
 * load the module for generating page meta-tags
 */
require(DIR_WS_MODULES . zen_get_module_directory('meta_tags.php'));
/**
 * output main page HEAD tag and related headers/meta-tags, etc
 */
?>
<!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 echo HTML_PARAMS; ?>>
<head>
<title><?php echo META_TAG_TITLE; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" />
<meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" />
<meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="author" content="The Zen Cart™ Team and others" />
<meta name="generator" content="shopping cart program by Zen Cart™, http://www.zen-cart.com eCommerce" />
<?php if (defined('ROBOTS_PAGES_TO_SKIP') && in_array($current_page_base,explode(",",constant('ROBOTS_PAGES_TO_SKIP'))) || $current_page_base=='down_for_maintenance' || $robotsNoIndex === true) { ?>
<meta name="robots" content="noindex, nofollow" />
<?php } ?>
<?php if (defined('FAVICON')) { ?>
<link rel="icon" href="<?php echo FAVICON; ?>" type="image/x-icon" />
<link rel="shortcut icon" href="<?php echo FAVICON; ?>" type="image/x-icon" />
<?php } //endif FAVICON ?>

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" />
<?php if (isset($canonicalLink) && $canonicalLink != '') { ?>
<link rel="canonical" href="<?php echo $canonicalLink; ?>" />
<?php } ?>

<?php
/**
 * load all template-specific stylesheets, named like "style*.css", alphabetically
 */
  $directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^style/', '.css');
  while(list ($key, $value) = each($directory_array)) {
    echo '<link rel="stylesheet" type="text/css" href="' . $template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '" />'."\n";
  }
/**
 * load stylesheets on a per-page/per-language/per-product/per-manufacturer/per-category basis. Concept by Juxi Zoza.
 */
  $manufacturers_id = (isset($_GET['manufacturers_id'])) ? $_GET['manufacturers_id'] : '';
  $tmp_products_id = (isset($_GET['products_id'])) ? (int)$_GET['products_id'] : '';
  $tmp_pagename = ($this_is_home_page) ? 'index_home' : $current_page_base;
  if ($current_page_base == 'page' && isset($ezpage_id)) $tmp_pagename = $current_page_base . (int)$ezpage_id;
  $sheets_array = array('/' . $_SESSION['language'] . '_stylesheet',
                        '/' . $tmp_pagename,
                        '/' . $_SESSION['language'] . '_' . $tmp_pagename,
                        '/c_' . $cPath,
                        '/' . $_SESSION['language'] . '_c_' . $cPath,
                        '/m_' . $manufacturers_id,
                        '/' . $_SESSION['language'] . '_m_' . (int)$manufacturers_id,
                        '/p_' . $tmp_products_id,
                        '/' . $_SESSION['language'] . '_p_' . $tmp_products_id
                        );
  while(list ($key, $value) = each($sheets_array)) {
    //echo "<!--looking for: $value-->\n";
    $perpagefile = $template->get_template_dir('.css', DIR_WS_TEMPLATE, $current_page_base, 'css') . $value . '.css';
    if (file_exists($perpagefile)) echo '<link rel="stylesheet" type="text/css" href="' . $perpagefile .'" />'."\n";
  }

/**
 * load printer-friendly stylesheets -- named like "print*.css", alphabetically
 */
  $directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^print/', '.css');
  sort($directory_array);
  while(list ($key, $value) = each($directory_array)) {
    echo '<link rel="stylesheet" type="text/css" media="print" href="' . $template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '" />'."\n";
  }

/**
 * load all site-wide jscript_*.js files from includes/templates/YOURTEMPLATE/jscript, alphabetically
 */
  $directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript'), '/^jscript_/', '.js');
  while(list ($key, $value) = each($directory_array)) {
    echo '<script type="text/javascript" src="' .  $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value . '"></script>'."\n";
  }

/**
 * load all page-specific jscript_*.js files from includes/modules/pages/PAGENAME, alphabetically
 */
  $directory_array = $template->get_template_part($page_directory, '/^jscript_/', '.js');
  while(list ($key, $value) = each($directory_array)) {
    echo '<script type="text/javascript" src="' . $page_directory . '/' . $value . '"></script>' . "\n";
  }

/**
 * load all site-wide jscript_*.php files from includes/templates/YOURTEMPLATE/jscript, alphabetically
 */
  $directory_array = $template->get_template_part($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'jscript'), '/^jscript_/', '.php');
  while(list ($key, $value) = each($directory_array)) {
/**
 * include content from all site-wide jscript_*.php files from includes/templates/YOURTEMPLATE/jscript, alphabetically.
 * These .PHP files can be manipulated by PHP when they're called, and are copied in-full to the browser page
 */
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value); echo "\n";
  }
/**
 * include content from all page-specific jscript_*.php files from includes/modules/pages/PAGENAME, alphabetically.
 */
  $directory_array = $template->get_template_part($page_directory, '/^jscript_/');
  while(list ($key, $value) = each($directory_array)) {
/**
 * include content from all page-specific jscript_*.php files from includes/modules/pages/PAGENAME, alphabetically.
 * These .PHP files can be manipulated by PHP when they're called, and are copied in-full to the browser page
 */
    require($page_directory . '/' . $value); echo "\n";
  }

// DEBUG: echo '<!-- I SEE cat: ' . $current_category_id . ' || vs cpath: ' . $cPath . ' || page: ' . $current_page . ' || template: ' . $current_template . ' || main = ' . ($this_is_home_page ? 'YES' : 'NO') . ' -->';


?>
<!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="includes/templates/all_business/css/ie6.css" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="includes/templates/all_business/css/ie7.css" /><![endif]-->
</head>
<?php // NOTE: Blank line following is intended: ?>

I don't have easyslider installed I had frontpage slideshow installed before ZX Slideshow. I never added any code to the html_header. So I don't know what code to remove in this file as this is the default zen cart file.

28 Sep 2012, 16:54
#186
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: ZX Slideshow support thread

Yeah, the frontpage slideshow you're mentioning IS actually EasySlider... :smile:

This is the code you need to locate and remove:

<script type="text/javascript">
<!--
/*
 * 	Easy Slider 1.7 - jQuery plugin
 *	written by Alen Grakalic	
 *	http://cssglobe.com/post/4004/easy-slider-15-the-easiest-jquery-plugin-for-sliding
 *
 *	Copyright (c) 2009 Alen Grakalic (http://cssglobe.com)
 *	Dual licensed under the MIT (MIT-LICENSE.txt)
 *	and GPL (GPL-LICENSE.txt) licenses.
 *
 *	Built for jQuery library
 *	http://jquery.com
 *
 */
 
/*
 *	markup example for $("#slider").easySlider();
 *	
 * 	<div id="slider">
 *		<ul>
 *			<li><img src="images/01.jpg" alt="" /></li>
 *			<li><img src="images/02.jpg" alt="" /></li>
 *			<li><img src="images/03.jpg" alt="" /></li>
 *			<li><img src="images/04.jpg" alt="" /></li>
 *			<li><img src="images/05.jpg" alt="" /></li>
 *		</ul>
 *	</div>
 *
 */


(function($) {

	$.fn.easySlider = function(options){
	  
		// default configuration properties
		var defaults = {			
			prevId: 		'prevBtn',
			prevText: 		'Previous',
			nextId: 		'nextBtn',	
			nextText: 		'Next',
			controlsShow:	true,
			controlsBefore:	'',
			controlsAfter:	'',	
			controlsFade:	true,
			firstId: 		'firstBtn',
			firstText: 		'First',
			firstShow:		false,
			lastId: 		'lastBtn',	
			lastText: 		'Last',
			lastShow:		false,				
			vertical:		false,
			speed: 			2000,
			auto:			false,
			pause:			3000,
			continuous:		false, 
			numeric: 		false,
			numericId: 		'controls'
		}; 
		
		var options = $.extend(defaults, options);  
				
		this.each(function() {  
			var obj = $(this); 				
			var s = $("li", obj).length;
			var w = $("li", obj).width(); 
			var h = $("li", obj).height(); 
			var clickable = true;
			obj.width(w); 
			obj.height(h); 
			obj.css("overflow","hidden");
			var ts = s-1;
			var t = 0;
			$("ul", obj).css('width',s*w);			
			
			if(options.continuous){
				$("ul", obj).prepend($("ul li:last-child", obj).clone().css("margin-left","-"+ w +"px"));
				$("ul", obj).append($("ul li:nth-child(2)", obj).clone());
				$("ul", obj).css('width',(s+1)*w);
			};				
			
			if(!options.vertical) $("li", obj).css('float','left');
								
			if(options.controlsShow){
				var html = options.controlsBefore;				
				if(options.numeric){
					html += '<div id="control_div"><ol id="'+ options.numericId +'"></div></ol>';
				} else {
					if(options.firstShow) html += '<span id="'+ options.firstId +'"><a href=\"javascript:void(0);\">'+ options.firstText +'</a></span>';
					html += ' <span id="'+ options.prevId +'"><a href=\"javascript:void(0);\">'+ options.prevText +'</a></span>';
					html += ' <span id="'+ options.nextId +'"><a href=\"javascript:void(0);\">'+ options.nextText +'</a></span>';
					if(options.lastShow) html += ' <span id="'+ options.lastId +'"><a href=\"javascript:void(0);\">'+ options.lastText +'</a></span>';				
				};
				
				html += options.controlsAfter;						
				$(obj).after(html);										
			};
			
			if(options.numeric){									
				for(var i=0;i<s;i++){						
					$(document.createElement("li"))
						.attr('id',options.numericId + (i+1))
						.html('<a rel='+ i +' href=\"javascript:void(0);\">'+ (i+1) +'</a>')
						.appendTo($("#"+ options.numericId))
						.click(function(){							
							animate($("a",$(this)).attr('rel'),true);
						}); 												
				};							
			} else {
				$("a","#"+options.nextId).click(function(){		
					animate("next",true);
				});
				$("a","#"+options.prevId).click(function(){		
					animate("prev",true);				
				});	
				$("a","#"+options.firstId).click(function(){		
					animate("first",true);
				});				
				$("a","#"+options.lastId).click(function(){		
					animate("last",true);				
				});				
			};
			
			function setCurrent(i){
				i = parseInt(i)+1;
				$("li", "#" + options.numericId).removeClass("current");
				$("li#" + options.numericId + i).addClass("current");
			};
			
			function adjust(){
				if(t>ts) t=0;		
				if(t<0) t=ts;	
				if(!options.vertical) {
					$("ul",obj).css("margin-left",(t*w*-1));
				} else {
					$("ul",obj).css("margin-left",(t*h*-1));
				}
				clickable = true;
				if(options.numeric) setCurrent(t);
			};
			
			function animate(dir,clicked){
				if (clickable){
					clickable = false;
					var ot = t;				
					switch(dir){
						case "next":
							t = (ot>=ts) ? (options.continuous ? t+1 : ts) : t+1;						
							break; 
						case "prev":
							t = (t<=0) ? (options.continuous ? t-1 : 0) : t-1;
							break; 
						case "first":
							t = 0;
							break; 
						case "last":
							t = ts;
							break; 
						default:
							t = dir;
							break; 
					};	
					var diff = Math.abs(ot-t);
					var speed = diff*options.speed;						
					if(!options.vertical) {
						p = (t*w*-1);
						$("ul",obj).animate(
							{ marginLeft: p }, 
							{ queue:false, duration:speed, complete:adjust }
						);				
					} else {
						p = (t*h*-1);
						$("ul",obj).animate(
							{ marginTop: p }, 
							{ queue:false, duration:speed, complete:adjust }
						);					
					};
					
					if(!options.continuous && options.controlsFade){					
						if(t==ts){
							$("a","#"+options.nextId).hide();
							$("a","#"+options.lastId).hide();
						} else {
							$("a","#"+options.nextId).show();
							$("a","#"+options.lastId).show();					
						};
						if(t==0){
							$("a","#"+options.prevId).hide();
							$("a","#"+options.firstId).hide();
						} else {
							$("a","#"+options.prevId).show();
							$("a","#"+options.firstId).show();
						};					
					};				
					
					if(clicked) clearTimeout(timeout);
					if(options.auto && dir=="next" && !clicked){;
						timeout = setTimeout(function(){
							animate("next",false);
						},diff*options.speed+options.pause);
					};
			
				};
				
			};
			// init
			var timeout;
			if(options.auto){;
				timeout = setTimeout(function(){
					animate("next",false);
				},options.pause);
			};		
			
			if(options.numeric) setCurrent(0);
		
			if(!options.continuous && options.controlsFade){					
				$("a","#"+options.prevId).hide();
				$("a","#"+options.firstId).hide();				
			};				
			
		});
	  
	};

})(jQuery);

-->

</script>
28 Sep 2012, 17:09
#187
godfatherantiques avatar

godfatherantiques

Zen Follower

Join Date:
Nov 2010
Posts:
101
Plugin Contributions:
0

Re: ZX Slideshow support thread

ok I did remove this code in the define_main_page.php when I removed all the files so the code is not showing in the define page section in admin or in the file define_main_page.php. I think that is where the code is located.

28 Sep 2012, 17:12
#188
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: ZX Slideshow support thread

I'm pretty sure it's located somewhere else (it's still loading). Keep searching. Use Developers Toolkit, it will probably show you where it is.

28 Sep 2012, 17:28
#189
godfatherantiques avatar

godfatherantiques

Zen Follower

Join Date:
Nov 2010
Posts:
101
Plugin Contributions:
0

Re: ZX Slideshow support thread

ok I triple checked my server to see if all files are removed and I don't have any of the following files except the define_main_page.php which is blank. So I'm not sure where else there could be any file or code in the site.

Admin files included in the frontpage slideshow
admin/includes/extra_datafiles/slideshow.php
admin/includes/functions/extra_functions/slideshow.php
admin/slideshow.php

Site files included in the frontpage slideshow
includes/extra_datafiles/slideshow.php
includes/languages/english/html_includes/all_business/define_main_page.php
includes/templates/all_business/css/stylesheet_slider
includes/templates/all_business/images/slideshow
includes/templates/all_business/jscript/jscript_1.7.1_jquery
includes/templates/all_business/jscript/jscript_easySlider

28 Sep 2012, 17:30
#190
godfatherantiques avatar

godfatherantiques

Zen Follower

Join Date:
Nov 2010
Posts:
101
Plugin Contributions:
0

Re: ZX Slideshow support thread

Also I really appreciated your help...we will get this problem solved i'm sure its a easy fix. I will keep searching.

28 Sep 2012, 17:32
#191
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: ZX Slideshow support thread

GodfatherAntiques:

includes/templates/all_business/jscript/jscript_easySlider

Are you 100% sure you removed this file? It would be best to remove all files related to EasySlider, but this one is a must.

28 Sep 2012, 17:34
#192
godfatherantiques avatar

godfatherantiques

Zen Follower

Join Date:
Nov 2010
Posts:
101
Plugin Contributions:
0

Re: ZX Slideshow support thread

I do see the code in the header but I'm not finding the code.

<!--
/*
* Easy Slider 1.7 - jQuery plugin
* written by Alen Grakalic
* http://cssglobe.com/post/4004/easy-slider-15-the-easiest-jquery-plugin-for-sliding
*
* Copyright (c) 2009 Alen Grakalic (http://cssglobe.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* Built for jQuery library
* http://jquery.com
*
*/
/*
* markup example for $("#slider").easySlider();
*
* <div id="slider">
* <ul>
* <li><img src="images/01.jpg" alt="" /></li>
* <li><img src="images/02.jpg" alt="" /></li>
* <li><img src="images/03.jpg" alt="" /></li>
* <li><img src="images/04.jpg" alt="" /></li>
* <li><img src="images/05.jpg" alt="" /></li>
* </ul>
* </div>
*
*/
(function($) {
$.fn.easySlider = function(options){
// default configuration properties
var defaults = {
prevId: 'prevBtn',
prevText: 'Previous',
nextId: 'nextBtn',
nextText: 'Next',
controlsShow: true,
controlsBefore: '',
controlsAfter: '',
controlsFade: true,
firstId: 'firstBtn',
firstText: 'First',
firstShow: false,
lastId: 'lastBtn',
lastText: 'Last',
lastShow: false,
vertical: false,
speed: 2000,
auto: false,
pause: 3000,
continuous: false,
numeric: false,
numericId: 'controls'
};
var options = $.extend(defaults, options);
this.each(function() {
var obj = $(this);
var s = $("li", obj).length;
var w = $("li", obj).width();
var h = $("li", obj).height();
var clickable = true;
obj.width(w);
obj.height(h);
obj.css("overflow","hidden");
var ts = s-1;
var t = 0;
$("ul", obj).css('width',s*w);
if(options.continuous){
$("ul", obj).prepend($("ul li:last-child", obj).clone().css("margin-left","-"+ w +"px"));
$("ul", obj).append($("ul li:nth-child(2)", obj).clone());
$("ul", obj).css('width',(s+1)*w);
};
if(!options.vertical) $("li", obj).css('float','left');
if(options.controlsShow){
var html = options.controlsBefore;
if(options.numeric){
html += '<div id="control_div"><ol id="'+ options.numericId +'"></div></ol>';
} else {
if(options.firstShow) html += '<span id="'+ options.firstId +'"><a href=\"javascript:void(0);\">'+ options.firstText +'</a></span>';
html += ' <span id="'+ options.prevId +'"><a href=\"javascript:void(0);\">'+ options.prevText +'</a></span>';
html += ' <span id="'+ options.nextId +'"><a href=\"javascript:void(0);\">'+ options.nextText +'</a></span>';
if(options.lastShow) html += ' <span id="'+ options.lastId +'"><a href=\"javascript:void(0);\">'+ options.lastText +'</a></span>';
};
html += options.controlsAfter;
$(obj).after(html);
};
if(options.numeric){
for(var i=0;i<s;i++){
$(document.createElement("li"))
.attr('id',options.numericId + (i+1))
.html('<a rel='+ i +' href=\"javascript:void(0);\">'+ (i+1) +'</a>')
.appendTo($("#"+ options.numericId))
.click(function(){
animate($("a",$(this)).attr('rel'),true);
});
};
} else {
$("a","#"+options.nextId).click(function(){
animate("next",true);
});
$("a","#"+options.prevId).click(function(){
animate("prev",true);
});
$("a","#"+options.firstId).click(function(){
animate("first",true);
});
$("a","#"+options.lastId).click(function(){
animate("last",true);
});
};
function setCurrent(i){
i = parseInt(i)+1;
$("li", "#" + options.numericId).removeClass("current");
$("li#" + options.numericId + i).addClass("current");
};
function adjust(){
if(t>ts) t=0;
if(t<0) t=ts;
if(!options.vertical) {
$("ul",obj).css("margin-left",(t*w*-1));
} else {
$("ul",obj).css("margin-left",(t*h*-1));
}
clickable = true;
if(options.numeric) setCurrent(t);
};
function animate(dir,clicked){
if (clickable){
clickable = false;
var ot = t;
switch(dir){
case "next":
t = (ot>=ts) ? (options.continuous ? t+1 : ts) : t+1;
break;
case "prev":
t = (t<=0) ? (options.continuous ? t-1 : 0) : t-1;
break;
case "first":
t = 0;
break;
case "last":
t = ts;
break;
default:
t = dir;
break;
};
var diff = Math.abs(ot-t);
var speed = diff*options.speed;
if(!options.vertical) {
p = (t*w*-1);
$("ul",obj).animate(
{ marginLeft: p },
{ queue:false, duration:speed, complete:adjust }
);
} else {
p = (t*h*-1);
$("ul",obj).animate(
{ marginTop: p },
{ queue:false, duration:speed, complete:adjust }
);
};
if(!options.continuous && options.controlsFade){
if(t==ts){
$("a","#"+options.nextId).hide();
$("a","#"+options.lastId).hide();
} else {
$("a","#"+options.nextId).show();
$("a","#"+options.lastId).show();
};
if(t==0){
$("a","#"+options.prevId).hide();
$("a","#"+options.firstId).hide();
} else {
$("a","#"+options.prevId).show();
$("a","#"+options.firstId).show();
};
};
if(clicked) clearTimeout(timeout);
if(options.auto && dir=="next" && !clicked){;
timeout = setTimeout(function(){
animate("next",false);
},diff*options.speed+options.pause);
};
};
};
// init
var timeout;
if(options.auto){;
timeout = setTimeout(function(){
animate("next",false);
},options.pause);
};
if(options.numeric) setCurrent(0);
if(!options.continuous && options.controlsFade){
$("a","#"+options.prevId).hide();
$("a","#"+options.firstId).hide();
};
});
};
})(jQuery);
--> 
28 Sep 2012, 17:38
#193
godfatherantiques avatar

godfatherantiques

Zen Follower

Join Date:
Nov 2010
Posts:
101
Plugin Contributions:
0

Re: ZX Slideshow support thread

These are all the files in that folder

includes/templates/all_business/jscript/jquery-1.4.4.min.js
includes/templates/all_business/jscript/jquery.nivo.slider.pack.js
includes/templates/all_business/jscript/jscript_google_analytics.php
includes/templates/all_business/jscript/jscript_imagehover.js
includes/templates/all_business/jscript/jscript_imagehover.jsIH_1336341930.bak
includes/templates/all_business/jscript/jscript_imagehover.jsIH_1336507174.bak
includes/templates/all_business/jscript/jscript_imagehover.jsIH_1338431753.bak
includes/templates/all_business/jscript/jscript_jquery-1.7.1.min.js
includes/templates/all_business/jscript/jscript_jquery.js

28 Sep 2012, 17:55
#194
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: ZX Slideshow support thread

I should've done this in the beginning... I just downloaded the template...

includes/modules/pages/index/jscript_easySlider.php

Remove that file and you should be fine...

28 Sep 2012, 18:02
#195
godfatherantiques avatar

godfatherantiques

Zen Follower

Join Date:
Nov 2010
Posts:
101
Plugin Contributions:
0

Re: ZX Slideshow support thread

ok I removed that file, but still not working. I'm downloading the add on again to make sure I deleted all files...I don't know why the file was missing in add on.

28 Sep 2012, 18:07
#196
godfatherantiques avatar

godfatherantiques

Zen Follower

Join Date:
Nov 2010
Posts:
101
Plugin Contributions:
0

Re: ZX Slideshow support thread

When I removed that file on my server it is showing in firebug that the script has been removed.

28 Sep 2012, 18:12
#197
godfatherantiques avatar

godfatherantiques

Zen Follower

Join Date:
Nov 2010
Posts:
101
Plugin Contributions:
0

Re: ZX Slideshow support thread

OK I got it working I looked at the template files again and seen the jscript_jquery.js file so I removed it and now everything is working. I really appreciate your help....This is a excellent add on. Have a good day

28 Sep 2012, 18:40
#198
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,768
Plugin Contributions:
20

Re: ZX Slideshow support thread

Finally... :smile: Glad to hear everything's OK now.

Have fun!

01 Oct 2012, 07:24
#199
ljdream00 avatar

ljdream00

Zen Follower

Join Date:
Jun 2007
Location:
Michigan
Posts:
168
Plugin Contributions:
0

Re: ZX Slideshow support thread

Hello,
Love this Slideshow very much!!!

I do have one issue though.
Trying to figure out why the slide show doesn't show the complete banner in Chrome.
It shows correctly in Firefox & Internet Explorer.
Attached are pics of what I'm seeing.:blink:

You can check out the site at djellery216.com if you need to see it live.

Thank you in advance for your help.

01 Oct 2012, 07:40
#200
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: ZX Slideshow support thread

I think your problem lies here

<div class="slider-wrapper theme-default"> <div id="slider" class="nivoSlider" style="width:414px !important; height:165px !important;"> <img src="[images/ElBan2.1.png](http://www.zen-cart.com/view-source:http://djellery216.com/216/images/ElBan2.1.png)" alt="DJELLERY GRAND OPENING" title=" DJELLERY GRAND OPENING " width="830" height="277" />

First you tell the slider to be 165px high, which Chrome obeys.
Then you have your pictures with a height of 277, which Firefox uses

So changing the 165xp should solve the problem