[frames] 4 frames in 1 keer veranderen

Pagina: 1
Acties:
  • 45 views sinds 30-01-2008

  • iscara
  • Registratie: Juli 2001
  • Niet online
Hoe kan je met 1 link 4 farmes veranderen?
ik kan wel 2 frames in 1 keer veranderen maar voor 4 lukt het niet

voor 2 frames heb ik dit van webmonkey:
<a href="zoinks.html"
onClick="window.self.location='raggy.html'" target="otherframe">
Zombies</a>

  • G-RaX
  • Registratie: Mei 2000
  • Laatst online: 05-04 17:44

G-RaX

Unofficial TopCat

Ik heb het volgende zelf gebruikt voor 2 pagina's, dat betekent dus dat je gewoon een functie moet schrijven even in Javascript, en hieronder het voorbeeld volgens mij voor 4 (of 5) pagina's:

<SCRIPT LANGUAGE = javascript>
function change_page()
{
parent.bovenste.location.href="boven.html"
parent.onderste.location.href="onder.html"
parent.links.location.href="links.html"
parent.rechts.location.href="rechts.html"
}
</script>


<a href="zoinks.html"
onClick="change_page()" target="otherframe">
Zombies</a>

Zoiets...??

  • Janoz
  • Registratie: Oktober 2000
  • Laatst online: 28-08 12:00

Janoz

Moderator Devschuur®

!litemod

javascript hoort in W&G, niet in P&W...

moved

Ken Thompson's famous line from V6 UNIX is equaly applicable to this post:
'You are not expected to understand this'


  • Pelle
  • Registratie: Januari 2001
  • Laatst online: 11:58

Pelle

🚴‍♂️

Hmja Janoz, dit mag wel dicht voortaan ;)

Dit topic is gesloten.