refresh iframe
- Started
- Last post
- 8 Responses
- jpowell
how do you refresh content in an iframe only? (much like the refresh feature here at NT.)
-j
- monkeyshine0
right click on the mouse.
- jpowell0
i have the uni-click mouse...i'm on a mac.
i was actually curious about the script that activates refresh iframe.
- jpowell0
? anyone know how to do this ?
- ian0
Why not just put a button on the page in the iframe which links to itself? Like a 'home' button on a home page, when you hit the button it should reload the page.
Dunno if its exactly what you want but it should work.
- jpowell0
thanks, that would work... but i didn't create the page that i am targeting.
i want to have the ability to refresh the contents of the iframe and not the entire page.
- ian0
if you put the button on the page that appears inside the iframe, link it to itself.
Eg if the page inside the frame is called 'news', put a button on the 'news' page then link the button to load the page 'news', it will only reload the page inside the iframe.
- tfs__mag0
assign a name attribute to your iframe ie: name=news then on the button set the href to the iframed page and set the target of the link to target=news . Should work.
- jpowell0
thanks tfs mag... i should have thought of that. just target the iframe with the same site. duh.
-j