Reply
page refresh
Old 07-08-2003, 09:37 PM page refresh
97lt2959's Avatar
Novice Talker

Posts: 7
Location: North Wales
I need to refresh an iframe but without modyfiying the actual page inside the iframe.

The code i have for the current page:

<SCRIPT LANGUAGE="Javascript" TYPE="text/javascript"

SRC="http://www.tag-board.com/tagboard.js?boardname=leethomas"></SCRIPT>

<table width="217" cellpadding="2" cellspacing="0" border="0" align="left" height="430" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width=9 height=143 valign=top>
<iframe src="http://www.tag-board.com/my.tag?name=leethomas" name="tag" width="203"

height="135"
marginwidth="0" marginheight="0"></iframe>
<script>netscape_support();</script>
</td>
</tr>
<tr>
<td width="9" height="180">
<form action="http://www.tag-board.com/add.tag" method="post" name="tagform" target="tag">
<input type="hidden" name="name" value="leethomas">
<font size="2" face="Courier New">Name</font><br>
<input name="tagname" maxlength="20" size="20"><br>
<font face="Courier New" size="2">URL or Email</font><br>
<input name="tagurl" maxlength="100" size="20"><br>
<font face="Courier New" size="2">Messages (<a href="http://www.tag-board.com/smilies/smilies.htm" onClick="return

pop_up_smilies();" target="_blank">smilies</a>) </font>
<br>
<textarea cols="24" rows="3" name="message" wrap></textarea><br>
<input class=button type="submit" value="TAG" onclick="return

Clear_Last_Message_on_Submit();">
</form>
<script>rememberme()</SCRIPT>
</td>
</tr>
</table>

And basically i only need the iframe to refresh but i aint got a clue how to without modifying the actual page inside the iframe
__________________
Im crap with code! -But I do try!
97lt2959 is offline
Reply With Quote
View Public Profile Visit 97lt2959's homepage!
 
When You Register, These Ads Go Away!
Old 07-28-2003, 04:23 PM
97lt2959's Avatar
Novice Talker

Posts: 7
Location: North Wales
tip tap, tip tap
__________________
Im crap with code! -But I do try!
97lt2959 is offline
Reply With Quote
View Public Profile Visit 97lt2959's homepage!
 
Old 07-29-2003, 04:58 AM
Experienced Talker

Posts: 33
Location: Portsmouth, UK
Not sure I understand what you're after here - do you mean you want the ability from the main page to be able to refresh the contents of the iframe? If so all you need to do is stick something like this somewhere on your main page:

PHP Code:
<a href="your iframe page" target="your iframe name">Click Here To Refresh</a

"Your iframe page" is the src part, and "your iframe name" is the name part of your <iframe ... > tag so if your iframe tag looked like this:

PHP Code:
<iframe src="iframepage.php" name="myiframepage"></iframe
then your refresh code would be

PHP Code:
<a href="iframepage.php" target="myiframepage">Click Here To Refresh</a
If you look at my site you should be able to see something similar happening with the iframe box top left and the links to change it from "links", "submit", "headlines", and "options"

Of course, if this isn't what you meant you'll need to clarify it a bit.
neOnbubble is offline
Reply With Quote
View Public Profile Visit neOnbubble's homepage!
 
Old 07-29-2003, 09:07 AM
97lt2959's Avatar
Novice Talker

Posts: 7
Location: North Wales
Yep thats what i need but instead of using a link to refresh i need it to be refreshed automatically.
__________________
Im crap with code! -But I do try!
97lt2959 is offline
Reply With Quote
View Public Profile Visit 97lt2959's homepage!
 
Reply     « Reply to page refresh
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13015 seconds with 12 queries