Toutes mes réponses sur les forums
-
AuteurMessages
-
26 mars 2008 à 18 h 00 min en réponse à : être catégorique et aimer les catégories ! script! #625123
bon j’aimerais bien voir un truc on a le détail de tout et des arguments possibles sur le site wordpress.org c’est pas très pratique. moi j’aime bien les trucs comme mon bouquin sur les css, css press pocket tout est définit, bref pratique. ou la before after slug ! ouieaille mais bon on va regarder
26 mars 2008 à 17 h 23 min en réponse à : être catégorique et aimer les catégories ! script! #625121Mais alors comment nommer différentes catégories? pour l’instant dans ma sidebar j’ai cela :
<div id="sidebar">
<ul>
<li>
</li>
<!– Author information is disabled per default. Uncomment and fill in your details if you want to use it.
<li><h2>Author</h2>
<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
</li>
–>
<li>
<p>You are currently browsing the archives for the category.</p>
<p>You are currently browsing the <a href="/ »></a> blog archives
for the day .</p>
<p>You are currently browsing the <a href="/ »></a> blog archives
for .</p>
<p>You are currently browsing the <a href="/ »></a> blog archives
for the year .</p>
<p>You have searched the <a href="/ »></a> blog archives
for <strong> »</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>
<p>You are currently browsing the <a href="/ »></a> blog archives.</p>
</li>
<?php wp_list_pages('title_li=<h2>Pages</h2>‘ ); ?>
<li><h2>Archives</h2>
<ul>
</ul>
</li>
<?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>‘); ?>
<li><h2>Meta</h2>
<ul>
<li></li>
<li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
<li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
</ul>
</li>
</ul>
</div>je ne sais pas si ça peut servir dans mon cas?
26 mars 2008 à 17 h 11 min en réponse à : être catégorique et aimer les catégories ! script! #625119mais suis je sur la bonne voie? et comment vu que j’ai un modele de template par page puis je faire un module de catégories différent dans chacun des templates?
hum mais cela comment ça s’utilise wp_list_pages(‘sort_column=ID’); ?>
bon mon adresse c’est http://olivierbaudrydesign.free.fr vas sur workingprogress tu comprendras mieux ce que je suis en train de mettre en oeuvre et puis comment l’utiliser dans ce cas précis :<ul id='menu_oupocreanum'>
<li><a title='home' id='menu_home' href="http://olivierbaudrydesign.free.fr/home/"><span class='off'>home</span></a></li>
<li><a title='biography' id='menu_biography' href="http://olivierbaudrydesign.free.fr/biography/"><span class='off'>biography</span></a></li>
<li><a title='randomizer' id='menu_random' href="http://olivierbaudrydesign.free.fr/?page_id=6/"><span class='off'>randomizer</span></a></li>
<li><a title='workingprogress' id='menu_workingprogress' href="http://olivierbaudrydesign.free.fr/workingprogress/"><span class='off'>blog</span></a></li>
<li><a title='play' id='menu_play' href="http://olivierbaudrydesign.free.fr/play/"><span class='off'>play</span></a></li>
<li><a title='videos' id='menu_videos' href="http://olivierbaudrydesign.free.fr/videos/"><span class='off'>videos</span></a></li>
<li><a title='pictures' id='menu_pictures' href="http://olivierbaudrydesign.free.fr/pictures/"><span class='off'>pictures</span></a></li>
<li><a title='sounds' id='menu_sounds' href="http://olivierbaudrydesign.free.fr/sounds/"><span class='off'>pictures</span></a></li>
<li><a title='exhibition' id='menu_exhibition' href="http://olivierbaudrydesign.free.fr/exhibition/"><span class='off'>exhibition</span></a></li>
<li><a title='logiciels' id='menu_software' href="http://olivierbaudrydesign.free.fr/software/"><span class='off'>logicielssoftware</span></a></li>
<li><a title='abstracts' id='menu_abstracts' href="http://olivierbaudrydesign.free.fr/abstracts/"><span class='off'>abstracts</span></a></li>
<li><a title='diagrammes' id='menu_diagrams' href="http://olivierbaudrydesign.free.fr/diagrams/"><span class='off'>diagrammes</span></a></li>
<li><a title='machines' id='menu_machines' href="http://olivierbaudrydesign.free.fr/machines/"><span class='off'>machines</span></a></li>
<li><a title="artists" id="menu_artists_on" href="http://olivierbaudrydesign.free.fr/artists/"><span class='off'>artists</span></a></li>
<li><a title='bibliography' id='menu_bibliography' href="http://olivierbaudrydesign.free.fr/bibliography/"><span class='off'>bibliography</span></a></li>
<li><a title='webography' id='menu_webography' href="http://olivierbaudrydesign.free.fr/webography/"><span class='off'>webography</span></a></li>
<li><a title='discography' id='menu_discography' href="http://olivierbaudrydesign.free.fr/discography/"><span class='off'>discography</span></a></li>
<li><a title='citations' id='menu_citations' href="http://olivierbaudrydesign.free.fr/citations/"><span class='off'>citations</span></a></li>
<li><a title='lexicon on interactivity' id='menu_lexique' href="http://olivierbaudrydesign.free.fr/lexicon on interactivity/"><span class='off'>lexique</span></a></li>
<li><a title='forum' id='menu_forum' href="http://olivierbaudrydesign.free.fr/forum/"><span class='off'>forum</span></a></li>
<li><a title='upload' id='menu_upload' href="http://olivierbaudrydesign.free.fr/upload/"><span class='off'>upload</span></a></li>
<li><a title='thanks' id='menu_thanks' href="http://olivierbaudrydesign.free.fr/thanks/"><span class='off'>thanks</span></a></li>
<li><a title='links' id='menu_links' href="http://olivierbaudrydesign.free.fr/links/"><span class='off'>links</span></a></li>
</ul>bon j’avais fais ça à la ligne randomizer j’ai corriger et mis l’ID manuellement le truc c’est comme tu peux le voir c’est qu’en fonction de l’ID ça va afficher mes pictos du dessus différement enfin pas dans l’ordre que j’établis dans mon menu.
Pour ce qui est de la mise en forme si tu par example attribue quelque chose comme une css les catégories ont aussi des Id
tu peux ecrire
-
et dans le css tu auras #macategorie1
border:et tout ce quetuveux pour mettre en forme ta catégorie. bon je suis novice alors m’en veux pas si il y a des erreurs .
bonjour
je sais guère si cela te sera d’un grand secours mais je suis tombé là dessus bon la traduction est de google mais cela povient du site de Moshu http://www.transycan.net/
Modération : un lien vers le site original est mille fois mieux qu’une vulgaire copie de 3km de long d’une traduction automatique
26 mars 2008 à 10 h 37 min en réponse à : Comment pointer page item un element du menu vers un template #625044aie aie !
Comment faire ? mon problème est compliqué tout juste pour intégrer mes css ! par contre dans le template je peux lui indiquer des préférences de recherches. bon Comment ferais tu alors pour adapter le menu de matt Mullenweig à mon cas, j’ai posé un topic sur ceci mais aucune réponse,j’ai écris à l’auteur pour plus de précisions mais pas de réponse!✅
Le topic est déjà crée Merci
sorry pour le lien de Matt Mullenweig c’est http://ma.tt/scripts/intellimenu/
ensuite son code de menu tel quel c’est
<?php
$menu = <<<MENU
<ul id="nav">
<li><a href="/" title="Where the heart is">Home</a></li>
<li><a href="/archives/" title="Things that have passed.">Archives</a></li>
<li><a href="/about/" title="All about Matt">About</a></li>
<li><a href="/photos/" title="It's the 'photo' in Matt">Photos</a></li>
<li><a href="/music/" title="The food of love">Music</a></li>
<li><a href="/scripts/" title="Free (as in beer and speech) code">Scripts</a></li>
<li><a href="/jazzquotes/" title="Great quotes from amazing musicians. More in the future.">Jazz Quotes</a></li>
<li><a href="/toys/" title="Make me tick: Reviews of various electronics I own or have come into contact with.">Toys</a></li>
<li><a href="/xml/" title="Syndicate the content here. Get Matt to-go.">Syndicate</a></li>
<li><a href="/portal/" title="My personal start page, has my blogroll and links to interesting sites">Portal</a></li>
<li><a href="/zeitgeist/" title="A google of random stats about the website">Zeitgeist</a></li>
<li><a href="/contact/" title="Reach out and touch somebody. How to get in contact with me, also has GPG key and geek code.">Contact</a></li>
</ul>
MENU;
$lines = split(« n », $menu);
foreach ($lines as $line) {
$current = false;
preg_match(‘/href= »([^ »]+) »/’, $line, $url);
if (substr($_SERVER[« REQUEST_URI »], 0, 5) == substr($url[1], 0, 5)) {
$line = str_replace(‘<a h', '<a id="current">voila le truc entre ce menu c’est que je voudrais avoir un id =menu_home_on ou id_menu_home car je voudrais utiliser une css tel que pour l’ensemble de mon site:
/*
Theme Name: Oupocreanum
Theme URI: http://olivierbaudrydesign.free.fr
Description: The default WordPress theme based on the famous
Version: 2.6
Author: Olivier Baudry
Author URI: olivierbaudrydesign.free.fr
*/
/* oupocreanum:menu */
a#menu_home, a#menu_home_on {
position: absolute;
top: -30px;
left: -1px;
}
a#menu_biography, a#menu_biography_on {
position: absolute;
top: -30px;
left: 28px;
}
a#menu_random, a#menu_random_on {
position: absolute;
top: -30px;
left: 57px;
}
a#menu_workingprogress, a#menu_workingprogress_on {
position: absolute;
top: -30px;
left: 86px;
}
a#menu_play, a#menu_play_on {
position: absolute;
top: -30px;
left: 115px;
}
a#menu_videos, a#menu_videos_on {
position: absolute;
top: -30px;
left: 144px;
}
a#menu_photos, a#menu_photos_on {
position: absolute;
top: -30px;
left: 173px;
}
a#menu_sounds, a#menu_sounds_on {
position: absolute;
top: -30px;
left: 202px;
}
a#menu_software, a#menu_software_on {
position: absolute;
top: -30px;
left: 231px;
}
a#menu_linearizer, a#menu_linearizer_on {
position: absolute;
top: -30px;
left: 260px;
}
a#menu_abstracts, a#menu_abstracts_on {
position: absolute;
top: -30px;
left: 289px;
}
a#menu_diagrams, a#menu_diagrams_on {
position: absolute;
top: -30px;
left: 318px;
}
a#menu_machines, a#menu_machines_on {
position: absolute;
top: -30px;
left: 347px;
}
a#menu_artists, a#menu_artists_on {
position: absolute;
top: -30px;
left: 376px;
}
a#menu_bibliography, a#menu_bibliography_on {
position: absolute;
top: -30px;
left: 405px;
}
a#menu_webography, a#menu_webography_on {
position: absolute;
top: -30px;
left: 434px;
}
a#menu_discography, a#menu_discography_on {
position: absolute;
top: -30px;
left: 463px;
}
a#menu_citations, a#menu_citations_on {
position: absolute;
top: -30px;
left: 492px;
background-image: url(/wp-content/themes/Oupocreanum/images/iconesmenu/citations_inactive.gif);
}
a#menu_lexique, a#menu_lexique_on {
position: absolute;
top: -30px;
left: 521px;
}
a#menu_links, a#menu_links_on {
position: absolute;
top: -30px;
left: 550px;
}
a#menu_forum, a#menu_forum_on {
position: absolute;
top: -30px;
left: 579px;
}
a#menu_upload, a#menu_upload_on {
position: absolute;
top: -30px;
left: 608px;
}
a#menu_thanks, a#menu_thanks_on {
position: absolute;
top: -30px;
left: 637px;
}
ul#menu_oupocreanum {
list-style-type: none;
}
a#menu_home, a#menu_home_on, a#menu_biography, a#menu_biography_on, a#menu_random, a#menu_random_on, a#menu_workingprogress, a#menu_workingprogress_on, a#menu_play, a#menu_play_on, a#menu_videos, a#menu_videos_on, a#menu_photos, a#menu_photos_on, a#menu_sounds, a#menu_sounds_on, a#menu_software, a#menu_software_on, a#menu_linearizer, a#menu_linearizer_on, a#menu_abstracts, a#menu_abstracts_on, a#menu_machines, a#menu_machines_on, a#menu_diagrams, a#menu_diagrams_on, a#menu_artists, a#menu_artists_on, a#menu_bibliography, a#menu_bibliography_on, a#menu_webography, a#menu_webography_on, a#menu_discography, a#menu_discography_on, a#menu_citations, a#menu_citations_on, a#menu_lexique, a#menu_lexique_on, a#menu_links, a#menu_links_on, a#menu_forum, a#menu_forum_on, a#menu_upload, a#menu_upload_on, a#menu_thanks, a#menu_thanks_on {
width: 28px;
height: 28px;
border-style: dotted;
border-width: 1px;
border-color: grey;
border-bottom-width: 0px;
background-color: white !important;
}
a#menu_home:link, a#menu_home:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/home_inactive.gif);
}
a#menu_home_on:link, a#menu_home_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/home_active.gif);
}
a#menu_home:hover, a#menu_home_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/home_hover.gif);
}
a#menu_biography:link, a#menu_biography:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/biography_inactive.gif);
}
a#menu_biography_on:link, a#menu_biography_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/biography_active.gif);
}
a#menu_biography:hover, a#menu_biography_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/biography_hover.gif);
}
a#menu_random:link, a#menu_random:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/rand_inactive.gif);
}
a#menu_random_on:link, a#menu_random_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/rand_active.gif);
}
a#menu_random:hover, a#menu_random_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/rand_hover.gif);
}
a#menu_workingprogress:link, a#menu_workingprogress:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/workingprogress_inactive.gif);
}
a#menu_workingprogress_on:link, a#menu_workingprogress_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/workingprogress_active.gif);
}
a#menu_workingprogress:hover, a#menu_workingprogress_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/workingprogress_hover.gif);
}
a#menu_play:link, a#menu_play:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/play_inactive.gif);
}
a#menu_play_on:link, a#menu_play_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/play_active.gif);
}
a#menu_play:hover, a#menu_play_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/play_hover.gif);
}
a#menu_videos:link, a#menu_videos:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/videos_inactive.gif);
}
a#menu_videos_on:link, a#menu_videos_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/videos_active.gif);
}
a#menu_videos:hover, a#menu_videos_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/videos_hover.gif);
}
a#menu_photos:link, a#menu_photos:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/photos_inactive.gif);
}
a#menu_photos_on:link, a#menu_photos_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/photos_active.gif);
}
a#menu_photos:hover, a#menu_photos_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/photos_hover.gif);
}
a#menu_sounds:link, a#menu_sounds:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/sounds_inactive.gif);
}
a#menu_sounds_on:link, a#menu_sounds_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/sounds_active.gif);
}
a#menu_sounds:hover, a#menu_sounds_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/sounds_hover.gif);
}
a#menu_linearizer:link, a#menu_linearizer:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/linearizer_inactive.gif);
}
a#menu_linearizer_on:link, a#menu_linearizer_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/linearizer_active.gif);
}
a#menu_linearizer:hover, a#menu_linearizer_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/linearizer_hover.gif);
}
a#menu_abstracts:link, a#menu_abstracts:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/abstracts_inactive.gif);
}
a#menu_abstracts_on:link, a#menu_abstracts_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/abstracts_active.gif);
}
a#menu_abstracts:hover, a#menu_abstracts_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/abstracts_hover.gif);
}
a#menu_diagrams:link, a#menu_diagrams:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/diagrams_inactive.gif);
}
a#menu_diagrams_on:link, a#menu_diagrams_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/diagrams_active.gif);
}
a#menu_diagrams:hover, a#menu_diagrams_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/diagrams_hover.gif);
}
a#menu_lexique:link, a#menu_lexique:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/lexique_inactive.gif);
}
a#menu_lexique_on:link, a#menu_lexique_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/lexique_active.gif);
}
a#menu_lexique:hover, a#menu_lexique_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/lexique_hover.gif);
}
a#menu_software:link, a#menu_software:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/software_inactive.gif);
}
a#menu_software_on:link, a#menu_software_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/software_active.gif);
}
a#menu_software:hover, a#menu_software_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/software_hover.gif);
}
a#menu_machines:link, a#menu_machines:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/machines_inactive.gif);
}
a#menu_machines_on:link, a#menu_machines_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/machines_active.gif);
}
a#menu_machines:hover, a#menu_machines_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/machines_hover.gif);
}
a#menu_artists:link, a#menu_artists:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/artists_inactive.gif);
}
a#menu_artists_on:link, a#menu_artists_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/artists_active.gif);
}
a#menu_artists:hover, a#menu_artists_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/artists_hover.gif)
}
a#menu_bibliography:link, a#menu_bibliography:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/bibliography_inactive.gif);
}
a#menu_bibliography_on:link, a#menu_bibliography_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/bibliography_active.gif);
}
a#menu_bibliography:hover, a#menu_bibliography_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/bibliography_hover.gif);
}
a#menu_webography:link, a#menu_webography:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/webography_inactive.gif);
}
a#menu_webography_on:link, a#menu_webography_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/webography_active.gif);
}
a#menu_webography:hover, a#menu_webography_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/webography_hover.gif);
}
a#menu_discography:link, a#menu_discography:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/discography_inactive.gif);
}
a#menu_discography_on:link, a#menu_discography_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/discography_active.gif);
}
a#menu_discography:hover, a#menu_discography_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/discography_hover.gif);
}
a#menu_citations:link, a#menu_citations:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/citations_inactive.gif);
}
a#menu_citations_on:link, a#menu_citations_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/citations_active.gif);
}
a#menu_citations:hover, a#menu_citations_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/citations_hover.gif);
}
a#menu_links:link, a#menu_links:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/links_inactive.gif);
}
a#menu_links_on:link, a#menu_links_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/links_active.gif);
}
a#menu_links:hover, a#menu_links_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/links_hover.gif);
}
a#menu_forum:link, a#menu_forum:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/forum_inactive.gif);
}
a#menu_forum_on:link, a#menu_forum_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/forum_active.gif);
}
a#menu_forum:hover, a#menu_forum_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/forum_hover.gif);
}
a#menu_upload:link, a#menu_upload:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/upload_inactive.gif);
}
a#menu_upload_on:link, a#menu_upload_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/upload_active.gif);
}
a#menu_upload:hover, a#menu_upload_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/upload_hover.gif);
}
a#menu_thanks:link, a#menu_thanks:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/thanks_inactive.gif);
}
a#menu_thanks_on:link, a#menu_thanks_on:visited {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/thanks_active.gif);
}
a#menu_thanks:hover, a#menu_thanks_on:hover {
background: url(/wp-content/themes/Oupocreanum/images/iconesmenu/thanks_hover.gif);
}
/* english french deutsch language links */
ul#language {
list-style-type: none;
}
a#menu_english_active, a#menu_english_inactive, a#menu_french_active, a#menu_french_inactive,a#menu_deutsch_active, a#menu_deutsch_inactive {
width: 28px;
height: 28px;
border-style: dotted;
border-width: 1px;
border-color: grey;
border-left-width: 0px;
background-color: white !important; /* remove transparent holes in border */
z-index: 1;
}
a#menu_english_active {
position: absolute;
top: -1px;
left: 792px;
}
a#menu_english_inactive {
position: absolute;
top: -1px;
left: 792px;
}
a#menu_french_active {
position: absolute;
top: 28px;
left: 792px;
}
a#menu_french_inactive {
position: absolute;
top: 28px;
left: 792px;
}
a#menu_deutsch_active {
position: absolute;
top: 57px;
left: 792px;
}
a#menu_deutsch_inactive {
position: absolute;
top: 57px;
left: 792px;
}
a#menu_english_active:link, a#menu_english_active:visited {
background-image: url(/wp-content/themes/Oupocreanum/images/iconesmenu/english_active.gif);
}
a#menu_english_inactive:link, a#menu_english_inactive:visited {
background-image: url(/wp-content/themes/Oupocreanum/images/iconesmenu/english_inactive.gif);
}
a#menu_english_active:hover, a#menu_english_inactive:hover {
background-image: url(/wp-content/themes/Oupocreanum/images/iconesmenu/english_hover.gif);
}
a#menu_french_active:link, a#menu_french_active:visited {
background-image: url(/wp-content/themes/Oupocreanum/images/iconesmenu/french_active.gif);
}
a#menu_french_inactive:link, a#menu_french_inactive:visited {
background-image: url(/wp-content/themes/Oupocreanum/images/iconesmenu/french_inactive.gif);
}
a#menu_french_active:hover, a#menu_french_inactive:hover {
background-image: url(/wp-content/themes/Oupocreanum/images/iconesmenu/french_hover.gif);
}
a#menu_deutsch_active:link, a#menu_deutsch_active:visited {
background-image: url(/wp-content/themes/Oupocreanum/images/iconesmenu/deutsch_active.gif);
}
a#menu_deutsch_inactive:link, a#menu_deutsch_inactive:visited {
background-image: url(/wp-content/themes/Oupocreanum/images/iconesmenu/deutsch_inactive.gif);
}
a#menu_deutsch_active:hover, a#menu_deutsch_inactive:hover {
background-image: url(/wp-content/themes/Oupocreanum/images/iconesmenu/deutsch_hover.gif);
}aieaieaie! décidément c’est terrible mon problème n’as pas de fin, je crois!
bon en fait pour info voilà ce que j’ai essayer de faire voilà le code html affiché par firefox :
<title>
Ou.po.crea.num</title>
<!--
var podPressBackendURL = location.protocol;
if(location.port != "80" && location.port != "443") {podPressBackendURL = podPressBackendURL+location.port; }
podPressBackendURL = podPressBackendURL+"//"+location.hostname+"/wp-content/plugins/podpress/";
var podPressDefaultPreviewImage = podPressBackendURL+"/images/vpreview_center.png";
var podPressPlayerFile = "podango_player.swf";
var podPressMP3PlayerOptions = "&bg=0xF8F8F8&leftbg=0xEEEEEE&text=0x666666&lefticon=0x666666&rightbg=0xCCCCCC&rightbghover=0x999999&righticon=0x666666&righticonhover=0xFFFFFF&slider=0x666666&track=0xFFFFFF&loader=0x9FFFB8&border=0x666666&listen_wrapper=off&";
var podPressMP3PlayerWrapper = false;
var podPressText_PlayNow = "Play Now";
var podPressText_HidePlayer = "Hide Player";
-->
<h2><a href="http://olivierbaudrydesign.free.fr/">Ou.po.crea.num is a potential opening of digital art, project initiated by Olivier Baudry. It explores the relationships between algorithms and art and design. </a></h2>
</div>
<div id="search">
<form method="get" id="searchform" action="http://olivierbaudrydesign.free.fr/">
</form>
-
Author
A little something about you, the author. Nothing lengthy, just an overview.
-
Pages
-
Archives
-
Categories
- Uncategorized (1)
-
Blogroll
-
Meta
<!– Author information is disabled per default. Uncomment and fill in your details if you want to use it.
–>
Ou.po.crea.num is
implemented by Olivier Baudry and based on WordPress – All rights reserved © Olivier Baudry
2002-2008Some creations of this site may be made available under Creative Commons
Fontes by Jack Usine – All right reserved 2002-2008- http://www.smeltery.net
Copyright © Olivier BaudryPodcast Powered by podPress (v8.8)enfait je voudrais que mon menu_oupocreanum prennent en comptes les pages item mais renommées à ma manières et utilisent le ul id et nom li_ class
Ensuite si je suis et si j’ai bien compris le conseil de fran-art il me suffit non plus de mettre une condition dans le template headear.php pour dire si page est home affiche tel ou tel css, mais de créer un template home.php biography.php etc et ensuite coté console d’administration wordpress indiquer à chaque page le template php correspondants
?Alors est ce que certain d’entre vous ont utilisé le menu de Matt Mullenweig et peuvent me dire comment il s’installe? sans créer de doubles noms de pages, j’essaie mais je n’arrive pas!
Bonjour je suis novice en php , et par rapport au menu de Matt Mullenweg ou à tes fonctions de pages est-il possible d’attribuer des css?
Olivier en effet j’aimerais assigner des css différent par page.
est il possible de faire un truc du genre
$pages = get_pages(‘home’);foreach($pages as $unepage){
echo $unepage->send css . » home.css « ;
echo $unepage->send css . » menusite.css « ;}
20 mars 2008 à 17 h 45 min en réponse à : intégration de Css au php et nom de mes pages et leurs css associés ? #624465Peut-être sela serait-il mieux? ou plus précisément ceci :
<?php
// Home Css attribution
// Definition creation de fonction attribution de css pour la page home
// Version test
// Autor Olivier Baudry
function php_template_home ($hook,$vars) {
// intialise les css pour ma page home
global $thèmehome;
switch ($hook){
//thème home appelé à chaque fois qu'on est sur 'home'
case 'home':
. ‘/stylehome.css);
. ‘/common.css);
. ‘/menusite.css);
break;
}
return $vars;
}20 mars 2008 à 17 h 17 min en réponse à : intégration de Css au php et nom de mes pages et leurs css associés ? #624464bon j’ai fais un truc comme ça
<?php
// Home Css attribution
// Definition creation de fonction attributions de css par page
// Version test
// Autor Olivier Baudry
function php_template_home ($hook,$vars) {
// intialise les css pour ma page home
global $thèmehome;
switch ($hook){
//thème home appele à chaque fois qu'on est sur 'home'
case 'home':
theme_add_style (TEMPLATEPATH ('thème,$thèmehome). '/stylehome.css);
theme_add_style (TEMPLATEPATH ('thème,$thèmehome). '/common.css);
theme_add_style (TEMPLATEPATH ('thème,$thèmehome). '/menusite.css);
break;
}
return $vars;
}mais bon je ne sais pas trop!
-
AuteurMessages