bonjour j'ai un problème avec deux sliders sur ma page; un verticale et l'autre horizontal, un qui slide de gauche a droite et l'autre de haut en bas. Enfait lorsque celui de gauche est ouvert et que je fais ouvrir le deuxième, il y a un dysfonctionnement.
Merci
voici mon code:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
<!doctype html><head><title></title>
 
	<script type="text/javascript" src="jquery-1.4.2.js"></script>
	  <script type="text/javascript" src="mbExtruder.js"></script>
 
<script type="text/javascript">
$(document).ready(function(){
	$(".btn-slide").click(function(){
		$("#panel").slideToggle("slow");
		$(this).toggleClass("active"); return false;
	});
 
	$(".btn-edit").click(function(){
  $("#divButton").animate({
	  "width": "toggle", "opacity": 1
	}, { duration: "slow" });
	});
});
 
 
</script>
 
<style type="text/css">
 
  body {
	  background-color:#999;
	margin: 0;
	padding: 0;
	width: 570px;
	font: 75%/120% Arial, Helvetica, sans-serif;
}
a:focus {
	outline: none;
}
#panel {
	/*position:relative;
	z-index:1;*/
	background: #754c24;
	height: 100px;
	display: none;
	margin-left: 400px;
	width: 500px;
}
.slide {
	/*	position:relative;
	z-index:1;*/
	padding: 0;
	margin-top: 0;
	margin-right: 0px;
	margin-bottom: 0;
	margin-left: 400px;
	background-image: url(images/btn-slide.gif);
	background-repeat: no-repeat;
	background-position: center top;
	border-top-width: 4px;
	border-top-style: solid;
	border-top-color: #422410;
	width: 500px;
	right: 400px;
}
.btn-slide {
	/*position:relative;
	z-index:1;*/
	background: url(images/white-arrow.gif) no-repeat right -50px;
	text-align: center;
	width: 164px;
	height: 31px;
	display: block;
	font: bold 120%/100% Arial, Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 0;
}
 
#divButton
{
	/*position:relative;
	z-index:2;*/
	float:left;
	padding: 20px;
	background-color:#1C1C1C;
	height: 530px;
	width:177px;
	display: none;
	margin-top: 200;
	margin-right: 0;
	margin-bottom: 0px;
	margin-left: 0;
	position: relative;
	top: 250px;
}
.slide_edit {
	/*position:relative;
	z-index:2;*/
	/*position:absolute;*/
	background-image: url(images/btn-slide-edit.gif);
	background-repeat: no-repeat;
	float:left;
	margin: 0 0;
	/*padding: 0;*/
	border-left: solid 4px #422410;
	background-position: center;	/*border-top: solid 4px #422410;*/
	position: relative;
	top: 250px;	/*background: url(images/2.gif) no-repeat center top;*/
}
 
 
.btn-edit {
	/*text-align: center;*/
	/*position:absolute;*/
	width: 40px;
	height: 570px;
	padding: 0 0 0 0;
	margin: 0 0;
	display: block;
	font: bold 120%/100% Arial, Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
	background-image: url(images/white-arrow-edit.gif);
	background-repeat: no-repeat;
	background-position: -50px 220px;
}
 
.active {
	background-position: right 12px;
}
 
 
#divTop
{
position: absolute;
}
#divImg
{
position: absolute;
}
 
 
  </style>
  </head>
<body>
 
<div id="divButton">
 </div>
<p class="slide_edit"><a href="#" class="btn-edit">
</a></p>
 
<div id="panel">
 
</div>
 
<p class="slide"><a href="#" class="btn-slide">slide</a></p>
 
</body>
 
</html>