Results 1 to 8 of 8

Thread: What is the best frame re-direct script to use?

  1. #1
    Join Date
    Nov 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default What is the best frame re-direct script to use?

    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,
    cma

  2. #2
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Warning: This is not a Dynamic Drive Script related question.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Nov 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

    Thanks,

    CMA

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Nov 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you, John.
    It's been very helpful.

    I did find a frame re-direct scripton:

    http://www.dynamicdrive.com/dynamicindex9/info3.htm

    Screen Size Redirect Script

    Directions:

    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
    window.location.replace("http://www.netscape.com")

    else if (screen.width==640||screen.height==480) //if 640x480
    window.location.replace("http://www.microsoft.com")

    else if (screen.width==1024||screen.height==768) //if 1024x768
    window.location.replace("http://www.dynamicdrive.com")

    else //if all else
    window.location.replace("http://freewarejava.com")

    //-->
    </script>


    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,

    cma

  7. #7
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  8. #8
    Join Date
    Nov 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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,

    CNA

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •