Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1028 connectés 

  FORUM HardWare.fr
  Programmation
  HTML/CSS

  OnMouseOver -> afficher une autre image ? [RESOLU]

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

OnMouseOver -> afficher une autre image ? [RESOLU]

n°340560
F22Raptor
Tête en l'air ...
Posté le 22-03-2003 à 23:02:39  profilanswer
 

J'ai affecté à une image aaa.gif le code suivant.
Mais comment dire au "MouseOver" que je veux une autre image bbb.gif quand ma souris se déplace dessus, mais quand elle n'y est plus, revenir à aaa.gif  
 
 :??:

Code :
  1. onclick="window.open('http://www.villedelevallois.free.fr/meteo/meteo.htm','windowname','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,copyhistory=1,width=570,height=574')"
  2. onMouseOver = "window.defaultStatus =' '; window.status = 'La météo sur le parcours'; return true"


 
Attention, je suis un gros néophyte !!!
 :jap:


Message édité par F22Raptor le 23-03-2003 à 00:34:00

---------------
Is it a bird? Is it a plane? No it s F22Raptor !  -  I love flying because football, baseball, rugby, and golf only take one ball
mood
Publicité
Posté le 22-03-2003 à 23:02:39  profilanswer
 

n°340562
HappyHarry
Posté le 22-03-2003 à 23:15:13  profilanswer
 

mauvaise sous cat, c du javaSCRIPT
 
pour répondre a la question :
 

Code :
  1. onclick="window.open('http://www.villedelevallois.free.fr/meteo/meteo.htm','windowname','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,copyhistory=1,width=570,height=574')"
  2. onMouseOver = "window.defaultStatus =' '; window.status = 'La météo sur le parcours'; this.src='bbb.gif';" onMouseOut="this.src='aaa.gif';"

n°340563
pospos
Posté le 22-03-2003 à 23:16:57  profilanswer
 

c du javascript et non du java, donc il aurait fallu que tu post ce message dans la rubrique "HTML, JS" en fait.
 
sinon pour ta question regarde de ce coté:
 
http://www.echoecho.com/jsbuttons02.htm
 
il ya de nombreux tutorials sympas sur ce site
 
a+

n°340564
F22Raptor
Tête en l'air ...
Posté le 22-03-2003 à 23:17:09  profilanswer
 

HappyHarry a écrit :

mauvaise sous cat, c du javaSCRIPT
 
pour répondre a la question :
 

Code :
  1. onclick="window.open('http://www.villedelevallois.free.fr/meteo/meteo.htm','windowname','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,copyhistory=1,width=570,height=574')"
  2. onMouseOver = "window.defaultStatus =' '; window.status = 'La météo sur le parcours'; this.src='bbb.gif';" onMouseOut="this.src='aaa.gif';"

 

hop sous cat modifiée !
 
Et merci pour la réponse, je teste ça !


Message édité par F22Raptor le 22-03-2003 à 23:17:51

---------------
Is it a bird? Is it a plane? No it s F22Raptor !  -  I love flying because football, baseball, rugby, and golf only take one ball
n°340566
pospos
Posté le 22-03-2003 à 23:20:28  profilanswer
 

HappyHarry a écrit :

mauvaise sous cat, c du javaSCRIPT
 
pour répondre a la question :
 

Code :
  1. onclick="window.open('http://www.villedelevallois.free.fr/meteo/meteo.htm','windowname','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,copyhistory=1,width=570,height=574')"
  2. onMouseOver = "window.defaultStatus =' '; window.status = 'La météo sur le parcours'; this.src='bbb.gif';" onMouseOut="this.src='aaa.gif';"

 


 
je crois que "grilled" est l'appelation communément admise pour ce genre de situation... Ce petit code permet ainsi de s'affranchire d'une longue et fastidieuse phrase, à une epoque ou l'efficacité et la consision sont devenus primordiaux

n°340567
F22Raptor
Tête en l'air ...
Posté le 22-03-2003 à 23:22:49  profilanswer
 

HappyHarry a écrit :

mauvaise sous cat, c du javaSCRIPT
 
pour répondre a la question :
 

Code :
  1. onclick="window.open('http://www.villedelevallois.free.fr/meteo/meteo.htm','windowname','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,copyhistory=1,width=570,height=574')"
  2. onMouseOver = "window.defaultStatus =' '; window.status = 'La météo sur le parcours'; this.src='bbb.gif';" onMouseOut="this.src='aaa.gif';"

 

Euh ... marche pô !
Il faut le virer le return true à la fin ?


Message édité par F22Raptor le 22-03-2003 à 23:23:56

---------------
Is it a bird? Is it a plane? No it s F22Raptor !  -  I love flying because football, baseball, rugby, and golf only take one ball
n°340568
HappyHarry
Posté le 22-03-2003 à 23:23:43  profilanswer
 

pospos a écrit :


 
je crois que "grilled" est l'appelation communément admise pour ce genre de situation... Ce petit code permet ainsi de s'affranchire d'une longue et fastidieuse phrase, à une epoque ou l'efficacité et la consision sont devenus primordiaux


 
sans vouloir en aucune maniere vous offusquer, et sans vouloir paraitre a cheval sur la grammaire et encore moins agacant, je tiens sans délai à vous faire remarquer, en toute inutilité je vous l'accorde, que efficacité et concision sont deux noms féminins, et que de ce fait il eut fallu écrire "primordiales" et non "primordiaux"
 
voila de quoi rallonger inutilement un topic qui ne le meritait pas

n°340570
HappyHarry
Posté le 22-03-2003 à 23:24:33  profilanswer
 

F22Raptor a écrit :

Euh ... marche pô !
Il faut le virer le return true à la fin ?


 
poste le contenu du tag <img> en entier stp

n°340571
F22Raptor
Tête en l'air ...
Posté le 22-03-2003 à 23:24:34  profilanswer
 

HappyHarry a écrit :


 
sans vouloir en aucune maniere vous offusquer, et sans vouloir paraitre a cheval sur la grammaire et encore moins agacant, je tiens sans délai à vous faire remarquer, en toute inutilité je vous l'accorde, que efficacité et concision sont deux noms féminins, et que de ce fait il eut fallu écrire "primordiales" et non "primordiaux"
 
voila de quoi rallonger inutilement un topic qui ne le meritait pas

sisisi il mérite bicoze ça marche pô  :whistle:
 

Code :
  1. onclick="window.open('http://www.villedelevallois.free.fr/meteo/meteo.htm','windowname',
  2. 'toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,copyhistory=1,width=575,height=574')"
  3. onMouseOver = "window.defaultStatus =' '; window.status = 'La météo sur le parcours';
  4. this.src='http://www.villedelevallois.free.fr/recit/meteo_over.gif';" onMouseOut="this.src='http://www.villedelevallois.free.fr/recit/meteo.gif';"


Message édité par F22Raptor le 22-03-2003 à 23:27:11

---------------
Is it a bird? Is it a plane? No it s F22Raptor !  -  I love flying because football, baseball, rugby, and golf only take one ball
n°340575
pospos
Posté le 22-03-2003 à 23:28:31  profilanswer
 

HappyHarry a écrit :


 
sans vouloir en aucune maniere vous offusquer, et sans vouloir paraitre a cheval sur la grammaire et encore moins agacant, je tiens sans délai à vous faire remarquer, en toute inutilité je vous l'accorde, que efficacité et concision sont deux noms féminins, et que de ce fait il eut fallu écrire "primordiales" et non "primordiaux"
 
voila de quoi rallonger inutilement un topic qui ne le meritait pas


 
certes


Message édité par pospos le 22-03-2003 à 23:28:48
mood
Publicité
Posté le 22-03-2003 à 23:28:31  profilanswer
 

n°340576
F22Raptor
Tête en l'air ...
Posté le 22-03-2003 à 23:28:37  profilanswer
 

la page en question est : http://www.villedelevallois.free.fr/recit/recit.htm


---------------
Is it a bird? Is it a plane? No it s F22Raptor !  -  I love flying because football, baseball, rugby, and golf only take one ball
n°340577
pospos
Posté le 22-03-2003 à 23:29:35  profilanswer
 

F22Raptor a écrit :

sisisi il mérite bicoze ça marche pô  :whistle:
 

Code :
  1. onclick="window.open('http://www.villedelevallois.free.fr/meteo/meteo.htm','windowname',
  2. 'toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,copyhistory=1,width=575,height=574')"
  3. onMouseOver = "window.defaultStatus =' '; window.status = 'La météo sur le parcours';
  4. this.src='http://www.villedelevallois.free.fr/recit/meteo_over.gif';" onMouseOut="this.src='http://www.villedelevallois.free.fr/recit/meteo.gif';"




 
va donc voir le lien que je t'ai filé, hé patate! c'est un tutorial complet!
 
 
 
mais non t'es pas une patate, c pour rire

n°340579
F22Raptor
Tête en l'air ...
Posté le 22-03-2003 à 23:31:11  profilanswer
 

pospos a écrit :


 
va donc voir le lien que je t'ai filé, hé patate! c'est un tutorial complet!
 
 
 
mais non t'es pas une patate, c pour rire

[:yems93]  
 
Ben ton tutoriel il est bin compliqué, et la petite phrase avec le this.src et rien d'autre me plaisait bien !
 
Sans compter qu'en plus je bosse avec Netobjects Fusion, alors j'ai un peu de mal à adapter certaines originalités !


---------------
Is it a bird? Is it a plane? No it s F22Raptor !  -  I love flying because football, baseball, rugby, and golf only take one ball
n°340590
HappyHarry
Posté le 22-03-2003 à 23:46:53  profilanswer
 

c bien une balise img ton truc non ?

n°340593
F22Raptor
Tête en l'air ...
Posté le 22-03-2003 à 23:51:32  profilanswer
 

HappyHarry a écrit :

c bien une balise img ton truc non ?

ouh la ... tu m'en demandes trop !  :D  
 
En fait, sous Netobjets Fusion, je place une image et, je colle le javascript suivant :

Citation :

onclick="window.open('http://www.villedelevallois.free.fr/meteo/meteo.htm','windowname','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,copyhistory=1,width=575,height=574';)"
onMouseOver = "window.defaultStatus =' '; window.status = 'La météo sur le parcours'; return true"


 
Et ça marche : quand j'ai la souris au dessus, j'ai le texte dans la barre d'état, et quand je clique, ça m'ouvre une nouvelle fenêtre avec mon lien
 
Si tu vas sur la page http://www.villedelevallois.free.fr/recit/recit.htm et que tu demandes à afficher la source il y a ceci :
(je n'ai fait qu'ajouter ton script et tes modifs, sans toucher la structure)
 

Citation :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META NAME="Author" CONTENT="anthony">
<META NAME="Generator" CONTENT="NetObjects Fusion 5.0 for Windows">
<META NAME="Keywords" CONTENT="rallye aérien toulouse saint louis sénégal avion piper levallois aviation">
<META NAME="aviation" CONTENT="rallye aérien toulouse saint louis sénégal avion piper levallois aviation">
<TITLE>recit</TITLE>
<script langugage="JavaScript">
if(window==top.window)
{top.window.location='recit.htm'}
</script>
<BASE TARGET="_parent">
<LINK REL=STYLESHEET TYPE="text/css" HREF="../recit/style.css">
<LINK REL=STYLESHEET TYPE="text/css" HREF="../recit/site.css">
<STYLE>
</STYLE>
</HEAD>
<BODY TOPMARGIN=2 LEFTMARGIN=2 MARGINWIDTH=2 MARGINHEIGHT=2>
    <TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=620 NOF=LY>
        <TR VALIGN=TOP ALIGN=LEFT>
            <TD>
                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=569 NOF=LY>
                    <TR VALIGN=TOP ALIGN=LEFT>
                        <TD WIDTH=69 HEIGHT=1><IMG SRC="../clearpixel.gif" WIDTH=69 HEIGHT=1 BORDER=0></TD>
                        <TD></TD>
                    </TR>
                    <TR VALIGN=TOP ALIGN=LEFT>
                        <TD HEIGHT=77></TD>
                        <TD WIDTH=500><IMG ID="Banner1" HEIGHT=77 WIDTH=500 SRC="../recit/recit_NBanner.gif" BORDER=0 ALT="Au Jour le Jour ..."></TD>
                    </TR>
                </TABLE>
                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF=LY>
                    <TR VALIGN=TOP ALIGN=LEFT>
                        <TD WIDTH=140 HEIGHT=64><IMG SRC="../clearpixel.gif" WIDTH=140 HEIGHT=1 BORDER=0></TD>
                        <TD></TD>
                    </TR>
                    <TR VALIGN=TOP ALIGN=LEFT>
                        <TD></TD>
                        <TD WIDTH=349>
                            <TABLE ID="Table2" BORDER=0 CELLSPACING=2 CELLPADDING=1 WIDTH=349>
                                <TR>
                                    <TD WIDTH=84 HEIGHT=55>
                                        <P><A HREF="javascript:void(0)"  
                                            onclick="window.open('http://www.villedelevallois.free.fr/meteo/meteo.htm','windowname','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,copyhistory=1,width=575,height=574';)"
onMouseOver = "window.defaultStatus =' '; window.status = 'La météo sur le parcours'; this.src='http://www.villedelevallois.free.fr/recit/meteo_over.gif';" onMouseOut="this.src='http://www.villedelevallois.free.fr/recit/meteo.gif';"
><IMG

                                             ID="Picture21" HEIGHT=55 WIDTH=84 SRC="../meteo.gif" VSPACE=0 HSPACE=0 ALIGN="TOP" BORDER=0></A></P>
                                    </TD>
                                    <TD WIDTH=255>
                                        <P>En partenariat avec <A HREF="javascript:void(0)"  
                                            onclick="window.open('http://www.nav2000.com/','windowname','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,copyhistory=1,width=800,height=574';)"
onMouseOver = "window.defaultStatus =' '; window.status = 'Nav2000.com : la référence pour la préparation de ses navigations'; return true">nav2000.com</A>,  
                                            consultez la météo sur la ligne !</P>
                                    </TD>
                                </TR>
                            </TABLE>
                        </TD>
                    </TR>
                </TABLE>
            </TD>
            <TD>
                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=51 NOF=LY>
                    <TR VALIGN=TOP ALIGN=LEFT>
                        <TD WIDTH=26 HEIGHT=1><IMG SRC="../clearpixel.gif" WIDTH=26 HEIGHT=1 BORDER=0></TD>
                        <TD WIDTH=25><IMG SRC="../clearpixel.gif" WIDTH=25 HEIGHT=1 BORDER=0></TD>
                    </TR>
                    <TR VALIGN=TOP ALIGN=LEFT>
                        <TD></TD>
                        <TD WIDTH=25 CLASS="TextObject">
                            <script language="JavaScript1.1">
<!--
hsh = new Date();
hsd = document;
hsi = '<a href="http://www.xiti.com/xiti.asp?s=103224"';
hsi += ' TARGET="_top"><img width="39" height="25" border=0 ';
hsi += 'src="http://logv21.xiti.com/hit.xiti?s=103224';
hsi += '&p=';
hsi += '&hl=' + hsh.getHours() + 'x' + hsh.getMinutes() + 'x' + hsh.getSeconds();
if(parseFloat(navigator.appVersion)>=4)
{Xiti_s=screen;hsi += '&r=' + Xiti_s.width + 'x' + Xiti_s.height + 'x' + Xiti_s.pixelDepth + 'x' + Xiti_s.colorDepth;}
hsd.writeln(hsi + '&ref=' + hsd.referrer.replace('&', '$';) + '" title="Mesurez votre audience"></a>';);
//-->
</script>
<noscript>
<a href="http://www.xiti.com/xiti.asp?s=103224" TARGET="_top"><img width="39" height="25" border=0 src="http://logv21.xiti.com/hit.xiti?s=103224&p=&" title="Mesurez votre audience"></a>
</noscript>
 
                            <P> </P>
                        </TD>
                    </TR>
                </TABLE>
            </TD>
        </TR>
    </TABLE>
    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=620 NOF=LY>
        <TR VALIGN=TOP ALIGN=LEFT>
            <TD WIDTH=18 HEIGHT=55><IMG SRC="../clearpixel.gif" WIDTH=18 HEIGHT=1 BORDER=0></TD>
            <TD WIDTH=602><IMG SRC="../clearpixel.gif" WIDTH=602 HEIGHT=1 BORDER=0></TD>
        </TR>
        <TR VALIGN=TOP ALIGN=LEFT>
            <TD></TD>
            <TD WIDTH=602 CLASS="TextObject">
                <P STYLE="text-align: center;"><SPAN STYLE="font-size: large;">Au cours des deux premières semaines d?octobre, durant le rallye, l?équipage enverra chaque soir son compte-rendu de la journée (texte et photos) qui sera immédiatement  
                    mis en ligne sur cette page.</SPAN></P>
                <P STYLE="text-align: center;"><SPAN STYLE="font-size: large;">Au jour le jour, vous pourrez voler sur les traces de l?équipage Ville-de-Levallois, comme plusieurs classes d?écoles primaires de la ville</SPAN>.</P>
            </TD>
        </TR>
    </TABLE>
    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF=LY>
        <TR VALIGN=TOP ALIGN=LEFT>
            <TD WIDTH=18 HEIGHT=20><IMG SRC="../clearpixel.gif" WIDTH=18 HEIGHT=1 BORDER=0></TD>
            <TD></TD>
        </TR>
        <TR VALIGN=TOP ALIGN=LEFT>
            <TD></TD>
            <TD WIDTH=602>
                <TABLE ID="Table1" BORDER=0 CELLSPACING=3 CELLPADDING=1 WIDTH=602>
                    <TR>
                        <TD WIDTH=100 HEIGHT=161>
                            <P><A HREF="javascript:void(0)"  
                                onclick="window.open('http://membres.lycos.fr/ventdesable/infos.htm','windowname','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,copyhistory=1,width=800,height=574';)"
onMouseOver = "window.defaultStatus =' '; window.status = 'Le rallye 2001 vu par Tim Lamblin'; return true"
><IMG
                                 ID="Picture3" HEIGHT=167 WIDTH=100 SRC="../recit/logo_vds.gif" VSPACE=0 HSPACE=0 ALIGN="TOP" BORDER=0></A></P>
                        </TD>
                        <TD VALIGN=TOP WIDTH=489>
                            <P STYLE="text-align: justify;"><SPAN STYLE="font-size: large; color: rgb(204,102,0);">En attendant octobre 2003, nous vous invitons à consulter le site de l?équipage Vent-de-Sable qui participa au rallye 2001.</SPAN>
                            </P>
                        </TD>
                    </TR>
                </TABLE>
            </TD>
        </TR>
    </TABLE>
    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=331 NOF=LY>
        <TR VALIGN=TOP ALIGN=LEFT>
            <TD WIDTH=306 HEIGHT=39><IMG SRC="../clearpixel.gif" WIDTH=306 HEIGHT=1 BORDER=0></TD>
            <TD WIDTH=25><IMG SRC="../clearpixel.gif" WIDTH=25 HEIGHT=1 BORDER=0></TD>
        </TR>
        <TR VALIGN=TOP ALIGN=LEFT>
            <TD></TD>
            <TD WIDTH=25 CLASS="TextObject">
                <P> </P>
            </TD>
        </TR>
    </TABLE>
</BODY>
</HTML>
 


Message édité par F22Raptor le 22-03-2003 à 23:52:22

---------------
Is it a bird? Is it a plane? No it s F22Raptor !  -  I love flying because football, baseball, rugby, and golf only take one ball
n°340596
HappyHarry
Posté le 22-03-2003 à 23:56:32  profilanswer
 

arf ok
 
du coup ca devient :
 
onMouseOver="document.getElementById('Picture21';).src='bbb.gif'"
onMouseOut="document.getElementById('Picture21';).src='aaa.gif'"

n°340597
F22Raptor
Tête en l'air ...
Posté le 22-03-2003 à 23:58:34  profilanswer
 

HappyHarry a écrit :

arf ok
 
du coup ca devient :
 
onMouseOver="document.getElementById('Picture21';).src='bbb.gif'"
onMouseOut="document.getElementById('Picture21';).src='aaa.gif'"

picture21 ?
c'est un nom qu'il faut que je donne à qqchose ?


---------------
Is it a bird? Is it a plane? No it s F22Raptor !  -  I love flying because football, baseball, rugby, and golf only take one ball
n°340598
HappyHarry
Posté le 22-03-2003 à 23:59:55  profilanswer
 

dans le code que tu as collé ci dessus il y a :
 


<IMG ID="Picture21" HEIGHT=55 WIDTH=84 SRC="../meteo.gif" VSPACE=0 HSPACE=0 ALIGN="TOP" BORDER=0>

n°340599
F22Raptor
Tête en l'air ...
Posté le 23-03-2003 à 00:02:59  profilanswer
 

HappyHarry a écrit :

dans le code que tu as collé ci dessus il y a :
 


<IMG ID="Picture21" HEIGHT=55 WIDTH=84 SRC="../meteo.gif" VSPACE=0 HSPACE=0 ALIGN="TOP" BORDER=0>



ça marche, mais ça me remplace le texte de barre d'état (en onMouseOver aussi) par un javascript(void) :cry:  
 
Mais ça ouvre bien ma fenêtre  [:yaisse2]


Message édité par F22Raptor le 23-03-2003 à 00:03:42

---------------
Is it a bird? Is it a plane? No it s F22Raptor !  -  I love flying because football, baseball, rugby, and golf only take one ball
n°340601
HappyHarry
Posté le 23-03-2003 à 00:04:11  profilanswer
 

F22Raptor a écrit :

ça marche, mais ça me fait disparaître le texte de barre d'état (en onMouseOver aussi)


 
sous moz je l'ai pas du tout le texte de toutes facons :D
 
ton code ressemble a quoi du coup maintenant ?

n°340604
F22Raptor
Tête en l'air ...
Posté le 23-03-2003 à 00:07:25  profilanswer
 

HappyHarry a écrit :


 
sous moz je l'ai pas du tout le texte de toutes facons :D
 
ton code ressemble a quoi du coup maintenant ?


 
C'est Picture23 car je me le suis fait en test sur une autre image
La partie bleue ne s'affiche pas
 

Citation :

       <TR VALIGN=TOP ALIGN=LEFT>
            <TD HEIGHT=55></TD>
            <TD COLSPAN=2 ALIGN=CENTER VALIGN=MIDDLE WIDTH=84><A HREF="javascript:void(0)"  
               onclick="window.open('http://www.villedelevallois.free.fr/meteo/meteo.htm','windowname','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,copyhistory=1,width=575,height=574';)"
onMouseOver="document.getElementById('Picture23';).src='http://www.villedelevallois.free.fr/recit/meteo_over.gif'"
onMouseOut="document.getElementById('Picture23';).src='http://www.villedelevallois.free.fr/recit/meteo.gif'"
onMouseOver = "window.defaultStatus =' '; window.status = 'La météo sur le parcours'; return true"
><IMG
                 ID="Picture23" HEIGHT=55 WIDTH=84 SRC="../meteo.gif" BORDER=0></A></TD>
        </TR>
    </TABLE>
</BODY>
</HTML>


---------------
Is it a bird? Is it a plane? No it s F22Raptor !  -  I love flying because football, baseball, rugby, and golf only take one ball
n°340605
F22Raptor
Tête en l'air ...
Posté le 23-03-2003 à 00:09:31  profilanswer
 

idée comme ça : comme il y a deux MouseOver, il ne faudrait pas les rassembler ? :??:
 
 
EDIT : je pense que oui, car quand je déplace le onMouseOver de status bar au dessus de la ligne de onMouseOver image, la barre d'état refonctionne, mais l'image reste fixe !


Message édité par F22Raptor le 23-03-2003 à 00:11:41

---------------
Is it a bird? Is it a plane? No it s F22Raptor !  -  I love flying because football, baseball, rugby, and golf only take one ball
n°340607
HappyHarry
Posté le 23-03-2003 à 00:13:44  profilanswer
 

F22Raptor a écrit :

idée comme ça : comme il y a deux MouseOver, il ne faudrait pas les rassembler ? :??:
 
 
EDIT : je pense que oui, car quand je déplace le onMouseOver de status bar au dessus de la ligne de onMouseOver image, la barre d'état refonctionne, mais l'image reste fixe !


 
bah oui tu les fusionnes, j'avais juste la flemme de copier/coller le reste du contenu :sarcastic:
 
le return true a la fin sert a que dalle au fait

n°340608
F22Raptor
Tête en l'air ...
Posté le 23-03-2003 à 00:17:05  profilanswer
 

HappyHarry a écrit :


 
bah oui tu les fusionnes, j'avais juste la flemme de copier/coller le reste du contenu :sarcastic:
 
le return true a la fin sert a que dalle au fait

pour le return true, quand je le vire, le texte de barre d'état disparait
 
sinon je ne sais même pas fusionner ....  :whistle:


---------------
Is it a bird? Is it a plane? No it s F22Raptor !  -  I love flying because football, baseball, rugby, and golf only take one ball
n°340609
HappyHarry
Posté le 23-03-2003 à 00:18:29  profilanswer
 

onMouseOver = "document.getElementById('Picture23';).src='http://www.villedelevallois.free.fr/recit/meteo_over.gif';window.defaultStatus =' '; window.status = 'La météo sur le parcours'; return true;"

n°340611
F22Raptor
Tête en l'air ...
Posté le 23-03-2003 à 00:20:40  profilanswer
 

HappyHarry a écrit :

onMouseOver = "document.getElementById('Picture23';).src='http://www.villedelevallois.free.fr/recit/meteo_over.gif';window.defaultStatus =' '; window.status = 'La météo sur le parcours'; return true;"

ça maaaaaaaaaaaaaaaaaaaaaarche !!!  [:xp1700]  [:yaisse2]  
 
Merci camarade ! tu es un génie ! [:tracker]  
 
Merci aussi à pospos pour son aide désintéressée !


---------------
Is it a bird? Is it a plane? No it s F22Raptor !  -  I love flying because football, baseball, rugby, and golf only take one ball
n°340614
HappyHarry
Posté le 23-03-2003 à 00:27:34  profilanswer
 

F22Raptor a écrit :

ça maaaaaaaaaaaaaaaaaaaaaarche !!!  [:xp1700]  [:yaisse2]  
 
Merci camarade ! tu es un génie ! [:tracker]  
 
Merci aussi à pospos pour son aide désintéressée !


 
c 100 balles ;)

n°340617
F22Raptor
Tête en l'air ...
Posté le 23-03-2003 à 00:33:28  profilanswer
 

HappyHarry a écrit :


 
c 100 balles ;)

vos désirs sont des ordres  :whistle:  
http://plus2dollars.free.fr/billets.gif


Message édité par F22Raptor le 23-03-2003 à 00:33:40

---------------
Is it a bird? Is it a plane? No it s F22Raptor !  -  I love flying because football, baseball, rugby, and golf only take one ball
n°340619
HappyHarry
Posté le 23-03-2003 à 00:34:23  profilanswer
 
mood
Publicité
Posté le   profilanswer
 


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  HTML/CSS

  OnMouseOver -> afficher une autre image ? [RESOLU]

 

Sujets relatifs
Disabled des boutons qui font parti d'un tableau [résolu]Comment afficher le temps de generation de la page ?
[mysql] Joindre des tables [résolu][Java] Client FTP [Résolu]
[Resolu] [C++] template et Visual Studio 6.0[RESOLU] newb - pkoi cette erreur ???
[résolu] ouvrir un fichier au travers d'HTTP[Apache]afficher les erreurs
telecharger une image jpg au lieu de l'afficher 
Plus de sujets relatifs à : OnMouseOver -> afficher une autre image ? [RESOLU]


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR