Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

window.popup1.focus(); window.popup2.focus();

1 view
Skip to first unread message

Thierry Loiseau

unread,
Apr 25, 2021, 4:17:01 AM4/25/21
to
Bonjour et bon dimanche,

J'essaie de fait un truc mais je ne sais pas s'il est possible d'obtenir
cela...

<http://astrophoto.free.fr/calculs/>

Je voudrais qu'après avoir ouvert un popup1 (cliquez en bas du tableau à
gauche sur le mot PLANETES), puis en cliquant à nouveau sur le
formulaire (le popup1 se retrouve alors en arrière plan) sur le mot
OBJETS (qui ouvre un nouveau popup2), le popup1 revient au premier plan
(le formulaire lui est alors en arrière-plan) puis que le popup2 se
remette lui au premier plan.

Pour l'instant, j'en suis à ce code :


==== OBJETS ====
<a href="#"
onclick='window.cargeoc=window.open("cargeoc.html?"+position.substring(13),"carte_geoc","toolbar=no,status=no,scrollbars=0,resizable=0,width=321,height=321");window.cargeoc.focus();if
(window.carhelio) window.carhelio.focus();'


==== PLANETE ====
onclick='window.carhelio=window.open("carhelio.html?"+poshelio.substring(10),"carte_helio","toolbar=no,status=no,scrollbars=0,resizable=0,width=321,height=321");if
(window.cargeoc) window.cargeoc.focus(); window.carhelio.focus()'

Merci pour vos suggestions !
--
* * __*__ *
* * * -----oOOo--- O ---oOOo------- * *
http://astrophoto.free.fr *
* * -------- oOOo oOOo ---------- *
0 new messages