[JavaScript] document.frames werkt wel in IE niet in FireFox

Pagina: 1
Acties:

  • weird0
  • Registratie: Augustus 2000
  • Laatst online: 10-02 20:26

weird0

The Luck is Dying

Topicstarter
ik heb al lang niets meer hier gepost, heb beleid even doorgelezen vergeef me als ik alsnog iets fout heb gedaan in deze post.

om meerdere iFrames tegelijk met 1 hyperlink aan te roepen heb ik het volgende js gebruikt.

JavaScript:
1
2
3
function yssi() {
top.document.frames['topcontent'].location = "http://intro.volupia.nl/content_html/top-yssi.html" ;
top.document.frames['content'].location = "http://intro.volupia.nl/content_html/content-yssi.html" ; }


en als link

code:
1
<a href="javascript:yssi()" onMouseOver="status='YSSI'; return true;">test</a>


in IE werkt dit perfect maar in FireFox krijg ik dit niet aan de praat, ondanks te hebben gezocht kom ik ook niet verder. ik hoop dat iemand me hier kan helpen.

site waar het om gaat


P.S. in de search komt dit topic voor, maar staat helaas geen antwoord in op mijn vraag

[ Voor 25% gewijzigd door weird0 op 20-05-2006 21:38 ]

€ Hij is weer heerlijk hoor coby
€ join us @ http://team.aggression.nl soon @ https://teamparkstad.nl


  • Grijze Vos
  • Registratie: December 2002
  • Laatst online: 23:50
Googlen op: [google]document.frames works in IE but not in FireFox[/google]
(letterlijke vertaling van je TS.)

Eerste hit, halverwege de pagina:
Mozilla supports the W3C standard of accessing iframe's document object through IFrameElm.contentDocument, while Internet Explorer requires you to access it through document.frames["name"] and then access the resulting document

Op zoek naar een nieuwe collega, .NET webdev, voornamelijk productontwikkeling. DM voor meer info