SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
-
Jun 8, 2003, 17:47 #1
- Join Date
- Sep 2002
- Posts
- 22
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Need a JS that can work with iFrame
Hi
I posted this a few days back http://www.sitepointforums.com/showt...hreadid=112372 and after posting I realised that I can have the same effect if I load two separate pages in an iframe.
Is there a javascript that can control the pages which an iframe loads? I need one which will load, let's say abc.html the first time, and when the page is refreshed, def.html.
Thanks for any help given.
-
Jun 9, 2003, 09:03 #2
You could try this:
Code:parent.(iframe name).location.href="yourpage.html";
Bookmarks