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)
-   -   How do i add an Onload event? (https://forum.x-cart.com/showthread.php?t=17923)

Multitoolstore 11-12-2005 06:54 AM

How do i add an Onload event?
 
Or more specifically how do i add an Onload event just to a specific pages?

I need to add this to the body tag on the create profile page and one on the checkout, i am sure this can be done in smarty but have yet to figure it out.

I would very much appreciate any advice on how to achieve this.

Thanks

balinor 11-12-2005 06:35 PM

Here's a few that cover cart, registration, login, etc. Play around with them and see if they do what you need.


Code:

{if $main eq "cart" or $action eq "cart" or $smarty.get.mode eq "auth" or $main eq "user_add" or $newbie eq "Y"}


All times are GMT -8. The time now is 02:08 PM.

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