homepage Welcome to WebmasterWorld Guest from 54.204.142.143
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

    
ScrollTo and smoth transition to defined XY
toplisek




msg:4455334
 3:30 pm on May 19, 2012 (gmt 0)

I like to set smoth transition form script like:
[flesler.blogspot.com...]

How to do this as now is too fast.

Start link:
<ul><li class="sup"><a href="#section4">Section 4</a></li></ul>



I'm using goal:
<li class="sub" id="section4">

<h2>Section 4</h2>
<p>Donec eu diam. Etiam pharetra pede id orci. Mauris tellus enim, ultrices in, vehicula sed, feugiat eget, pede. Vestibulum odio eros, viverra non, posuere sed, elementum blandit, nunc. Fusce sodales cursus nibh. Nam ut sem sed tortor lacinia aliquet. Donec lacus arcu, consectetuer non, dignissim eget, ultrices sed, ligula. Maecenas faucibus lobortis nibh. Ut viverra justo quis felis eleifend ultrices. Integer at magna ut lacus malesuada rutrum. Proin in odio a mi tincidunt faucibus. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam nisi massa, facilisis vitae, mollis et, ornare sit amet, dolor.</p>

<p>Quisque turpis eros. Vivamus ullamcorper, diam sit amet pharetra vehicula, sem nisi scelerisque ante, nec mattis risus augue non nulla. Donec elit dui, porttitor eget, ultricies vel, elementum gravida, urna. Aliquam erat volutpat. Mauris libero tellus, facilisis et, aliquet non, pulvinar sagittis, turpis. Quisque eu augue et dui lacinia gravida. Nam in massa a purus blandit mattis. Nulla facilisi.</p>

</li>

 

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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved