X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   javacript popup buttons not working in firefox/chrom (https://forum.x-cart.com/showthread.php?t=63175)

shaz 04-04-2012 05:22 PM

javacript popup buttons not working in firefox/chrom
 
Hi There,

Using x-cart gold version: 4.4.3 and for some reason the javascript popup buttons only work in IE and not in FF/Chrome.

Buttons in particular are
Ask a question about this product on product detail - rollover shows "javascript:void(0);" as the link but when you click it nothing happens.

Change (address in one page checkout)
Change (address in Address Book)
probably more...

I have configured custom Wish List and Buy Now image buttons which work fine.
Replacing the entire customer/buttons folder from the package also did not fix the issue... HELP PLEASE!!!

Thanks!

cherie 04-10-2012 01:32 PM

Re: javacript popup buttons not working in firefox/chrom
 
Use Error Console (or Firebug) in Firefox to see what errors are appearing, or post a link to the page so we can check it out.

shaz 04-10-2012 07:00 PM

Re: javacript popup buttons not working in firefox/chrom
 
Hi, Thanks for your reply.

I just tried updating all my jquery.min.js to the latest. no joy.

The 'change' button on the one-step-checkout page gives:

$(this.profile).block is not a function
anonymous()_f7eb5...4348.js (line 284)
anonymous()_f7eb5...4348.js (line 98)
N()jquery....min.js (line 16)
anonymous()jquery....min.js (line 17)
anonymous()jquery....min.js (line 16)


[IMG]chrome://firebug/content/blank.gif[/IMG]$(this.profile).block();

The Ask a question link on the Product Detail page gives:
$(".popup-dialog").dialog is not a function
popupOpen()popup_open.js (line 341)src = "/popup_ask.php?productid=1"
title = undefined
params = undefined



onclick()onclick (line 3)event = click clientX=829, clientY=412





[IMG]chrome://firebug/content/blank.gif[/IMG]$('.popup-dialog').dialog('destroy').remove();Any ideas are greatly appreciated. The same issue has presented on two different servers.


cflsystems 04-10-2012 07:17 PM

Re: javacript popup buttons not working in firefox/chrom
 
It almost sounds like jquery is not loaded or you are loading 2-3 different versions of it at the same time

shaz 04-10-2012 07:30 PM

Re: javacript popup buttons not working in firefox/chrom
 
It loads at lot of .js files but definitely onlu one jquery. I've checked that a few times now... almost stumped...

cflsystems 04-10-2012 07:44 PM

Re: javacript popup buttons not working in firefox/chrom
 
post a link to the site

shaz 04-10-2012 08:22 PM

Re: javacript popup buttons not working in firefox/chrom
 
It's ok, there has been too many developers working on this site. I think the quickest/easiest approach (which I've now started) will be to rebuild the template with original copies and isolate the mod that way.

Thanks heaps for your help, I still learnt something new today :)

cflsystems 04-10-2012 08:53 PM

Re: javacript popup buttons not working in firefox/chrom
 
good luck

shaz 04-10-2012 11:34 PM

Re: javacript popup buttons not working in firefox/chrom
 
Working like a charm now :) Thanks again and enjoy the rest of your day everyone.


All times are GMT -8. The time now is 11:33 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.