schel4ok Posted February 13, 2012 Share Posted February 13, 2012 I have problems with thickbox on product page. Problem description: When click on product image screen become darker, but popup is not appeared. The only small square appears in the left top corner of the screen. I tried to switch off all CCC options, but problem exists anyway. Problem exist with Thickbox and with jQZoom Product page direct link for example http://www.klimat-pr...-fsv1-09hr.html After some time I realized that it is lavalamp menu block, that creates an issue. When I disable lavalamp menu, thickbox issue disappears. Can anybody help me to make both blocks to work together? Link to comment Share on other sites More sharing options...
CartExpert.net Posted February 13, 2012 Share Posted February 13, 2012 Hello, You have a Javascript error, you need to fix that. Error: c.easing[this.options.specialEasing && this.options.specialEasing[this.prop] || b] is not a function Source File: http://www.klimat-prestige.ru/themes/klimat-prestige/cache/1e3e8469c50df6641e1d6d2c1bfaeccb.js Line: 64 Link to comment Share on other sites More sharing options...
schel4ok Posted March 7, 2012 Author Share Posted March 7, 2012 Can you help me to fix this problem? I suppose that I need to fix not cached js file, but the other one. I found "specialEasing" in \www\js\jquery\jquery-1.4.4.min.js But I'm not good in java and don't know what to do. Line 149: "inline")this.style.display="inline-block";else{this.style.display="inline";this.style.zoom=1}else this.style.display="inline-block"}if(c.isArray(a[l])){(h.specialEasing=h.specialEasing||{})[l]=a[l][1];a[l]=a[l][0][spam-filter]if(h.overflow!=null)this.style.overflow="hidden";h.curAnim=c.extend({},a);c.each(a,function(A,C){var J=new c.fx(x,h,A);if(vb.test©)J[C==="toggle"?o?"show":"hide":C](a);else{var w=wb.exec©,I=J.cur()||0;if(w){var L=parseFloat(w[2]),g=w[3]||"px";if(g!=="px"){c.style(x,A,(L||1)+g);I=(L|| Line 155: this.options.show)for(var l in this.options.curAnim)c.style(this.elem,l,this.options.orig[l]);this.options.complete.call(this.elem)}return false}else{a=b-this.startTime;this.state=a/this.options.duration;b=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true[spam-filter];c.extend(c.fx,{tick:function(){for(var a= Link to comment Share on other sites More sharing options...
CartExpert.net Posted March 9, 2012 Share Posted March 9, 2012 Yes, you will need to fix. But fixing a minimized code is very hard. You should try to use the full code. Link to comment Share on other sites More sharing options...
schel4ok Posted March 10, 2012 Author Share Posted March 10, 2012 can you help me? I don't know how to fix js to make it works. Link to comment Share on other sites More sharing options...
CartExpert.net Posted March 12, 2012 Share Posted March 12, 2012 You should look for the full code of the JS file and use that instead of the minimized. Link to comment Share on other sites More sharing options...
schel4ok Posted March 12, 2012 Author Share Posted March 12, 2012 I have just replaced jquery-1.4.4.min.js with full version and renamed the file to jquery-1.4.4.min.js. Link to comment Share on other sites More sharing options...
CartExpert.net Posted March 12, 2012 Share Posted March 12, 2012 Is it working now? Link to comment Share on other sites More sharing options...
schel4ok Posted March 12, 2012 Author Share Posted March 12, 2012 not yet. I switched off all cache to work with source files. then I got error Error: jQuery.easing[specialEasing || defaultEasing] is not a function Source File: http://www.klimat-prestige.ru/js/jquery/jquery-1.4.4.min.js Line: 6728 here is this line, but I don't know what to change here this.pos = jQuery.easing[specialEasing || defaultEasing](this.state, n, 0, 1, this.options.duration); Link to comment Share on other sites More sharing options...
CartExpert.net Posted March 12, 2012 Share Posted March 12, 2012 Try to get a newer version of the easing and fancybox Javascript files. Link to comment Share on other sites More sharing options...
schel4ok Posted March 12, 2012 Author Share Posted March 12, 2012 I have jquery.easing.1.3.js and jquery.fancybox-1.3.4.js. it seems that they are latest. Link to comment Share on other sites More sharing options...
webplus Posted March 12, 2012 Share Posted March 12, 2012 There is jquery easing 1.1 version of this plugin included one more time within Lavalamp menu module. <script type="text/javascript" src="[url="view-source:http://www.klimat-prestige.ru/modules/blockmenulavalamp/js/jquery.easing.min.js"]/modules/blockmenulavalamp/js/jquery.easing.min.js[/url]"></script> Try to remove include of this script in lavalamp menu module. Link to comment Share on other sites More sharing options...
schel4ok Posted March 13, 2012 Author Share Posted March 13, 2012 Yes!!! I deleted string <script type="text/javascript" src="{$this_path}js/jquery.easing.min.js"></script> in blockmenulavalamp.tpl but now there is no menu animation like it was. You can compare: http://www.klimat-prestige.ru and http://zencart.zzl.org/klimat/ Link to comment Share on other sites More sharing options...
webplus Posted March 13, 2012 Share Posted March 13, 2012 Then it's probably not compatible - the lavalamp menu was build on jquery easing 1.1. version and it doesn't work in 1.3 version which is built-in in PS. You can maybe try to include jquery.easing.compatibility.js from author page http://gsgd.co.uk/sandbox/jquery/easing/ Link to comment Share on other sites More sharing options...
CartExpert.net Posted March 13, 2012 Share Posted March 13, 2012 Hello, but your images appear now. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now