probleme avec ce code html
Bonsoir j'ai besoin d'un petit renseignement au sujet de ce code .
j'aimerai savoir comment faire pour que celui ci revienne au point de depart sans a avoir besoin de cliquée sur Accueil
les sous menu reste ouvert
merci de votre aide.
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192
| <html>
<head>
<meta http-equiv="Content-Language" content="fr">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Nouvelle page 1</title>
</head>
<body>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<title>Page1</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" media="screen">
<!--
body {
margin: 0;
padding: 0;
background: white;
font: 80% verdana, arial, sans-serif;
}
li {
margin: 0;
padding: 0;
list-style-type: none;
}
ul {
margin: 0;
padding: 0;
list-style-type: none;
}
dd {
margin: 0;
padding: 0;
list-style-type: none;
}
dt {
margin: 0;
padding: 0;
list-style-type: none;
}
dl {
margin: 0;
padding: 0;
list-style-type: none;
}
#menu {
position: absolute; /
top: 0;
left: 0;
}
#menu {
width: 15em;
}
#menu dt {
cursor: pointer;
margin: 2px 0;;
height: 20px;
line-height: 20px;
text-align: center;
font-weight: bold;
border: 1px solid gray;
background: #ccc;
}
#menu dd {
border: 1px solid gray;
}
#menu li {
text-align: center;
background: #fff;
}
#menu dt a {
color: #000;
text-decoration: none;
display: block;
border: 0 none;
height: 100%;
}
#menu li a {
color: #000;
text-decoration: none;
display: block;
border: 0 none;
height: 100%;
}
#menu dt a:hover {
background: #eee;
}
#menu li a:hover {
background: #eee;
}
-->
</style>
<script type="text/javascript">
<!--
window.onload=montre;
function montre(id) {
var d = document.getElementById(id);
for (var i = 1; i<=10; i++) {
if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
}
if (d) {d.style.display='block';}
}
//-->
</script>
<div id="menu" style="width: 15em; position: absolute; top: 46px; left: 51px; background-color:#FFFFFF">
<dl style="list-style-type: none; margin: 0; padding: 0">
<dt onmouseover="javascript:montre();" style="cursor: pointer; height: 20px; line-height: 20px; text-align: center; font-weight: bold; list-style-type: none; border: 1px solid gray; margin: 2px 0; padding: 0; background: #FFFFFF">
<a title="Retour à l'accueil" style="color: #000; text-decoration: none; display: block; height: 100%; border: 0 none" href="baby_gym%202.htm">
Accueil</a></dt>
</dl>
<dl style="list-style-type: none; margin: 0; padding: 0">
<dt onmouseover="javascript:montre('smenu1');" style="cursor: pointer; height: 20px; line-height: 20px; text-align: center; font-weight: bold; list-style-type: none; border: 1px solid gray; margin: 2px 0; padding: 0; background: #FFFFFF">
Baby Gym</dt>
<dd id="smenu1" style="list-style-type: none; border: 1px solid gray; margin: 0; padding: 0">
<ul style="list-style-type: none; margin: 0; padding: 0">
<li style="text-align: center; list-style-type: none; margin: 0; padding: 0; background: #fff">
<a style="color: #0066FF; text-decoration: none; display: block; height: 100%; border: 0 none" href="#">
photo</a></li>
<li style="text-align: center; list-style-type: none; margin: 0; padding: 0; background: #fff">
<a style="color: #0066FF; text-decoration: none; display: block; height: 100%; border: 0 none" href="#">
Sous-Menu 1.2</a></li>
<li style="text-align: center; list-style-type: none; margin: 0; padding: 0; background: #fff">
<a style="color: #0066FF; text-decoration: none; display: block; height: 100%; border: 0 none" href="#">
Sous-Menu 1.3</a></li>
<li style="text-align: center; list-style-type: none; margin: 0; padding: 0; background: #fff">
<a style="color: #0066FF; text-decoration: none; display: block; height: 100%; border: 0 none" href="#">
Sous-Menu 1.4</a></li>
<li style="text-align: center; list-style-type: none; margin: 0; padding: 0; background: #fff">
<a style="color: #0066FF; text-decoration: none; display: block; height: 100%; border: 0 none" href="#">
Sous-Menu 1.5</a></li>
<li style="text-align: center; list-style-type: none; margin: 0; padding: 0; background: #fff">
<a style="color: #0066FF; text-decoration: none; display: block; height: 100%; border: 0 none" href="#">
Sous-Menu 1.6</a></li>
</ul>
</dd>
</dl>
<dl style="list-style-type: none; margin: 0; padding: 0">
<dt onmouseover="javascript:montre('smenu3');" style="cursor: pointer; height: 20px; line-height: 20px; text-align: center; font-weight: bold; list-style-type: none; border: 1px solid gray; margin: 2px 0; padding: 0; background: #FFFFFF">
Gym</dt>
</dl>
</dd>
<dl style="list-style-type: none; margin: 0; padding: 0">
<dd id="smenu3" style="list-style-type: none; border: 1px solid gray; margin: 0; padding: 0">
<ul style="list-style-type: none; margin: 0; padding: 0">
<li style="text-align: center; list-style-type: none; margin: 0; padding: 0; background: #fff">
<a style="color: #0066FF; text-decoration: none; display: block; height: 100%; border: 0 none" href="#">
Photos</a></li>
<li style="text-align: center; list-style-type: none; margin: 0; padding: 0; background: #fff">
<a style="color: #0066FF; text-decoration: none; display: block; height: 100%; border: 0 none" href="#">
Sous-Menu 3.2</a></li>
<li style="text-align: center; list-style-type: none; margin: 0; padding: 0; background: #fff">
<a style="color: #0066FF; text-decoration: none; display: block; height: 100%; border: 0 none" href="#">
Sous-Menu 3.3</a></li>
<li style="text-align: center; list-style-type: none; margin: 0; padding: 0; background: #fff">
<a style="color: #0066FF; text-decoration: none; display: block; height: 100%; border: 0 none" href="#">
Sous-Menu 3.4</a></li>
<li style="text-align: center; list-style-type: none; margin: 0; padding: 0; background: #fff">
<a style="color: #0066FF; text-decoration: none; display: block; height: 100%; border: 0 none" href="#">
Sous-Menu 3.5</a></li>
</ul>
</dd>
</dl>
<dl style="list-style-type: none; margin: 0; padding: 0">
<dt onmouseover="javascript:montre('smenu4');" style="cursor: pointer; height: 20px; line-height: 20px; text-align: center; font-weight: bold; list-style-type: none; border: 1px solid gray; margin: 2px 0; padding: 0; background: #FFFFFF">
Grs</dt>
<dd id="smenu4" style="list-style-type: none; border: 1px solid gray; margin: 0; padding: 0">
<ul style="list-style-type: none; margin: 0; padding: 0">
<li style="text-align: center; list-style-type: none; margin: 0; padding: 0; background: #fff">
<a style="color: #0066FF; text-decoration: none; display: block; height: 100%; border: 0 none" href="#">
Photos</a></li>
<li style="text-align: center; list-style-type: none; margin: 0; padding: 0; background: #fff">
<a style="color: #0066FF; text-decoration: none; display: block; height: 100%; border: 0 none" href="#">
Sous-Menu 4.2</a></li>
<li style="text-align: center; list-style-type: none; margin: 0; padding: 0; background: #fff">
<a style="color: #0066FF; text-decoration: none; display: block; height: 100%; border: 0 none" href="#">
Sous-Menu 4.3</a></li><li style="text-align: center; list-style-type: none; margin: 0; padding: 0; background: #fff">
<a style="color: #0066FF; text-decoration: none; display: block; height: 100%; border: 0 none" href="#">
Sous-Menu 4.3</a></li>
</ul>
</dd>
</dl>
</div>
<p> </p>
<p> </p>
</body>
</html> |