Welcome to WebmasterWorld Guest from 54.145.222.231

Forum Moderators: open

Message Too Old, No Replies

Is possible to avoid an error within Smarty for ScrollTo?

   
8:34 am on Oct 24, 2011 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



Is possible to avoid an error within Smarty for ScrollTo?

I have code like:
<a href="#" title="$(...).scrollTo( 'li:eq(15)', {duration:10000} );" class="mybuttonback">To the Top</a>

I can not use this as it shows an error inside Smarty templates.
3:04 am on Oct 25, 2011 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



try

<a href="#" title="$(...).scrollTo( 'li:eq(15)', {ldelim}duration:10000{rdelim} );" class="mybuttonback">To the Top</a>