Virtuemart AJAX notice duration - when adding a product to the cart.  Need to increase duration of notice.

SpencerKarnovski
SpencerKarnovski used Ask the Experts™
on
Hello there.

When adding a  product to my shopping cart AJAX, I get a brief box that appears.  Please see image.  The problem is that this notice only lasts for about 2 seconds and does not give the user a change to click either buttons.

Any idea's how to increase the duration of this notice.
Thanks.
AJAX.jpg
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2004
Commented:
This page should answer your question. If you want the dialog to actually stay forever, remove the setTimeout() completely.

Author

Commented:
Hi Zyloch - thanks for the info.

Think I will remove the line completely.  

Do you know how to add CSS to this file?    Or should that be another questions.
Thanks for your input.


Author

Commented:
Hi.

I have removed the line - but I am still getting 3s duration on the notice.
Have a look.

http://www.shop.trainatbulks.com/index.php/Supplements.html
JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.

Author

Commented:
And when I increase the duration to say 30s, it still only stays for 3s.

Any ideas.  Thanks.

Author

Commented:
I can delete that entire file - and the AJAX notification box still works.  It appears as if its using a different file.

Could there be another location for this file?

Author

Commented:
Correct answer - however, the solution does not work.
Top Expert 2004

Commented:
Did you manage to find the right file? If not, I may be able to poke around and find out from the page you linked to.
Panagiotis Sweb developer - designer

Commented:
propably its a conflict with other component,modules that use jquery or mootools

try to disable some to see the effect

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial