Bonjour,
Je viens de finir une nouvelle version de mon site de reportage
Entièrement fait en CSS + HTML, pas de tableau ni de javascript ni de gif transparents
Il y a un fichier index.html qui contient l'article et toutes les galleries photos
Exemple : http://electroremy3.free.fr/18032011LaRodia/index.html
Il y a aussi des vidéos avec le lecteur FLV intégré; pour l'instant j'ai un fichier HTML par vidéo je trouve cela un peut dommage, on doit pouvoir optimiser encore...
Exemple : http://electroremy3.free.fr/18032011...-MAQ01177.html
Comment faire, tout en restant CSS / HTML pur, pour n'avoir qu'un seul fichier html pour toutes les vidéos ?
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 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <title>www.remylucas.fr - Revue culturelle indépendante - Reportages, photos et vidéos</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link rel="stylesheet" type="text/css" href="../v3_videos.css"> </head> <div id="corps"> <a href="index.html">Cliquez ici pour retourner à l'article</a><BR> <BR> <div id="bandeau">Smac My Pitch Up - 18/03/2011 - La Rodia à Besançon</a></div> <div id="menu"> <div id="titreplaylist"> Playlist </div> <div id="playlist"> <ul id="artistes"> <li class="unselected"><a href="video-MAQ01098.html">20-100</a></li> <li class="selected">She's Drunk</li> <ul id="videos"> <li class="unselected"><a href="video-MAQ01142.html">Maq01142.flv</a></li> <li class="unselected"><a href="video-MAQ01152.html">Maq01152.flv</a></li> <li class="unselected"><a href="video-MAQ01160.html">Maq01160.flv</a></li> <li class="unselected"><a href="video-MAQ01169.html">Maq01169.flv</a></li> <li class="unselected"><a href="video-MAQ01173.html">Maq01173.flv</a></li> <li class="selected">Maq01177.flv</li> <li class="unselected"><a href="video-MAQ01183.html">Maq01183.flv</a></li> </ul> <li class="unselected"><a href="video-MAQ01192.html">Mula</a></li> <li class="unselected"><a href="video-MAQ01209.html">Ventolin</a></li> <li class="unselected"><a href="video-MAQ01281.html">Janski Beeeats</a></li> <li class="unselected"><a href="video-MAQ01339.html">DJ Edjotronic</a></li> <li class="unselected"><a href="video-MAQ01372.html">Popof</a></li> </ul> </div> <div id="titresousmenu"> Menu </div> <div id="sousmenu"> <a class="info" href="index.html#she'sdrunk"><span>Retour aux photos</span><img src="../v3_ico-photo.gif" WIDTH=45 HEIGHT=45></a> <a class="info" href="index.html#top"><span>Retour à l'article</span><img src="../v3_ico-article.gif" WIDTH=45 HEIGHT=45></a> <a class="info" href="http://electroremy2.free.fr/baseartistes/she's-drunk.html"><span>Plus d'infos sur l'artiste</span><img src="../v3_ico-fiche.gif" WIDTH=45 HEIGHT=45></a> <a class="info" href="videos/She'sDrunk/MAQ01177.flv"><span>Télécharger la vidéo</span><img src="../v3_ico-dwnl.gif" WIDTH=45 HEIGHT=45></a> </div> </div> <div id="bloc_video"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="662" height="531" id="FLVPlayer"> <param name="movie" value="FLVPlayer.swf" /> <param name="salign" value="lt" /> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Skin&streamName=videos/She'sDrunk/MAQ01177&autoPlay=false&autoRewind=false" /> <embed src="FLVPlayer.swf" flashvars="&MM_ComponentVersion=1&skinName=Skin&streamName=videos/She'sDrunk/MAQ01177&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="662" height="531" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div> <div id="pied_page">(c) Rémy LUCAS 1999-2011 - <a href="http://www.remylucas.fr">www.remylucas.fr</a></div> </div> </body> </html>
Compromis : si j'avais un seul fichier HTML pour toutes les vidéos d'un artiste ça serait déjà très bien
Voilà
Edit : vous aurez peut être besoin de jeter un oeuil au fichier CSS
A+
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 /* // Charte graphique */ div { font-family:Arial, Sans-serif; } body { font-family:Arial, Sans-serif; background:#ffffff; } /* // Structure globale de la page */ div#bandeau { margin-left:auto; margin-right:auto; margin-bottom:5px; max-width:900px; background-color:#909090; color:#ffffff; text-align:center; font-size:125%; padding: 10px 0px 10px 0px; } div#corps { margin-left:auto; margin-right:auto; width:900px; background-color:#ffffff; text-align:center; } div#pied_page { margin-left:auto; margin-right:auto; max-width:900px; background-color:#909090; color:#ffffff; text-align:center; font-size:125%; padding: 10px 0px 10px 0px; clear:both; margin-top:6px; } /* // Le bloc video */ div#bloc_video { margin-left:auto; margin-right:auto; float:left; max-width:900px; background-color:#ffffff; } div#menu { float:left; width:238px; min-height:531px; background-color:#909090; } div#clear { clear: both; } div#titreplaylist { font-weight:bold; text-align:center; margin-top:10px; margin-left:10px; margin-right:10px; margin-bottom:0px; background-color:#d0d0d0; padding: 5px 5px 5px 5px; } div#playlist { margin-top:0px; margin-left:10px; margin-right:10px; margin-bottom:5px; background-color:#f0f0f0; padding: 5px 5px 5px 5px; } div#titresousmenu { font-weight:bold; text-align:center; margin-top:10px; margin-left:10px; margin-right:10px; margin-bottom:0px; background-color:#d0d0d0; padding: 5px 5px 5px 5px; } div#sousmenu { text-align:center; margin-top:0px; margin-left:10px; margin-right:10px; margin-bottom:10px; background-color:#f0f0f0; padding: 12px 5px 7px 5px; line-height:180%; } /* // L'arborescence */ ul#artistes, ul#artistes li{ text-align:left; font-size:100%; color:#000000; list-style-type:none; padding: 0px; } ul#videos, ul#videos li { text-align:left; font-size:100%; color:#000000; padding: 0px 0px 0px 10px; } .selected { font-weight:bold; } .unselected { font-weight:normal; } /* // les liens */ a{ text-decoration:none; } a:hover{ text-decoration:underline; } img { border:0; } a.info{ position:relative; z-index:24; color:#000; text-decoration:none } a.info:hover{ z-index:25; background-color:#FFF } a.info span{ display: none } a.info:hover span{ display:block; position:absolute; top:5px; left:35px; border:1px solid #000; background-color:#FFF; color:#000; text-align: justify; font-weight:normal; font-size:100%; padding:3px 3px 3px 3px; }
Partager