Précédent   Forum des professionnels en informatique > Webmasters - Développement Web > JavaScript
JavaScript Forum programmation JavaScript. Lire : Cours JavaScript, FAQ JavaScript, Toutes les FAQ JavaScript et Sources JavaScript
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
Vieux 28/09/2008, 21h49   #1
Candidat au titre de Membre du Club
 
Inscription : juin 2006
Messages : 92
Détails du profil
Informations forums :
Inscription : juin 2006
Messages : 92
Points : 12
Points : 12
Par défaut Certification W3C et logo de résolution

Bonjour,
je suis tombé sur ce site par hasard alors que je cherchais des images désignant que le cite utilisait une résolution 1024, qui d'ailleurs je n'ai pas trouvé.Ou pourrais je trouver ces images ?

Sinon je voulais savoir comment passer la certification W3C pour y mettre leur logo qui font "pro"
Le problème, c'est que je me trouve avec plus de 100 erreurs
Certes pas toutes générée par mon code heureusement, enfin malheureusement aussi car je vais jamais pouvoir passer le test comme ca, non ?
Bref, si quelqu'un pourrait m'aider a "nettoyer" mon code car même si je passe pas, qu'au moins j'ai une page plus propre.

lien de test de certification :

http://validator.w3.org/check?uri=ht...idator%2F1.591

code source de l'index :

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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
<!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>
<link rel="shortcut icon" type="image/x-icon" href="http://electropica.free.fr/images/icone.ico" />
<link rel="icon" type="image/png" href="http://electropica.free.fr/images/icone.png" />
<meta name="y_key" content="ddb1e01017d082e7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="TITLE" content="m.o.v.e France - SITE NON OFFICIEL" />
<meta name="DESCRIPTION" content="Site Non-Officiel Francophone de M.O.V.E contenant la biographie, la discographie, les paroles, des videos et des videos live" />
<meta name="KEYWORDS" content="move,france,lyrics,MV,paroles,videos, video, biographie,biography,discography,discographie,yuri,motsu,kimura,electropica,avex,record,unofficial,non-officiel" />
<meta name="LANGUAGE" content="FR" />
<meta name="ROBOTS" content="All" />
<meta name="AUTHOR" content="Electropica" />
<meta name="OWNER" content="electropica@free.fr" />
<meta name="RATING" content="GENERAL" />
<meta name="ABSTRACT" content="Site Non-Officiel Francophone de M.O.V.E" />
<meta name="REVISIT-AFTER" content="3 DAYS" />
<title>m.o.v.e France - SITE NON OFFICIEL</title>
 
<style type="text/css">
<!--
body,td,th {
	color: #FFFFFF;
	font-family: Verdana;
	font-weight: bold;
}
body {
	background-color: #000000;
	background-image: url(images/top.png);
	background-repeat: no-repeat;
}
a:link {
	color: #FFFFFF;
}
a:visited {
	color: #FFFFFF;
}
a:hover {
	color: #ffffcc;
}
a:active {
	color: #FFFFFF;
}
dl, dt, dd, ul, li {
margin: 0;
padding: 0;
list-style-type: none;
}
#menuie {
	position: absolute;
	top: 251px;
	left: 140px;
	z-index:100;
	width: 743px;
}
#menuff {
	position: absolute;
	top: 251px;
	left: 140px;
	z-index:100;
	width: 743px;
}
#menuie dl, #menuff dl {
float: left;
width: 7.7em;
text-align:center
}
#menuie dt, #menuff dt {
cursor: pointer;
text-align: center;
font-weight: bold;
border: 1px;
margin: 1px;
}
#menuie dd, #menuff dd {
display: none;
border: 1px;
}
#menuie li, #menuff li {
text-align: center;
}
#menuie li a, #menuie dt a, #menuff li a, #menuff dt a {
color: #fff;
text-decoration: none;
display: block;
height: 100%;
border: 0 none;
}
#menuie li a:hover, #menuie li a:focus, #menuie dt a:hover, #menuie dt a:focus, #menuff li a:hover, #menuff li a:focus, #menuff dt a:hover, #menuff dt a:focus {
color: #ffffcc;
}
#page
{
position:relative;
left : 0px;
width:1024px;
height:auto;
top: 400px;
}
#bas
{
	position:relative;
	background-color:#000000;
	bottom: 0px;
	top: 450px;
	height: 400px;
	width: 1024px;
}
#basdroite
{
	position:absolute;
	left : 674px;
	width:350px;
	height:340px;
	top: 0px;
}
#bascentre
{
	position:absolute;
	left : 350px;
	width:324px;
	height:340px;
	top: 0px;
}
#basgauche
{
	position:absolute;
	left : 0px;
	width:350px;
	height:340px;
	top: 0px;
}
#copy
{
	position:absolute;
	background-color:#000000;
	left : 0px;
	width:1024px;
	height:50px;
	top: 340px;
}
.style1 {font-size: 12px}
.style2 {font-size: 24px}
-->
</style>
 
<script type="text/javascript">
// <![CDATA[
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>
 
<script type="text/javascript">
// <![CDATA[
function PopupCentrer(page,largeur,hauteur,options) {
var top=(screen.height-hauteur)/2;
var left=(screen.width-largeur)/2;
window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}
// ]]>
</script>
 
<script type='text/JavaScript'>
// <![CDATA[
var xhr = null; 
function getXhr()
{
	if(window.XMLHttpRequest) { 
	xhr = new XMLHttpRequest();
	}
	else if(window.ActiveXObject) {
		try	{
			xhr = new ActiveXObject("Msxml2.XMLHTTP");
		} 
		catch (e)
		{
			xhr = new ActiveXObject("Microsoft.XMLHTTP");
		}
	}	
	else {
	alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest...");
	xhr = false;
	}
	return xhr;
}
 
function ShowPage(page)
{
var xhr = getXhr();
xhr.onreadystatechange = function()
    {
    	if(xhr.readyState == 4 && xhr.status == 200)
			{
			document.getElementById('page').innerHTML=xhr.responseText;
			}
	}
xhr.open("GET","ajax.php?page="+page,true);
xhr.send(null);
}
 
// ]]>
</script>
</head>
 
<body onload="ShowPage(1);montre()" oncontextmenu="return false" ondragstart="return false" onselectstart="return false"> 
 
<script type='text/JavaScript'>
// <![CDATA[
function bloc(){return false;}
// ]]>
</script>
 
<?php
	if (ereg("Firefox", $_SERVER["HTTP_USER_AGENT"])) 	 
	{  
	echo "<div id=\"menuff\">";
	}
	else
	{
	echo "<div id=\"menuie\">";
	}
	?>
	<dl>
		<dt onmouseover="javascript:montre();"> <a href="#" onclick="ShowPage(1), document.title='m.o.v.e France - SITE NON OFFICIEL'">Accueil</a></dt>
	</dl>
 
	<dl>			
		<dt onmouseover="javascript:montre('smenu1');">Biographie</dt>
			<dd id="smenu1" onmouseover="javascript:montre('smenu1');" onmouseout="javascript:montre('');">
				<ul>
					<li><a href="#" onclick="ShowPage(2), document.title='m.o.v.e France - SITE NON OFFICIEL - Biographie M.O.V.E'">m.o.v.e</a></li>
					<li><a href="#" onclick="ShowPage(3), document.title='m.o.v.e France - SITE NON OFFICIEL - Biographie Yuri'">Yuri</a></li>
					<li><a href="#" onclick="ShowPage(4), document.title='m.o.v.e France - SITE NON OFFICIEL - Biographie Motsu'">Motsu</a></li>
					<li><a href="#" onclick="ShowPage(5), document.title='m.o.v.e France - SITE NON OFFICIEL - Biographie T-kimura'">T-kimura</a></li>
				</ul>
			</dd>
	</dl>
 
	<dl>			
		<dt onmouseover="javascript:montre('smenu2');">Discographie</dt>
			<dd id="smenu2" onmouseover="javascript:montre('smenu2');" onmouseout="javascript:montre('');">
				<ul>
					<li><a href="#" onclick="ShowPage(6), document.title='m.o.v.e France - SITE NON OFFICIEL - Discographie Albums'">Albums</a></li>
					<li><a href="#" onclick="ShowPage(7), document.title='m.o.v.e France - SITE NON OFFICIEL - Discographie Singles'">Singles</a></li>
					<li><a href="#" onclick="ShowPage(8), document.title='m.o.v.e France - SITE NON OFFICIEL - Discographie DVDs'">DVDs</a></li>
			  </ul>
			</dd>
	</dl>
 
    <dl>			
		<dt onmouseover="javascript:montre('smenu3');">Multimedia</dt>
			<dd id="smenu3" onmouseover="javascript:montre('smenu3');" onmouseout="javascript:montre('');">
				<ul>
					<li><a href="#" onclick="ShowPage(9), document.title='m.o.v.e France - SITE NON OFFICIEL - Paroles'">Paroles</a></li>
                    <li><a href="#" onclick="ShowPage(10), document.title='m.o.v.e France - SITE NON OFFICIEL - Videos Clips'">Clips</a></li>
                    <li><a href="#" onclick="ShowPage(11), document.title='m.o.v.e France - SITE NON OFFICIEL - Videos Live'">Live</a></li>
                    <li><a href="#" onclick="ShowPage(103), document.title='m.o.v.e France - SITE NON OFFICIEL - Covers'">Covers</a></li>
                    <li><a href="#" onclick="ShowPage(104), document.title='m.o.v.e France - SITE NON OFFICIEL - Making Of'">Making Of</a></li>
                    <li><a href="#" onclick="ShowPage(112), document.title='m.o.v.e France - SITE NON OFFICIEL - Photos'">Photos</a></li>
				</ul>
			</dd>
	</dl>
 
	<dl>			
		<dt onmouseover="javascript:montre('smenu4');">Communauté</dt>
			<dd id="smenu4" onmouseover="javascript:montre('smenu4');" onmouseout="javascript:montre('');">
				<ul>
				  <li><a href="/forum/" target="_blank">Forums</a></li>
                  <li><a href='#' onclick='javascript:window.open("/chat/index.php","AjaxChat","resizable=no,scrollbars=no,width=700,height=360");'>Chat</a></li>
                  <li><a href='#' onclick='javascript:window.open("/ajoutmv.php","AjoutVidéo","resizable=no,scrollbars=no,width=900,height=300");'>Ajout vidéo</a></li>
				</ul>
			</dd>
	</dl>
 
    <dl>			
		<dt onmouseover="javascript:montre('smenu5');">Contact</dt>
			<dd id="smenu5" onmouseover="javascript:montre('smenu5');" onmouseout="javascript:montre('');">
				<ul>
				  <li><a href="mailto:electropica@free.fr?subject=Site M.O.V.E">E-Mail</a></li>
                  <li><a href='javascript:PopupCentrer("mail.php",550,450,"menubar=no,scrollbars=no,statusbar=no")'>Formulaire</a></li>
				</ul>
		  </dd>
	</dl>
</div>
 
<div id="page">
  <div align="center"></div>
</div>
 
<div id="bas">
 
<div id="basgauche">
  <div align="center">
    <object width="300" height="340" id="obj_1221920555350"><param name="movie" value="http://movefrance.chatango.com/group"/><param name="wmode" value="transparent"/><param name="AllowScriptAccess" VALUE="always"/><param name="AllowNetworking" VALUE="all"/><param name="AllowFullScreen" VALUE="true"/><param name="flashvars" value="cid=1221920555350&a=000000&b=100&c=999999&d=848484&e=000000&g=CCCCCC&h=333333&i=29&j=CCCCCC&k=666666&l=333333&m=000000&n=CCCCCC&s=1&w=0"/><embed id="emb_1221920555350" src="http://movefrance.chatango.com/group" width="300" height="340" wmode="transparent" allowScriptAccess="always" allowNetworking="all" type="application/x-shockwave-flash" allowFullScreen="true" flashvars="cid=1221920555350&a=000000&b=100&c=999999&d=848484&e=000000&g=CCCCCC&h=333333&i=29&j=CCCCCC&k=666666&l=333333&m=000000&n=CCCCCC&s=1&w=0"></embed></object>
  </div>
</div>
 
<div id="bascentre">
  <h6 align="center">
  <?php $fichier = 'compteur';
if( !file_exists($fichier) ) {
$fp = fopen($fichier, "w");
fwrite($fp, serialize(array()));
fclose($fp);
}
$argument_visites = 'visites';
$argument_requêtes = 'requêtes';
$ip = $_SERVER['REMOTE_ADDR'];
$time = date('YmdGis');
$lignes = file($fichier);
$donnees = unserialize($lignes[0]);
foreach( $donnees as $cle => $valeur )
{
if( substr($valeur, 0, 8) != substr($time, 0, 8) &&
$cle != $argument_visites &&
$cle != $argument_requêtes ) {
unset($donnees[$cle]);
}
}
$donnees[$argument_requêtes]++;
if( !$donnees[$ip] ) {
$donnees[$argument_visites]++;
$donnees[$ip] = $time;
}
$nb_visiteurs = $donnees[$argument_visites];
$nb_aujourdhui = count($donnees)-2;
$nb_requêtes = $donnees[$argument_requêtes];
$fp = fopen($fichier,"w");
fwrite($fp, serialize($donnees));
fclose($fp);
echo $nb_visiteurs." visiteurs totals<br />";
echo $nb_aujourdhui." aujourd'hui<br />";
echo $nb_requêtes." connexions totales";
?>
<br />
<br />
  <a href="http://www.xiti.com/xiti.asp?s=382067" title="WebAnalytics" target="_top">
    <script type="text/javascript">
<!--
Xt_param = 's=382067&p=index';
try {Xt_r = top.document.referrer;}
catch(e) {Xt_r = document.referrer; }
Xt_h = new Date();
Xt_i = '<img width="80" height="15" border="0" alt="" ';
Xt_i += 'src="http://logv3.xiti.com/g.xiti?'+Xt_param;
Xt_i += '&hl='+Xt_h.getHours()+'x'+Xt_h.getMinutes()+'x'+Xt_h.getSeconds();
if(parseFloat(navigator.appVersion)>=4)
{Xt_s=screen;Xt_i+='&r='+Xt_s.width+'x'+Xt_s.height+'x'+Xt_s.pixelDepth+'x'+Xt_s.colorDepth;}
document.write(Xt_i+'&ref='+Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$')+'" title="Internet Audience">');
//-->
    </script>
    <noscript><img width="80" height="15" src="http://logv3.xiti.com/g.xiti?s=382067&p=index" alt="WebAnalytics" />
      </noscript>
 
 
  </a></h6>
  </div>
 
<div id="basdroite">
  <div align="center">
    <object width="300" height="340"><param name="movie" value="http://media.imeem.com/pl/NIBoSvxLbo/autoShuffle=true/" />
    </param>
    <param name="wmode" value="transparent" />
    </param>
    <param name="FlashVars" value="backColor=000000&primaryColor=999999&secondaryColor=4d4d4d&linkColor=666666">
    </param>
    <embed src="http://media.imeem.com/pl/NIBoSvxLbo/autoShuffle=true/" type="application/x-shockwave-flash" width="300" height="340" wmode="transparent"FlashVars="backColor=000000&primaryColor=999999&secondaryColor=4d4d4d&linkColor=666666" />
    </embed>
    </object>
  </div>
</div>
 
<div id="copy">      
  <h5 align="center"><span class="style1">&copy; 2008 - M.O.V.E France</span></h5>
  </div>
</div>
</body>
</html>
Merci d'avance.

Dernière modification par Spike21 ; 28/09/2008 à 22h33.
Spike21 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 28/09/2008, 22h42   #2
Inactif
 
Avatar de Kerod
 
Inscription : septembre 2004
Messages : 11 753
Détails du profil
Informations forums :
Inscription : septembre 2004
Messages : 11 753
Points : 14 585
Points : 14 585
Avant toutes choses si tu veux de l'aide au niveau validation il faut fournir le code HTML épuré. Autrement dit tu demandes à ton navigateur d'afficher le code source et tu nous le postes

C'est le seul moyen d'être efficace

Pendant que j'y pense les & ne sont pas valides; Donc soit tu les remplaces manuellement par &amp; soit tu utilises la fonction htmlentities de php.

Ensuite les évènements onselectstart et cie n'existe pas en XHTML 1.0
Kerod est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 29/09/2008, 01h14   #3
Candidat au titre de Membre du Club
 
Inscription : juin 2006
Messages : 92
Détails du profil
Informations forums :
Inscription : juin 2006
Messages : 92
Points : 12
Points : 12
& et &amp; sont les même choses ?
En tout cas ca marche pas en changeant !

le ondrap et oncontextmenu marchent en tout cas, donc je dois les remplacer, je veux pas trop voir des transcriptions et traductions de 20 lignes que j'aurai faites (ou que quelqu'un aura fait) être copiées un peu n'importe ou sans être mis au courant...

Pour la source épurée... c'est presque la même

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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
<!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>
<link rel="shortcut icon" type="image/x-icon" href="http://electropica.free.fr/images/icone.ico" />
<link rel="icon" type="image/png" href="http://electropica.free.fr/images/icone.png" />
<meta name="y_key" content="ddb1e01017d082e7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="TITLE" content="m.o.v.e France - SITE NON OFFICIEL" />
<meta name="DESCRIPTION" content="Site Non-Officiel Francophone de M.O.V.E contenant la biographie, la discographie, les paroles, des videos et des videos live" />
<meta name="KEYWORDS" content="move,france,lyrics,MV,paroles,videos, video, biographie,biography,discography,discographie,yuri,motsu,kimura,electropica,avex,record,unofficial,non-officiel" />
<meta name="LANGUAGE" content="FR" />
<meta name="ROBOTS" content="All" />
<meta name="AUTHOR" content="Electropica" />
<meta name="OWNER" content="electropica@free.fr" />
<meta name="RATING" content="GENERAL" />
<meta name="ABSTRACT" content="Site Non-Officiel Francophone de M.O.V.E" />
<meta name="REVISIT-AFTER" content="3 DAYS" />
 
<title>m.o.v.e France - SITE NON OFFICIEL</title>
 
<style type="text/css">
<!--
body,td,th {
	color: #FFFFFF;
	font-family: Verdana;
	font-weight: bold;
}
body {
	background-color: #000000;
	background-image: url(images/top.png);
	background-repeat: no-repeat;
}
a:link {
	color: #FFFFFF;
}
a:visited {
	color: #FFFFFF;
}
a:hover {
	color: #ffffcc;
}
a:active {
	color: #FFFFFF;
}
dl, dt, dd, ul, li {
margin: 0;
padding: 0;
list-style-type: none;
}
#menuie {
	position: absolute;
	top: 251px;
	left: 140px;
	z-index:100;
	width: 743px;
}
#menuff {
	position: absolute;
	top: 251px;
	left: 140px;
	z-index:100;
	width: 743px;
}
#menuie dl, #menuff dl {
float: left;
width: 7.7em;
text-align:center
}
#menuie dt, #menuff dt {
cursor: pointer;
text-align: center;
font-weight: bold;
border: 1px;
margin: 1px;
}
#menuie dd, #menuff dd {
display: none;
border: 1px;
}
#menuie li, #menuff li {
text-align: center;
}
#menuie li a, #menuie dt a, #menuff li a, #menuff dt a {
color: #fff;
text-decoration: none;
display: block;
height: 100%;
border: 0 none;
}
#menuie li a:hover, #menuie li a:focus, #menuie dt a:hover, #menuie dt a:focus, #menuff li a:hover, #menuff li a:focus, #menuff dt a:hover, #menuff dt a:focus {
color: #ffffcc;
}
#page
{
position:relative;
left : 0px;
width:1024px;
height:auto;
top: 400px;
}
#bas
{
	position:relative;
	background-color:#000000;
	bottom: 0px;
	top: 450px;
	height: 400px;
	width: 1024px;
}
#basdroite
{
	position:absolute;
	left : 674px;
	width:350px;
	height:340px;
	top: 0px;
}
#bascentre
{
	position:absolute;
	left : 350px;
	width:324px;
	height:340px;
	top: 0px;
}
#basgauche
{
	position:absolute;
	left : 0px;
	width:350px;
	height:340px;
	top: 0px;
}
#copy
{
	position:absolute;
	background-color:#000000;
	left : 0px;
	width:1024px;
	height:50px;
	top: 340px;
}
.style1 {font-size: 12px}
.style2 {font-size: 24px}
-->
</style>
 
<script type="text/javascript">
// <![CDATA[
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>
 
<script type="text/javascript">
// <![CDATA[
function PopupCentrer(page,largeur,hauteur,options) {
var top=(screen.height-hauteur)/2;
var left=(screen.width-largeur)/2;
window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}
// ]]>
</script>
 
<script type='text/JavaScript'>
// <![CDATA[
 
var xhr = null; 
function getXhr()
{
	if(window.XMLHttpRequest) { 
	xhr = new XMLHttpRequest();
	}
	else if(window.ActiveXObject) {
		try	{
			xhr = new ActiveXObject("Msxml2.XMLHTTP");
		} 
		catch (e)
		{
			xhr = new ActiveXObject("Microsoft.XMLHTTP");
		}
	}	
	else {
	alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest...");
	xhr = false;
	}
	return xhr;
}
 
function ShowPage(page)
{
var xhr = getXhr();
xhr.onreadystatechange = function()
    {
    	if(xhr.readyState == 4 && xhr.status == 200)
			{
			document.getElementById('page').innerHTML=xhr.responseText;
			}
	}
xhr.open("GET","ajax.php?page="+page,true);
xhr.send(null);
}
 
// ]]>
</script>
</head>
 
<body onload="ShowPage(1);montre()" oncontextmenu="return false" ondragstart="return false" onselectstart="return false"> 
 
 
<script type='text/JavaScript'>
// <![CDATA[
function bloc(){return false;}
// ]]>
</script>
 
<div id="menuff">	<dl>
		<dt onmouseover="javascript:montre();"> <a href="#" onclick="ShowPage(1), document.title='m.o.v.e France - SITE NON OFFICIEL'">Accueil</a></dt>
	</dl>
 
	<dl>			
		<dt onmouseover="javascript:montre('smenu1');">Biographie</dt>
			<dd id="smenu1" onmouseover="javascript:montre('smenu1');" onmouseout="javascript:montre('');">
 
				<ul>
					<li><a href="#" onclick="ShowPage(2), document.title='m.o.v.e France - SITE NON OFFICIEL - Biographie M.O.V.E'">m.o.v.e</a></li>
					<li><a href="#" onclick="ShowPage(3), document.title='m.o.v.e France - SITE NON OFFICIEL - Biographie Yuri'">Yuri</a></li>
					<li><a href="#" onclick="ShowPage(4), document.title='m.o.v.e France - SITE NON OFFICIEL - Biographie Motsu'">Motsu</a></li>
					<li><a href="#" onclick="ShowPage(5), document.title='m.o.v.e France - SITE NON OFFICIEL - Biographie T-kimura'">T-kimura</a></li>
				</ul>
			</dd>
 
	</dl>
 
	<dl>			
		<dt onmouseover="javascript:montre('smenu2');">Discographie</dt>
			<dd id="smenu2" onmouseover="javascript:montre('smenu2');" onmouseout="javascript:montre('');">
				<ul>
					<li><a href="#" onclick="ShowPage(6), document.title='m.o.v.e France - SITE NON OFFICIEL - Discographie Albums'">Albums</a></li>
					<li><a href="#" onclick="ShowPage(7), document.title='m.o.v.e France - SITE NON OFFICIEL - Discographie Singles'">Singles</a></li>
					<li><a href="#" onclick="ShowPage(8), document.title='m.o.v.e France - SITE NON OFFICIEL - Discographie DVDs'">DVDs</a></li>
 
			  </ul>
			</dd>
	</dl>
 
    <dl>			
		<dt onmouseover="javascript:montre('smenu3');">Multimedia</dt>
			<dd id="smenu3" onmouseover="javascript:montre('smenu3');" onmouseout="javascript:montre('');">
				<ul>
					<li><a href="#" onclick="ShowPage(9), document.title='m.o.v.e France - SITE NON OFFICIEL - Paroles'">Paroles</a></li>
 
                    <li><a href="#" onclick="ShowPage(10), document.title='m.o.v.e France - SITE NON OFFICIEL - Videos Clips'">Clips</a></li>
                    <li><a href="#" onclick="ShowPage(11), document.title='m.o.v.e France - SITE NON OFFICIEL - Videos Live'">Live</a></li>
                    <li><a href="#" onclick="ShowPage(103), document.title='m.o.v.e France - SITE NON OFFICIEL - Covers'">Covers</a></li>
                    <li><a href="#" onclick="ShowPage(104), document.title='m.o.v.e France - SITE NON OFFICIEL - Making Of'">Making Of</a></li>
                    <li><a href="#" onclick="ShowPage(112), document.title='m.o.v.e France - SITE NON OFFICIEL - Photos'">Photos</a></li>
				</ul>
 
			</dd>
	</dl>
 
	<dl>			
		<dt onmouseover="javascript:montre('smenu4');">Communauté</dt>
			<dd id="smenu4" onmouseover="javascript:montre('smenu4');" onmouseout="javascript:montre('');">
				<ul>
				  <li><a href="/forum/" target="_blank">Forums</a></li>
                  <li><a href='#' onclick='javascript:window.open("/chat/index.php","AjaxChat","resizable=no,scrollbars=no,width=700,height=360");'>Chat</a></li>
 
                  <li><a href='#' onclick='javascript:window.open("/ajoutmv.php","AjoutVidéo","resizable=no,scrollbars=no,width=900,height=300");'>Ajout vidéo</a></li>
				</ul>
			</dd>
	</dl>
 
    <dl>			
		<dt onmouseover="javascript:montre('smenu5');">Contact</dt>
			<dd id="smenu5" onmouseover="javascript:montre('smenu5');" onmouseout="javascript:montre('');">
				<ul>
 
				  <li><a href="mailto:electropica@free.fr?subject=Site M.O.V.E">E-Mail</a></li>
                  <li><a href='javascript:PopupCentrer("mail.php",550,450,"menubar=no,scrollbars=no,statusbar=no")'>Formulaire</a></li>
				</ul>
		  </dd>
	</dl>
</div>
 
<div id="page">
  <div align="center"></div>
 
</div>
 
<div id="bas">
 
<div id="basgauche">
  <div align="center">
    <object width="300" height="340" id="obj_1221920555350"><param name="movie" value="http://movefrance.chatango.com/group"/><param name="wmode" value="transparent"/><param name="AllowScriptAccess" VALUE="always"/><param name="AllowNetworking" VALUE="all"/><param name="AllowFullScreen" VALUE="true"/><param name="flashvars" value="cid=1221920555350&a=000000&b=100&c=999999&d=848484&e=000000&g=CCCCCC&h=333333&i=29&j=CCCCCC&k=666666&l=333333&m=000000&n=CCCCCC&s=1&w=0"/><embed id="emb_1221920555350" src="http://movefrance.chatango.com/group" width="300" height="340" wmode="transparent" allowScriptAccess="always" allowNetworking="all" type="application/x-shockwave-flash" allowFullScreen="true" flashvars="cid=1221920555350&a=000000&b=100&c=999999&d=848484&e=000000&g=CCCCCC&h=333333&i=29&j=CCCCCC&k=666666&l=333333&m=000000&n=CCCCCC&s=1&w=0"></embed></object>
  </div>
</div>
 
<div id="bascentre">
  <h6 align="center">
  35 visiteurs totals<br />4 aujourd'hui<br />63 connexions totales<br />
 
<br />
  <a href="http://www.xiti.com/xiti.asp?s=382067" title="WebAnalytics" target="_top">
    <script type="text/javascript">
<!--
Xt_param = 's=382067&p=index';
try {Xt_r = top.document.referrer;}
catch(e) {Xt_r = document.referrer; }
Xt_h = new Date();
Xt_i = '<img width="80" height="15" border="0" alt="" ';
Xt_i += 'src="http://logv3.xiti.com/g.xiti?'+Xt_param;
Xt_i += '&hl='+Xt_h.getHours()+'x'+Xt_h.getMinutes()+'x'+Xt_h.getSeconds();
if(parseFloat(navigator.appVersion)>=4)
{Xt_s=screen;Xt_i+='&r='+Xt_s.width+'x'+Xt_s.height+'x'+Xt_s.pixelDepth+'x'+Xt_s.colorDepth;}
document.write(Xt_i+'&ref='+Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$')+'" title="Internet Audience">');
//-->
    </script>
    <noscript><img width="80" height="15" src="http://logv3.xiti.com/g.xiti?s=382067&p=index" alt="WebAnalytics" />
      </noscript>
 
 
  </a></h6>
  </div>
 
<div id="basdroite">
  <div align="center">
 
    <object width="300" height="340"><param name="movie" value="http://media.imeem.com/pl/NIBoSvxLbo/autoShuffle=true/" />
    </param>
    <param name="wmode" value="transparent" />
    </param>
    <param name="FlashVars" value="backColor=000000&primaryColor=999999&secondaryColor=4d4d4d&linkColor=666666">
    </param>
    <embed src="http://media.imeem.com/pl/NIBoSvxLbo/autoShuffle=true/" type="application/x-shockwave-flash" width="300" height="340" wmode="transparent"FlashVars="backColor=000000&primaryColor=999999&secondaryColor=4d4d4d&linkColor=666666" />
    </embed>
    </object>
 
  </div>
</div>
 
<div id="copy">      
  <h5 align="center"><span class="style1">&copy; 2008 - M.O.V.E France</span></h5>
  </div>
</div>
</body>
</html>

Dernière modification par Spike21 ; 29/09/2008 à 01h34.
Spike21 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 29/09/2008, 01h41   #4
Inactif
 
Avatar de Kerod
 
Inscription : septembre 2004
Messages : 11 753
Détails du profil
Informations forums :
Inscription : septembre 2004
Messages : 11 753
Points : 14 585
Points : 14 585
On va faire simple :
Citation:
Line 211, Column 50: there is no attribute "oncontextmenu"
Cet attribut n'existe plus en XHTML donc si tu le retires pas il y a aucune chance que ça soit valide. Même chose pour ondragstart, onselectstart, etc.

Citation:
Line 290, Column 205: there is no attribute "VALUE".
Aucun attribut en majuscule.

Citation:
Line 290, Column 351: general entity "a" not defined and no default entity.
Cette erreur vient du fait que juste devant le a il y a un & qui doit être remplacé par &amp; et ça je l'ai déjà dit plus haut. Toutes les autres erreurs sont du même type.
Kerod est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 29/09/2008, 01h59   #5
Candidat au titre de Membre du Club
 
Inscription : juin 2006
Messages : 92
Détails du profil
Informations forums :
Inscription : juin 2006
Messages : 92
Points : 12
Points : 12
Donc on ne peut pas bloquer la sélection et le clic droit sans être dans les normes ?
Plus que 30 erreurs !
Merci de l'aide en tout cas.
Spike21 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 29/09/2008, 07h28   #6
Modérateur
 
Avatar de Bisûnûrs
 
Josselin
Développeur Web
Inscription : janvier 2004
Messages : 9 042
Détails du profil
Informations personnelles :
Nom : Josselin
Âge : 28
Localisation : France, Rhône (Rhône Alpes)

Informations professionnelles :
Activité : Développeur Web

Informations forums :
Inscription : janvier 2004
Messages : 9 042
Points : 12 377
Points : 12 377
Citation:
Envoyé par Spike21 Voir le message
Donc on ne peut pas bloquer la sélection et le clic droit sans être dans les normes ?
1. Il n'y a aucun intérêt de bloquer ça, c'est facilement contournable et ça fait amateur qui pense qu'il peut "protéger" le contenu de son site comme tel.
2. Si tu veux vraiment les utiliser, déclare tes évènements posant problème en Javascript et non pas en tant qu'attributs HTML.
Bisûnûrs est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 29/09/2008, 13h00   #7
Candidat au titre de Membre du Club
 
Inscription : juin 2006
Messages : 92
Détails du profil
Informations forums :
Inscription : juin 2006
Messages : 92
Points : 12
Points : 12
ok

J'ai ajouté ça en place :

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
<script type="text/javascript">
// <![CDATA[
function clickIE4() {
  if (event.button==2) {
    alert(message);
    return false;
  }
}
function clickNS4(e) {
  if (document.layers||document.getElementById&&!document.all) {
    if (e.which==2||e.which==3) {
      alert(message);
      return false;
    }
  }
}
if (document.layers) {
  document.captureEvents(Event.MOUSEDOWN);
  document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById) {
  document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("return false")
// ]]>
</script>
et

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<script type="text/javascript">
// <![CDATA[
function disabletext(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disabletext
document.onclick=reEnable
}
// ]]>
</script>

Dernière modification par Spike21 ; 29/09/2008 à 16h22.
Spike21 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 29/09/2008, 16h21   #8
Candidat au titre de Membre du Club
 
Inscription : juin 2006
Messages : 92
Détails du profil
Informations forums :
Inscription : juin 2006
Messages : 92
Points : 12
Points : 12
J'ai tout corrigé le reste moi meme
Merci pour l'aide !

Dernière modification par Spike21 ; 29/09/2008 à 17h01.
Spike21 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 29/09/2008, 16h42   #9
Rédacteur/Modérateur
 
Avatar de SpaceFrog
 
Homme
Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Analyste Programmeur
Inscription : mars 2002
Messages : 29 074
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : Royaume-Uni

Informations professionnelles :
Activité : Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Analyste Programmeur
Secteur : Industrie

Informations forums :
Inscription : mars 2002
Messages : 29 074
Points : 43 300
Points : 43 300
pour faire du flash valide w3c

soit swfObject

soit
Code :
1
2
3
4
5
         <p>
             <object type="application/x-shockwave-flash" width="550" height="400" id="MONFLASH" data="fichierfalsh.swf">
             <p>Chargez le plugin </p>
             </object>
         </p>
__________________
Ma page Developpez
Président du CCMPTP (Comité Contre le Mot "Problème" dans les Titres de Posts)
Deux règles du succès: 1) Ne communiquez jamais à quelqu'un tout votre savoir...
Votre post est résolu ? Alors n'oubliez pas le Tag


réalisations :www.planet-languages.com|www.saftair.com| www.ouestisol.fr | www.sebemex.fr | www.extramiante.fr | www.sistac-alizay.fr | www.acoustishop.fr | www.litt.fr | www.ouestventil.fr
SpaceFrog est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +1. Il est actuellement 12h33.


 
 
 
 
Partenaires

Hébergement Web