Iframe problem - full page refreshes on iframe refresh

Discussion in 'PHP' started by byteventures, Aug 21, 2008.

  1. #1
    Hi guys,

    I am having an issue with an iframe that I built. The content inside of the iframe refreshes on a successful page load, however, this causes the entire page to refresh. Is there a way to prevent the entire page from refreshing?

    (I tried to Google this but there were so many responses and few offered an exact solution to this issue.)

    Thanks to all who respond!
     
    byteventures, Aug 21, 2008 IP
  2. Joseph S

    Joseph S Well-Known Member

    Messages:
    1,373
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    155
    #2
    Please show us the code you have. We cannot help you if we don`t see your code.
     
    Joseph S, Aug 21, 2008 IP
  3. nice.wallpapers

    nice.wallpapers Active Member

    Messages:
    142
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Can you please post code here we will glad to help you

    Thanks :)
     
    nice.wallpapers, Aug 22, 2008 IP
  4. BlueBadger

    BlueBadger Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I built an iframe for work a while back which I think is what you're after. The one I built was full screen but it also had to not refresh the parent when the child refreshes so you could just change the dimensions of the iframe to suit your needs and should hopefully help you. I got my code from here www.dev-explorer.com/articles/full-page-iframe

    Good luck
    badger
     
    BlueBadger, Feb 26, 2009 IP
  5. webcycloneindia

    webcycloneindia Active Member

    Messages:
    170
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60