homepage Welcome to WebmasterWorld Guest from 54.198.224.121
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Is possible to avoid an error within Smarty for ScrollTo?
toplisek




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

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.

 

daveVk




msg:4378964
 3:04 am on Oct 25, 2011 (gmt 0)

try

<a href="#" title="$(...).scrollTo( 'li:eq(15)',
{ldelim}duration:10000{rdelim} );" class="mybuttonback">To the Top</a>
Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved