Salut,
sur un menu asp, avec un sitemap comme source, est ce qu'il est possible d'avoir des couleurs différentes sur chacun des onglets? La css est apparement la même pour toutes les colonnes
Merci pour votre aide.
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 <asp:Menu ID="Menu1" runat="server" Orientation="Horizontal" DataSourceID="SiteMapDataSource1" BackColor="black" ForeColor="white" StaticSubMenuIndent="0" DynamicEnableDefaultPopOutImage="False" StaticEnableDefaultPopOutImage="False" StaticPopOutImageTextFormatString="" > <StaticSelectedStyle BackColor="black" /> <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" CssClass="menuStatique" /> <DynamicHoverStyle BackColor="#6E6E6E" ForeColor="White" Width="150px" /> <DynamicMenuStyle BackColor="black" CssClass="menuDeroulant" /> <DynamicSelectedStyle BackColor="#507CD1" /> <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="7px"/> <DataBindings> <asp:MenuItemBinding DataMember="SiteMapNode" NavigateUrlField="Url" /> </DataBindings> <StaticHoverStyle BackColor="#6E6E6E" ForeColor="White" /> </asp:Menu> le sitemap: <?xml version="1.0" encoding="utf-8" ?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode title="ACCUEIL" url="accueil.aspx"> <siteMapNode title="ACCUEIL" url="index.aspx"/> <siteMapNode title="ECOLE"> <siteMapNode title="CYCLE 1" url="test.aspx"/> <siteMapNode title="CYCLE 2" url="cycle2.aspx"/> <siteMapNode title="CYCLE 3" url="cycle3.aspx"/> </siteMapNode> <siteMapNode title="COLLEGE" url="college.aspx"/> <siteMapNode title="LYCEE" url="lycee.aspx"/> <siteMapNode title="CATALOGUE" url="catalogue.aspx"> <siteMapNode title="LES SEQUENCES" url="tsequences.aspx"/> <siteMapNode title="LES SERIES" url="tseries.aspx"/> <siteMapNode title="TOUT LE CATALOGUE" url="tcatalogue.aspx"/> </siteMapNode> <siteMapNode title="RECHERCHER" url="rechercher.aspx"/> <siteMapNode title="A PROPOS" url="apropos.aspx"/> </siteMapNode> </siteMap>
Partager