View Full Version : Ajax Tabs Content script external pages

07-16-2007, 10:57 PM
1) Script Title: Ajax Tabs Content script

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

3) Describe problem:
Visitors can right-click on the tabs and visit these pages outsite the main site. (this can be diss.)
Search sites like Google also find these external pages and people can visit these pages without seeing the whole site.

Is there a solution that when visitors visit http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/external2.htm they see the whole site with external2.htm in it?

07-17-2007, 07:33 AM
There are quite a few ways to force visitors to have to view the "external.htm" pages as content within the main page, say "main.htm". One simple way is just to change the extension of "external.htm" to a non browser supported extension, say, "external.cc". Then inside Ajax Tabs Content script, update it to fetch this new file instead. When visitors try to view external.css inside the browser on its own, the browser should prompt the user to download the file instead.

07-17-2007, 11:10 AM
I've changed the external.htm to external.cc but still it can be opend.

In this forum I found a webiste that has the solution. I only don't know how he did this.
The website is http://castlehillinn.com/Special_Offers/Dining_Packages/index.htm
All the tabs have there own site.