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 http://www.facebook.com/pages/Thinkdiffnet/314110374728?v=app_7146470109 and move at down and click Top Page. You’ll see that page is moving slowly to the top.

mahmud ahsan

Love computer programming and write occasional blog post. In my early career I worked mostly on web based application and since 2011, I exclusively working on iPhone and android applications. I work at home, father of a nice kid and husband of a beautiful wife. [My Business | Twitter | Linkedin]

You may also like

2 Comments

  • 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.

About Me

Hi I am Mahmud Ahsan. I Love computer programming and write occasional blog post. In my early career I worked mostly on web based application and since 2011, I exclusively working on iPhone and android applications. I work at home, father of a nice kid and husband of a beautiful wife. [My Business | Twitter | Linkedin]

Twitter Feed

Fanpage