Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Oct 2002
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question iFrame refresh not whole pg refresh problem?

    Hi,
    I'm using a HTML iFrame and when the iFrame-html pg refreshes the whole page is refreshed. How to prevent that the whole page is refreshed (only the iFrame html pg needs the refresh) ??

    <IFRAME SRC="test.htm" scrolling="no" width="550" height="410" frameborder="0" align="center">
    </IFRAME>


    Tx

  • #2
    Regular Coder
    Join Date
    Sep 2002
    Location
    Louisiana
    Posts
    576
    Thanks
    0
    Thanked 0 Times in 0 Posts
    if you give it a name, you can try refreshing it with javascript
    Code:
    <script type="text/javascript">
    parent.iframename.location.reload();
    </script>

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Beyond Lament
    Posts
    424
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This is the code I use:


    [<A HREF="javascript&#58;window.frames.thisi.location.reload();">reload</A>]


    The name of my iFRAME is "thisi".
    Quíet Storm Designs ~ Art is not what you see, but what you make others see.
    · the Storms· || ·Ultraviolent Winter· || ·Was Einstein Wrong?· || ·It´s About Time!·


  •  

    Posting Permissions

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