Sie sind nicht angemeldet.

Zyklopen

Schüler

  • »Zyklopen« ist männlich

Beiträge: 97

Wohnort: Jena

Beruf: Grafiker

  • Nachricht senden

21

Mittwoch, 16. Februar 2011, 19:40

:D

pass auf.

in deine index.html kommt das hier. das ist einmal das normale menü und einmal das submenü.

PHP-Quelltext

1
2
3
4
5
6
7
<div id="menu">
    <?php page_menu("0"); ?>
 </div>
        
<div id="submenu">
    <?php page_submenu(); ?>
</div>


dann noch das css - ist jetzt vom standard template einfach genommen:

Quellcode

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
/* - MENU - */


#menu {
	
	width: 760px;
	height: 24px;
	margin: 0px;
	padding: 0px;
	background: #9DBB36;
	border-top: 9px solid #839f24;
	border-bottom: 1px solid #fff;
	color: #fff;
	position: relative;
	z-index: 999;

}

#menu ul {
	
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 100;
	padding: 0px;
	margin: 0px;
	z-index: 999;
	
}

#menu ul li	{
	
	float: left;
	list-style: none;
	margin: 0px;
	border-right: 1px solid #839f24;
	position: relative;
	z-index: 999;
	
}

#menu li a {
	
	display: block;
	padding: 0px 12px 1px 12px;
	text-decoration: none;
	font-size: 11px;
	color: #fff;
	background: #9DBB36;
	margin:0px;
	line-height: 23px;
	z-index: 999;

}

#menu li a:hover {
	
	background: #A9C83C;

}

#menu li a.aktiv, #menu li a.aktiv:hover {
	
	background: #9DBB36 url('../images/menu_hover.gif') right no-repeat;

}

/* - SUBMENU - */


#submenu ul {
	
	width: 760px;
	height: 24px;
	margin: 0px;
	padding: 0px;
	background: #9DBB36;
	border-top: 9px solid #839f24;
	border-bottom: 1px solid #fff;
	color: #fff;
	position: relative;
	z-index: 999;

}

#submenu ul li	{
	
	float: left;
	list-style: none;
	margin: 0px;
	border-right: 1px solid #839f24;
	position: relative;
	z-index: 999;
	
}

#submenu li a {
	
	display: block;
	padding: 0px 12px 1px 12px;
	text-decoration: none;
	font-size: 11px;
	color: #fff;
	background: #9DBB36;
	margin:0px;
	line-height: 23px;
	z-index: 999;

}

#submenu li a:hover {
	
	background: #A9C83C;

}

#submenu li a.aktiv, #menu li a.aktiv:hover {
	
	background: #9DBB36 url('../images/menu_hover.gif') right no-repeat;

}

Werbung

naust

Anfänger

  • »naust« ist männlich
  • »naust« ist der Autor dieses Themas

Beiträge: 34

CMS Version: cms2day 3.9.2

  • Nachricht senden

22

Mittwoch, 16. Februar 2011, 19:52

Zyklopen...
Ich danke dir =)
du hast mein mysterium gelöst^^ ich habs hinbekommen und kann es jetzt ohne weiteres im css anpassen
vielen dank...
jetzt werden meine free cms2day templates überarbeitet und mit submenus versehen

Danke

Werbung

Zyklopen

Schüler

  • »Zyklopen« ist männlich

Beiträge: 97

Wohnort: Jena

Beruf: Grafiker

  • Nachricht senden

23

Mittwoch, 16. Februar 2011, 19:58

kein problem :)

war dann also doch kein php mehr nötig. immer wieder interessant, was im cms schon so vordefiniert ist :)

mfg
phil

Werbung

emet

Admin & Support

  • »emet« ist männlich

Beiträge: 2 530

Wohnort: Rhein/Main

Paypal:

  • Nachricht senden

24

Donnerstag, 17. Februar 2011, 14:00

Ja, jetzt kapier ich auch, weirum du das haben wolltest.

Dann kannst du dich auch noch am Template Greystyle orientieren - das geht genau so.
.
HTML, was ist das? Ein neues Männermagazin? Css.., was es so alles gibt!

News: http://www.cms2day.de/news/1/
Features: http://www.cms2day.de/cms-funktionen/

Zufrieden mit cms2day und unserer Arbeit/Support - Spenden (-Button links) sind herzlich Willkommen - Dankeschön.
.

Werbung

Ähnliche Themen