Clic sur image
Résolu
filing45
-
75billy62 -
75billy62 -
bonjour,
sur mon site, j'ai une image associé à un "onmouseover". Lorsque je clique sur cette image, je suis redirigé vers une page inconnue.
peut-on empêcher ceci par une astuce ou rendre inactif le clic sur cette image ?
merci
sur mon site, j'ai une image associé à un "onmouseover". Lorsque je clique sur cette image, je suis redirigé vers une page inconnue.
peut-on empêcher ceci par une astuce ou rendre inactif le clic sur cette image ?
merci
A voir également:
- Clic sur image
- Image iso - Guide
- Acronis true image - Télécharger - Sauvegarde
- Reduire taille image - Guide
- Légender une image - Guide
- Comment rechercher une image sur google - Guide
3 réponses
Sinon:
<BODY> <A HREF="javascript:void(0)" onMouseOver="img.src='../images/connect.gif' " onMouseOut="img.src='../images/creteil.gif' "> <IMG NAME="img" WIDTH=60 HEIGHT=61 BORDER=0 SRC="../images/creteil.gif"></A> .......... </BODY>
Bonjour
Je me lance dans la creation d'un site et j'aie besoin d'un coup de pouce.
Lorsque je clic sur l'image un cadre en trait fin fait son apparition comment l'enlever.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>menuphoto</title>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1" />
<style type="text/css">
body { background-image:url(bordu_212.gif); background-repeat:repeat; }
</style>
<style type="text/css">
<!--
a {
text-decoration: none; /* définition du lien qui affichera le calque */
color: black;
}
a:hover {
background: none; /* correction d'un bug IE */
}
a span { /* définition de la balise <span> inclue dans <a> */
display: none;
}
a:hover span { /* définition de la balise <span> au survol */
display: block;
}
img {
border:5;
}
, dt, dd {
margin:50;
padding:100;
}
{
float: left;
width: 100px;
text-align: center;
margin: 1em;
padding: 0.5em;
border: 1px solid black;
}
-->
</style>
<style><endnote><head>
<style type="text/css">
body { background-image:url(bordu_212.gif); background-repeat:repeat; }
</style>
</head>
<body>
<p align="center"><big
style="font-weight: bold; font-family: Helvetica,Arial,sans-serif;">
LES APPAREILS A BATTERIES AMOVIBLE<br />
<br />
<br />
<br />
</big></p>
<p align="center">
<big
style="font-weight: bold; font-family: Helvetica,Arial,sans-serif;">*Un
clic sur la photo et vous aurez toutes les
caracteristiques
le l'appareil.<br />
</big>
</p>
<dl>
<dd><a href="looky_ok.html"><img
style="border: 5px solid ; width: 390px; height: 154px;"
src="looky1.jpg" alt="" hspace="40" vspace="30" /><span>LE
LOOKY </span></a></dd>
</dl>
<dl>
<dd><a href="amigo01.html"><img
style="border: 5px solid ; width: 230px; height: 176px;"
src="amigoseul.jpg" alt="" hspace="480"
vspace="30" /> <span>L'AMIGO</span></a> </dd>
</dl>
<dl>
<dd> <a href="olympia01.html"><img
style="border: 5px solid ; width: 243px; height: 208px;"
src="olympia.jpg" alt="" hspace="50" vspace="30" />
<span>L'OLYMPIA</span></a> </dd>
</dl>
<p align="center"><a href="?">haut de page</a><br />
</p>
<p align="center">
<a href="javascript:history.go(-1)"><b>PRECEDENTE</b></a>
</p>
<p align="center"> <a href="edouard004.html">RETOUR
AU MENU</a> </p>
</body>
</html>
Je me lance dans la creation d'un site et j'aie besoin d'un coup de pouce.
Lorsque je clic sur l'image un cadre en trait fin fait son apparition comment l'enlever.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>menuphoto</title>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1" />
<style type="text/css">
body { background-image:url(bordu_212.gif); background-repeat:repeat; }
</style>
<style type="text/css">
<!--
a {
text-decoration: none; /* définition du lien qui affichera le calque */
color: black;
}
a:hover {
background: none; /* correction d'un bug IE */
}
a span { /* définition de la balise <span> inclue dans <a> */
display: none;
}
a:hover span { /* définition de la balise <span> au survol */
display: block;
}
img {
border:5;
}
, dt, dd {
margin:50;
padding:100;
}
{
float: left;
width: 100px;
text-align: center;
margin: 1em;
padding: 0.5em;
border: 1px solid black;
}
-->
</style>
<style><endnote><head>
<style type="text/css">
body { background-image:url(bordu_212.gif); background-repeat:repeat; }
</style>
</head>
<body>
<p align="center"><big
style="font-weight: bold; font-family: Helvetica,Arial,sans-serif;">
LES APPAREILS A BATTERIES AMOVIBLE<br />
<br />
<br />
<br />
</big></p>
<p align="center">
<big
style="font-weight: bold; font-family: Helvetica,Arial,sans-serif;">*Un
clic sur la photo et vous aurez toutes les
caracteristiques
le l'appareil.<br />
</big>
</p>
<dl>
<dd><a href="looky_ok.html"><img
style="border: 5px solid ; width: 390px; height: 154px;"
src="looky1.jpg" alt="" hspace="40" vspace="30" /><span>LE
LOOKY </span></a></dd>
</dl>
<dl>
<dd><a href="amigo01.html"><img
style="border: 5px solid ; width: 230px; height: 176px;"
src="amigoseul.jpg" alt="" hspace="480"
vspace="30" /> <span>L'AMIGO</span></a> </dd>
</dl>
<dl>
<dd> <a href="olympia01.html"><img
style="border: 5px solid ; width: 243px; height: 208px;"
src="olympia.jpg" alt="" hspace="50" vspace="30" />
<span>L'OLYMPIA</span></a> </dd>
</dl>
<p align="center"><a href="?">haut de page</a><br />
</p>
<p align="center">
<a href="javascript:history.go(-1)"><b>PRECEDENTE</b></a>
</p>
<p align="center"> <a href="edouard004.html">RETOUR
AU MENU</a> </p>
</body>
</html>