Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
-
shpolbder
- Posts: 11
- Joined: Thu 29. Jul 2004, 14:13
Post
by shpolbder »
I'd like to know: is there any way to add to BODY tag something like this:
It would be very useful for adding "this page" station in menu.
Thanks in advance.
Last edited by
shpolbder on Sun 1. Aug 2004, 15:56, edited 1 time in total.
-
Pappnase
Post
by Pappnase »
hello
for what did you need thsi!? did not understand for what this is good for?
-
shpolbder
- Posts: 11
- Joined: Thu 29. Jul 2004, 14:13
Post
by shpolbder »
CSS
Code: Select all
body#page1 div#mainMenu li a#menuItemForPage1,
body#page2 div#mainMenu li a#menuItemForPage2,
..... {
.....
}
HTML
Code: Select all
<body id="page1">
<div id="mainMenu">
<ul>
<li><a id="menuItemForPage1" href="page1.shtml">menu1</a></li>
<li><a id="menuItemForPage2" href="page2.shtml">menu2</a></li>
...
</ul>
</div>
...
-
shpolbder
- Posts: 11
- Joined: Thu 29. Jul 2004, 14:13
Post
by shpolbder »
Even Better:
CSS
Code: Select all
body.page1 div#mainMenu li a#page1,
body.page2 div#mainMenu li a#page2,
..... {
.....
}
HTML
Code: Select all
<body class="page1">
<div id="mainMenu">
<ul>
<li><a id="page1" href="page1.shtml">menu1</a></li>
<li><a id="page2" href="page2.shtml">menu2</a></li>
...
</ul>
</div>
...
-
shpolbder
- Posts: 11
- Joined: Thu 29. Jul 2004, 14:13
Post
by shpolbder »
I made it another way.
Nevertheless it would be an useful option...