Results 1 to 4 of 4

Thread: How to use iframes applications for redirecting offers

  1. #1
    Join Date
    Feb 2009
    Posts
    62

    How to use iframes applications for redirecting offers

    Search engines catalogue the Wordpress posts and link back to them, not the main site. URL's for individual posts also don't work in the main site. meaning that if a page A is loaded as an IFRAME inside an parent page P some Javascript in A redirects the outer window to A. I've read that it is possible to create a redirect to overcome this problem but don't know how to do it.

  2. #2
    Join Date
    Jan 2006
    Posts
    7,109

    Re: How to use iframes applications for redirecting offers

    If you wanted to redirect from one site to another site you may use the href command in you program to redirect and this will be done as under.

    <frameset rows="100%,*" border="0">
    <frame name="__main" src="http://www.anothersite.com/folder/"
    noresize frameborder="0">
    <noframes>
    <h2>Your Web browser does not support frames</h2>
    <p>
    Please click the link to visit
    <a href="http://www.anothersite.com/folder/">http://www.anothersite.com/folder/</a>
    directly.

  3. #3
    Join Date
    Feb 2006
    Posts
    159

    Re: How to use iframes applications for redirecting offers

    Usually, most people don't usually type in the specific page they want, they use the site's navigation. Try using the onbeforeunload property, which will let the user choose whether he wants to navigate away from the page.But let's say for example, a user does type in the exact URL of the page they want to go to like. This works OK.... until you get to a site that uses frames.

  4. #4
    Join Date
    Feb 2006
    Posts
    172

    Re: How to use iframes applications for redirecting offers

    A way to go around this limitation woould be to put a script in each page that checks to see if the page was loaded with the proper frames. Since the page you load inside the iframe can execute the "break out" code with a setInterval, If the user types in a direct URL, the script redirects you to the index page which loads the site using the proper frameset.

Similar Threads

  1. Will using iFrames hurts SEO
    By Weeraz in forum Software Development
    Replies: 7
    Last Post: 21-02-2012, 07:42 AM
  2. Problem of iframes
    By Hashim in forum Software Development
    Replies: 3
    Last Post: 21-11-2009, 08:19 PM
  3. How to Implement iframes in a form
    By Shanbaag in forum Software Development
    Replies: 3
    Last Post: 23-09-2009, 12:52 PM
  4. How to use $_GET in iframes
    By BansiJ in forum Software Development
    Replies: 2
    Last Post: 26-08-2009, 09:54 PM
  5. Embed iframes in Flash
    By Chain-SmokeR in forum Technology & Internet
    Replies: 3
    Last Post: 13-07-2009, 11:59 AM

Tags for this Thread

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
  •  
Page generated in 1,714,169,721.90282 seconds with 16 queries