...

View Full Version : iFrame refresh not whole pg refresh problem?



wouter
11-25-2002, 01:55 AM
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

chrismiceli
11-25-2002, 02:58 AM
if you give it a name, you can try refreshing it with javascript


<script type="text/javascript">
parent.iframename.location.reload();
</script>

Quiet Storm
11-25-2002, 03:53 AM
This is the code I use:


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


The name of my iFRAME is "thisi".



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum