I am creating a web app in php. i am loading content through a ajax based request. when i click on a hyperlink, the corresponding page gets fetched through ajax and the content is replaced by the fetched page.
now the issue is, i need a physical href so that i can implement facebook like functionality and also maintain the browser history property. i cannot do a old school POSTBACK to the php page as I am doing a transition animation in which the current page slides away and the new page slides in.
Is there a way I can keep the animation and still have a valid physical href and history.
the design of the application is such:
- the app grabs an rss feed.
- it creates the DOM for those rss feeds.
- upon clicking on any headline, the page animates and takes to the full story of the rss feed.
- i need to create "like" button on the full story page. but i dont have a valid url.