Log in

View Full Version : Resolved how to scroll up and down the page smooth?



davelf
05-04-2010, 04:40 AM
this is an example of my page:

http://imaxxo.com/imaxxo02/popUp/popUpMaxPro.html

i used this code:



<a href="#benefit"><img src="images/benefit.png" width="150" height="17" border="0" /></a>

and

<a name="benefit"><img src="images/benefit.png" width="150" height="17" border="0" /></a>


but the page show like jump, not scrolling.

how to make it like this page?

http://chocotemplates.com/preview/portfolio/seven-seas/

ty very much...:)

djr33
05-04-2010, 04:48 AM
"#----" is called an anchor. It jumps to a spot on the page. That's the default.

If you want to have the page scroll, then you need to use Javascript to do this. There's no way in just HTML.

davelf
05-04-2010, 04:59 AM
so is there any dynamicdrive example script that i can use to make this happen? :)

davelf
05-04-2010, 06:59 AM
i find this at dynamicdrive and this is solve my problem, thx...


http://www.dynamicdrive.com/dynamicindex5/bookmarkscroll.htm