Greetings,
I have a multi-page template. The 'main page' has a list of five links, generated by an RSS Feeds Reader Plugin for jQuery (zRSSFeed). On the main page, there are links to internal pages to show complete articles (using data-ajax="false"). Those internal pages have the following code:
- $('#p4').live("pageinit", function(){
- $.getJSON("http://viewtext.org/api/text?url=" + $("#url4").val() + "&callback=?", function (data) {
- $('#story4').append('<div>' + data.content + '</div>');
- });
- });
My problem is that the sub-pages allways show the full-text articles of the first feed that was selected. I probably need to "re-initialize" something on the sub-pages. I tried 'unbind' and 'die', but that didn't make any difference.
Thank you for your help.
--John