-
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
-
-
Please post a link to the page on your site that contains the problematic script so we can check it out.
-
-
-
-
Are you sure all the tabs are loading the exact same RSS feed? It seems each tab is different already.
-
-
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
-
-
I forgot to mention I can save Rss content builder either in javascript or php. I chose javascript
-
-
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.
-
-
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.
-
-
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.
-
-
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.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks