Wildfire563
08-30-2006, 06:46 AM
1) Script Title: Tab Content Script
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
3) Describe problem:
I have a request for a script, and I couldn't find anywhere to post it or send it. I'm looking for something like the tab content script, except that, instead of the user choosing what content to show by selecting a tab, instead there are no tabs, and the content to be shown is selected randomly everytime the user loads/refreshes the page.
A cool addition would be that, and I don't know if this is possible, but, if the user comes to the page from a search, then the range of content to be displayed would be restricted to the content pages containing the data that was searched for, so that a content close (closest?) to that of the data searched for is shown. IOW, if the user was searching for dogs, and the example page was found in the course of the search, then the content associated with the Dog tab would be displayed.
The useful thing about this script is that, as I understand how they work, this would be a very search engine friendly method.
In my case, I have a table row that displays ads, and I have several different combinations of ads ready to be displayed in that space. I would like to be able to set it up so that the ads that are shown in the space are randomly chosen.
In this case it would look something like this:
<DIV class="tabcontentstyle">
<div id="tcontent1" class="tabcontent">
Ads row 1
</div>
<div id="tcontent2" class="tabcontent">
Ads row 2
</div>
<div id="tcontent3" class="tabcontent">
Ads row 3
</div>
</DIV>
<script> display a randomly selected DIV from those above</script>
Any takers?
Well, it's an idea, anyway. I assume it has been done before?
Thanks,
Thomas
www.flyingscool.com
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
3) Describe problem:
I have a request for a script, and I couldn't find anywhere to post it or send it. I'm looking for something like the tab content script, except that, instead of the user choosing what content to show by selecting a tab, instead there are no tabs, and the content to be shown is selected randomly everytime the user loads/refreshes the page.
A cool addition would be that, and I don't know if this is possible, but, if the user comes to the page from a search, then the range of content to be displayed would be restricted to the content pages containing the data that was searched for, so that a content close (closest?) to that of the data searched for is shown. IOW, if the user was searching for dogs, and the example page was found in the course of the search, then the content associated with the Dog tab would be displayed.
The useful thing about this script is that, as I understand how they work, this would be a very search engine friendly method.
In my case, I have a table row that displays ads, and I have several different combinations of ads ready to be displayed in that space. I would like to be able to set it up so that the ads that are shown in the space are randomly chosen.
In this case it would look something like this:
<DIV class="tabcontentstyle">
<div id="tcontent1" class="tabcontent">
Ads row 1
</div>
<div id="tcontent2" class="tabcontent">
Ads row 2
</div>
<div id="tcontent3" class="tabcontent">
Ads row 3
</div>
</DIV>
<script> display a randomly selected DIV from those above</script>
Any takers?
Well, it's an idea, anyway. I assume it has been done before?
Thanks,
Thomas
www.flyingscool.com