PDA

View Full Version : Problem With Tab Content Script - Help, Please?



sarah79
08-06-2006, 04:29 PM
1) Script Title: Tab Content Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm

3) Describe problem:
Hello! First of all, thank you for this wonderful site. It's truly amazing, and I have already started telling my friends about it.

I recently installed the tab content script at http://drbenkim.com.

My problem is that whenever a visitor pulls up this page for the first time, the default tab window (class="selected") shows all of the content that is in all of the tabs.

You can see that I have programmed 3 tabs: Feature Articles, Blog Entries, and Previous Popular Articles.

On a person's first visit to the site, all of the content from all three tabs appears in the "Feature Articles" window.

Only after a person refreshes his or her screen or clicks on one of the other tabs before heading back to the "Feature Articles" tab does the "Feature Articles" tab show only the content that is designated for it.

I hope that I have described this problem accurately.

I will be very grateful to anyone who might be able to help me figure out the solution to this problem.

Thank you very much,

Sarah

jscheuer1
08-07-2006, 03:29 AM
I don't see it. It appears to be fine in IE and and FF (both the latest editions on the PC/Win platform). Have you fixed the problem or are you experiencing this with a different browser and/or platform?

sarah79
08-08-2006, 08:10 PM
John,

Thank you very much for taking a look.

I forgot to come back here to update what I did.

I couldn't figure out what the problem was, so I changed the default selected "class" to the second tab. This way, when a visitor comes to the site for the first time, the window that they see is just for the content for the second tab.

I hope that makes sense for anyone else who has this problem.

I really appreciate you taking the time to reply.

Sarah