How to create same page hyperlink in facebook app

facebookFor normal web page when a page becomes too long then we use same page hyperlink. That is if we are at the bottom of the page and want to move at the top then we click a link and that moves us at the top instantly. This is done in normal website by this way

<div id="atop">.....</div>
lots of information.....
<a href="#atop">Top Page</a>

So when user will click Top Page he will move to at the top. But If you want to implement the same thing in facebook app, then it will not work. There is different way to implement the same functionality.

<a name="ftop"></a>
lots of information.....
<a href="#ftop">Top Page</a>

Look at the code we used <a> tag and name attribute within the <a> tag. This is the only difference for facebook application. Checkout and move at down and click Top Page. You’ll see that page is moving slowly to the top.

mahmud ahsan

Computer programmer and hobbyist photographer from Bangladesh, lives in Malaysia. My [Github | Business | Twitter | Linkedin | Youtube | Instagram | 500px]

You may also like


  • Jobaer Shuman
    April 17, 2010 at 1:57 pm

    ai rokom choto choto kaj na janle onek time nosto hoye jai. sei shathe mejaj tau gorom hoye jai simple kaj korte na parle.

    Thanks for this post.

  • Noirita
    May 31, 2010 at 1:51 pm

    It’s really helpful. Thanks.

Comments are closed here.