View Full Version : What is the best frame re-direct script to use?

11-11-2006, 03:57 AM
Hi Everyone,

I'm new to the forum and hope you can help.

I am looking for the best framed re-direct script to use.

I deal with a lot of affiliate programs which mostly have thier pages poorly optimized.
I'd like to find a framed re-direct script that I can optimize title, discription, meta tags,keywords,etc. for the search engines to spider while still having the average visitor be redirected to the affiliate page with my framed title and URL still on thier screen instead of the affiliate link.

Any suggestions as to what might be best for this purpose?

Thank you,

11-11-2006, 04:27 AM
Warning: This is not a Dynamic Drive Script related question.

11-11-2006, 05:33 AM
Affiliates (or any off site content) may break out of frames. Generally, if you want to go down this road, a customized scheme that best fits the typical off site content involved and that can adjust to the most likely encountered variations is what you would want.

11-11-2006, 06:36 AM
Thank you for the responses and sorry it wasn't DD script specific, tech_support.
I searched the Dynamic Drive site before I posted, looking for a script I could buy that would do this for me and couldn't seem to find one.

I had hoped that someone else had run across this issue and could direct me to the DD link for it.
Thank you for the tip, John, I probably just didn't search long enough to find it.

Very helpful site, BTW.



11-11-2006, 07:03 AM
You're welcome but, I'm not sure you understand. There may be a script out there for this. It doesn't really require one though. All you need is a frameset or even an iframe for each affiliate with the desired head on it. No matter what you do, any off site content can easily break out of a frame or iframe if they so desire.

If you wanted to access the off site content in order to parse it and use content on it to create your containing page 'on the fly', this would require server side techniques and would not be very search engine friendly. I am only aware of this being possible using PHP but, it is also likely to be possible in asp VB/script and other server side languages as well. If you do go this route, a tailor made solution would be by far the best looking and most functional.

More Thoughts:

I have seen this done but, have always found the effort not worth while to me as a user, opting to break out of the frame myself, in order to view the content I am after. Most people would also like to do this though, not everyone has a browser capable of it or knows how to. The result most likely is that folks would avoid your site in favor of one that takes them directly to their desired content or at least opens it in its own window.

11-11-2006, 06:32 PM
Thank you, John.
It's been very helpful.

I did find a frame re-direct scripton:


Screen Size Redirect Script


Insert the below into the <head> section of either your entrance page, or any page that proceeds the four destinations specified in the code

<script language="JavaScript1.2">

Screen Size Redirect script (By Robert @ http://members.tripod.com/technological_tinker/)
Submitted to Dynamicdrive.com to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com

if (screen.width==800||screen.height==600) //if 800x600

else if (screen.width==640||screen.height==480) //if 640x480

else if (screen.width==1024||screen.height==768) //if 1024x768

else //if all else


Be sure to configure the four URLs inside.

Technical Notes
You can cut down on the four redirection choices of the script by specifying 2 or more destinations to be of the same URL. Also, since this script only performs the redirection action in 4th+ browsers, you should include a physical link on the page to allow lower end browsers to not be shut out of the process.

This seems like it night suit my purpose, but I'm not sure how to load in onto my server. Like I said earlier, a "Real Newbie". I understand it goes into the head area, but do I simply load it into a directry as index.html, or does it need another prefix to work corectly

Thank you,


11-11-2006, 07:37 PM
That is just a page redirect script. It doesn't do what you were asking about in the first place and, incidentally, is also generally a bad idea.

11-12-2006, 12:51 AM
Ahh, thank you once again, John.
After getting it to work, I see it is just redirecting.

I keep searching, or request a bid from somewhere for something more specific to my needs.

I appreciate your help,