Jump to content

Recommended Posts

This is called an "HTML Anchor" - this is not done with JS.

 

Example

 

<a href="#bottom">Go To Bottom of The Page</a>

<div style="height:1000px"><!-- For Demo Purposes Only - Not Part of Actual HTML Anchor --></div>

<a name="bottom">Welcome To The Bottom of This Page</a>

Link to comment
https://forums.phpfreaks.com/topic/128488-scrolling/#findComment-665970
Share on other sites

Um, actually I think TLG was talking about how it does the smooth scrolling down to the letter.

 

@TLG: Looking at the source, I can see that they are using Prototype and also Moo-FX. Check this link. Looks pretty helpful.

 

Yup, and thanks for the link!

Link to comment
https://forums.phpfreaks.com/topic/128488-scrolling/#findComment-666404
Share on other sites

@ProjectFear

 

I don't see any smooth scrolling when I click on a letter in FireFox; it just jumps to the link, like a normal anchor. That prototype must not work in FF.

 

Works for me. At one stage it didn't work but the page was loading, after it had fully loaded it scrolled smoothly.

Link to comment
https://forums.phpfreaks.com/topic/128488-scrolling/#findComment-666838
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.