Steve, I'm using this in Opera 7/win and it works... window.parent.frames['FrameName'].location.href='foo.html'
Paul > -----Original Message----- > From: Steve Miller [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 10:21 AM > To: [EMAIL PROTECTED] > Subject: [wdvltalk] swapping iframe source > > > Hi all, > > I have an iframe called "display" defined as: > > > < iframe width="350" height="410" src="../ad_images/blank_ad.html" > id="display" frameborder="0" scrolling="no">< /iframe> > > > and I am loading pages into it using: > > > function loadAd(url) > { > > if (document.all) > { > targetAll=eval(window.frames["display"].location) > targetAll.href=url; > > } > else if (document.getElementById && !document.all) > { > targetElement=eval(document.getElementById("display")) > targetElement.src=url; > > } > } > > > This (so far) works in all newer browsers except Opera 6/mac and Opera > 7/win. Can anyone tell me why not? > > Thanks! > steve > > > ____ The WDVL Discussion List from WDVL.COM ____ > To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] > Send Your Posts To: [EMAIL PROTECTED] > To change subscription settings to the wdvltalk digest version: > http://wdvl.internet.com/WDVL/Forum/#sub > > ________________ http://www.wdvl.com _______________________ > > You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] > To unsubscribe send a blank email to %%email.unsub%% > > ____ � The WDVL Discussion List from WDVL.COM � ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
