![]() |
How can i set a java script?
I have a java script that usualy i just past on ths body part of the HTL code and works fine, but on x-cart i need make as javasript ".js", save on "skin1" directory, put a call for the java script on "home.tpl". However i am having trouble in find out how can i put the final view place on the page that i want to display without having any "Smart code error".
This is the code: Code:
So any ideas? Thanks! |
Re: How can i set a java script?
Put it in customer/home.tpl, but be sure you surround the JS with {literal} tags so smarty doesn't try to read it:
{literal} js here {/literal} |
Re: How can i set a java script?
I could kiss you now, but my wife does not allow!. Thanks man! Cya!
|
Re: How can i set a java script?
Tested|! Works great now. Thanks again. Cya!
|
Re: How can i set a java script?
I just see this..... i have also the Tabber Holder to show all tables compacted on product page but when i put this java script.. makes my tables no ale to visualize. Any ideas... ou anything else missing?
I am puting this: Code:
{literal} |
All times are GMT -8. The time now is 11:25 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.