SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Aug 2002
    Location
    Lake Tahoe
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Page not loaded into iframe redirect to other page

    ok I don't have any experience with JS and I've looked all over for some code help but have not had any luck finding anything.

    I need some JS that will detect if a page is loaded in an iframe and if not it will load another page that the original page should be displayed in.

    TIA
    Neil

  2. #2
    SitePoint Member
    Join Date
    Aug 2002
    Location
    Lake Tahoe
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no one can help here?

  3. #3
    SitePoint Wizard Stomme poes's Avatar
    Join Date
    Aug 2007
    Location
    Netherlands
    Posts
    10,283
    Mentioned
    51 Post(s)
    Tagged
    2 Thread(s)
    Can you give us a clear example? I'm having trouble following it... if I make a page with an iFrame, I'd just put a redirect on that page... or just not use an iFrame. So I'm confuzled.


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
  •