Load page with AJAX
If you see Twitter following and followers users pages you can see this thing:
there's two tabs called "Following" and "Following" like this: [ Following | Followers ]
If you click Following
, the page loads the following users page, if you click Followers
the page loads the followers开发者_Go百科 users page.
When you click Following
the URL become http://example.org/#!/following and when you click Followers
the URL become http://example.org/#!/followers.
I want something like this, how can I implement it?
Thanks!
There are many plugins for jQuery that implement this, and I figure also for other frameworks.
See: http://tkyk.github.com/jquery-history-plugin/#
精彩评论