![]() |
Javascript smarty Error
Hey guys,
I'm trying to place a Jquery Featured content slider on my website. I can't get it to work. Must have something to do with the javascript code: <script type="text/javascript"> $(document).ready(function(){ $("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true); }); </script> Could anyone please help me out? Thanks in advance! Greetings from Holland, Yorick |
Re: Javascript smarty Error
Ah took me a while but i figured it out :). Used {literal}{/literal} to get it to work.
|
Re: Javascript smarty Error
Hi Stizz, can you post your solution as it would be helpful to see how you solved it.
Thanks |
Re: Javascript smarty Error
Sure...
Just add the literal (in red) tags to the script. {literal} <script type="text/javascript"> $(document).ready(function(){ $("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true); }); </script>{/literal} |
Re: Javascript smarty Error
Thanks heaps for this, saved me from hours of head scratching :D
|
All times are GMT -8. The time now is 12:00 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.