Afficher quelque chose grâce à onMouseOver
bonjour,
désolé pour le titre pas très clair, mais j'ai pas mieux :?
je préviens : j'ai pas un bon niveau en js ;)
j'ai un lien html et je voudrais que lorsque je pointe dessus, une page html s'ouvre à coté dans une zone limitée. pas très clair...
j'ai trouvé mon bonheur sur un site, je pensais...
http://worldinwar.free.fr/expli1.jpg
quand j'ammène mon pointeur sur 6, ça donne ceci
http://worldinwar.free.fr/mini2.jpg
là où il y a marqué espionner, attaquer, etc, c'est du code html.
Code:
1 2 3 4 5 6 7
| this.T_WIDTH=250;
this.T_OFFSETX=-110;
this.T_OFFSETY=-30;
this.T_STICKY=true;
this.T_TEMP=5000;
this.T_STATIC=true;
return escape('<table width=240><tr><td class=c colspan=2>Planète Colonie [3:498:4]</td></tr><tr>th width=80><img src=http://ogame135.de/epicblue/planeten/small/s_dschjungelplanet01.jpg height=75 width=75 /></th><th style=text-align: left><a href=# onclick=doit(6, 3, 498, 4, 1, 1)>Espionner</a><br /><br /><a href=flotten1.php?session=115f8a5a761d&galaxy=3&system=498&planet=4&planettype=1&target_mission=1>Attaquer</a><br /><a href=flotten1.php?session=115f8a5a761d&galaxy=3&system=498&planet=4&planettype=1&target_mission=3>Transporter</a></th></tr></table>'); |
les T_WIDTH, T_OFFSETX, c'est un truc qui existe en js ? si j'ai bien compris, le onmouseover fait redessiner la zone du href.
:merci: