|
Sujet : [javascript] fenêtres |
| jeremy |
Mara's dad a écrit a écrit :
Avec une frame.
index.html : <head>
<script>
var ref;
</script>
</head>
<HTML>
<!-- Gestion des Frames -->
<FRAMESET ROWS="*" BORDER="0" frameborder="0" marginwidth="0" framespacing="0" left="0" )>
<FRAME SRC="page.html" NAME="page">
</FRAMESET>
</HTML>
dans page.html :
au lieu d'utiliser ref, tu utilise parent.ref !
<script>
parent.ref=window.open(...
</script>
|
Je te remercie c super astucieux !!
Bye bye |