Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Help with rss feeder using ajaxtabs

  1. #1
    Join Date
    Sep 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool Help with rss feeder using ajaxtabs

    1) Script Title:Ajaxtabscontent

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...axtabscontent/

    3) Describe problem: I'll try to explain this the best I can. First ill start off with the script.
    <ul id="maintab" class="shadetabs">
    <li class="selected"><a href="#default" rel="ajaxcontentarea">Top Stories</a></li>
    <li><a href="ajaxtabscontent/external.htm" rel="ajaxcontentarea">Under Construction1</a></li>
    <li><a href="ajaxtabscontent/external4.htm" rel="ajaxcontentarea" rev="ajaxtabs.css, ajaxtabs.js">Under Construction4</a></li>
    </ul>
    For example: The external.htm is the script from the rss content builder which I saved using the Iframe method. Lets say I have sports.html (rss script inside this folder) External.htm reads <iframe src="ajaxtabscontent/sports.html" width="550" Height="950" Frameborder=0></iframe>.

    The problem Im having is that all my tabs are opening up with the same rss script.
    I hope I didnt confuse you too much.
    Best regards
    Flashcrawler

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.

  3. #3
    Join Date
    Sep 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sorry about that.
    www.flashcrawler.com

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Are you sure all the tabs are loading the exact same RSS feed? It seems each tab is different already.

  5. #5
    Join Date
    Sep 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yes they are opening the same one. Rss content refreshes itself at different times. Firs tab should be top stories, second tab Sports, 3rd tab entertainment, 4th Politics and 5ht Science. It keeps reloading Top stories on everytime.
    I keep thinking its my Iframe set up..I keep double checking, but cant find the error

  6. #6
    Join Date
    Sep 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I forgot to mention I can save Rss content builder either in javascript or php. I chose javascript

  7. #7
    Join Date
    Sep 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Fix it

    Sorry it was on my side of the house. You made me think about the feeds and I went back to double check. I had it running the same feed. Not sure how I screwed that one up.
    Thanks for checking. You are very helpful.

  8. #8
    Join Date
    Sep 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I was wrong. Jumped the Gun.

    I changed the rss script into the sports folder. Now its reading the same feed on all the Tabs.

  9. #9
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmm I think I know what's going on. The iframe from the previous tab may be caching the URL inside it, causing the same URL to be shown in subsequent iframes. The issue has to do with the way browsers cache iframe contents, and occurs since you're specifying an iframe for all of the tabs' contents, instead of just one, for example.

    Assuming this is the case, you can either try a script dedicated to iframe display, this one, or wait until I can get an iframe version of Tabs Content up. Probably sometime next week.

  10. #10
    Join Date
    Sep 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I really do appreciate your help. I tried the new code but it just comes out blank when I hit the tab button. I was only practicing on the Politics button. I wonder if its the RSS content builder script. I have the script on my desktop and when I open it. It comes up ok, but when I create a Iframe to read the script. It doesnt work. I can always wait until next week.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •