
CODE
<!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">
<head>
<?php
// zmienna potrzebna do prawidlowego wczytania includowanych plikow
$add_site = true;
// zmienna $go przekazana metoda GET
$go = $_GET['go'];
//includujemy plik z linkami
include("pliki.php");
?>
<link rel="Stylesheet" type="text/css" href="css/style.css">
<!-- Insert these lines in your document's head -->
<link rel="stylesheet" type="text/css" media="screen" href="css/uvumi-dropdown-vertical.css"/>
<script type="text/javascript" src="js/mootools-for-dropdown.js"> </script>
<script type="text/javascript" src="js/UvumiDropdown.js"> </script>
<script type="text/javascript">
var menu = new UvumiDropdown('dropdown-demo',{closeDelay:500, mode:'vertical'});
</script>
</head>
<body>
<div id="top">
<div id="NAGLOWEK">
<img src="images/panorama_150_750.jpg" style="floating: left top; margin: 0px;">
<img src="images/naglowek.gif" style="floating: left; position: relative; left: 25px; top: -15px; border: 0px;">
</div>
<div id="MENU">
<ul id="dropdown-demo" class="dropdown">
<li><a href="index.php?go=1">Strona główna</a></li>
<li><a>Kategorie</a>
<ul>
<li><a>Muzyka</a>
<ul>
<li><a href="index.php?go=11">Rock</a></li>
<li><a href="index.php?go=12">Pop</a></li>
<li><a href="index.php?go=13">Elektroniczna</a></li>
</ul>
</li>
<li><a>Hobby</a>
<ul>
<li><a href="index.php?go=21">Latem</a></li>
<li><a href="index.php?go=22">Zimą</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="index.php?go=2">Galeria zdjęć</a></li>
<li><a href="index.php?go=3">O mnie</a></li>
</ul>
</div>
<div id="TRESC" style="position: relative; left: 180px;">
<?php echo($link[$go]) ?>
</div>
<div id="STOPKA">
Ostatnia modyfikacja strony: <?php echo date('Y-m-d H:i:s', filemtime($_SERVER['SCRIPT_FILENAME'])); ?>
</div>
</div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php
// zmienna potrzebna do prawidlowego wczytania includowanych plikow
$add_site = true;
// zmienna $go przekazana metoda GET
$go = $_GET['go'];
//includujemy plik z linkami
include("pliki.php");
?>
<link rel="Stylesheet" type="text/css" href="css/style.css">
<!-- Insert these lines in your document's head -->
<link rel="stylesheet" type="text/css" media="screen" href="css/uvumi-dropdown-vertical.css"/>
<script type="text/javascript" src="js/mootools-for-dropdown.js"> </script>
<script type="text/javascript" src="js/UvumiDropdown.js"> </script>
<script type="text/javascript">
var menu = new UvumiDropdown('dropdown-demo',{closeDelay:500, mode:'vertical'});
</script>
</head>
<body>
<div id="top">
<div id="NAGLOWEK">
<img src="images/panorama_150_750.jpg" style="floating: left top; margin: 0px;">
<img src="images/naglowek.gif" style="floating: left; position: relative; left: 25px; top: -15px; border: 0px;">
</div>
<div id="MENU">
<ul id="dropdown-demo" class="dropdown">
<li><a href="index.php?go=1">Strona główna</a></li>
<li><a>Kategorie</a>
<ul>
<li><a>Muzyka</a>
<ul>
<li><a href="index.php?go=11">Rock</a></li>
<li><a href="index.php?go=12">Pop</a></li>
<li><a href="index.php?go=13">Elektroniczna</a></li>
</ul>
</li>
<li><a>Hobby</a>
<ul>
<li><a href="index.php?go=21">Latem</a></li>
<li><a href="index.php?go=22">Zimą</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="index.php?go=2">Galeria zdjęć</a></li>
<li><a href="index.php?go=3">O mnie</a></li>
</ul>
</div>
<div id="TRESC" style="position: relative; left: 180px;">
<?php echo($link[$go]) ?>
</div>
<div id="STOPKA">
Ostatnia modyfikacja strony: <?php echo date('Y-m-d H:i:s', filemtime($_SERVER['SCRIPT_FILENAME'])); ?>
</div>
</div>
</body>
</html>
CODE
html, body {
background-color: #fff;
margin: 0;
padding: 0;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
color: #000000;
}
#top {
width: 998px;
margin: 0px auto 0px auto;
}
#NAGLOWEK {
background-color: #FBE601;
top: 0px;
width: 998px;
height: 150px;
margin: 0px auto 0px auto;
}
#MENU {
width: 190px;
float: left;
}
#dropdown-demo {
visibility: visible;
}
#TRESC {
width: 808px;
float: left;
overflow: hidden;
}
#STOPKA {
position: relative;
left: 0px;
bottom: 0px;
text-align: center;
clear: both;
width: 100%;
background-color: #999;
}
background-color: #fff;
margin: 0;
padding: 0;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
color: #000000;
}
#top {
width: 998px;
margin: 0px auto 0px auto;
}
#NAGLOWEK {
background-color: #FBE601;
top: 0px;
width: 998px;
height: 150px;
margin: 0px auto 0px auto;
}
#MENU {
width: 190px;
float: left;
}
#dropdown-demo {
visibility: visible;
}
#TRESC {
width: 808px;
float: left;
overflow: hidden;
}
#STOPKA {
position: relative;
left: 0px;
bottom: 0px;
text-align: center;
clear: both;
width: 100%;
background-color: #999;
}
CODE
/* this is the main UL element*/
.dropdown{
display:none;
margin:0;
padding:0;
list-style:none;
z-index:1000000000;
}
/* these are the inner menus*/
.dropdown ul{
margin:0;
padding:0;
border-top:1px solid #444;
list-style:none;
}
/* these are all the LIs in the menu*/
.dropdown li{
margin:0;
padding:5px;
width:160px;
background-color:#9999FF;
cursor:pointer;
border-top:0;
}
/* these are anchor in the menu, if you want to style them differently from the rest of you website*/
.dropdown a{
text-decoration: none;
font-weight: bold;
color:#000000;
width:100%;
}
.dropdown a:hover{
text-decoration: underline;
text-decoration: italic;
font-weight: bold;
color:#FF0000;
}
/* these are the LIs that only belong to submenu*/
.dropdown ul li{
border:1px solid #444;
border-top:0;
margin-left:-1px;
}
.dropdown>li:first-child{
border-top:1px solid #444;
}
/* these are the LIs that contains a submenu*/
.dropdown li.submenu-down{
background:#000 url('../images/expand_down.gif') center left no-repeat;
padding-left:20px;
width:105px;
}
/* these are the LIs that contains a submenu and which are in a sub-menu themselve*/
.dropdown li.submenu-left{
background:#8888DD url('../images/expand_right.gif') center right no-repeat;
padding-right:20px;
width:145px;
}
.dropdown{
display:none;
margin:0;
padding:0;
list-style:none;
z-index:1000000000;
}
/* these are the inner menus*/
.dropdown ul{
margin:0;
padding:0;
border-top:1px solid #444;
list-style:none;
}
/* these are all the LIs in the menu*/
.dropdown li{
margin:0;
padding:5px;
width:160px;
background-color:#9999FF;
cursor:pointer;
border-top:0;
}
/* these are anchor in the menu, if you want to style them differently from the rest of you website*/
.dropdown a{
text-decoration: none;
font-weight: bold;
color:#000000;
width:100%;
}
.dropdown a:hover{
text-decoration: underline;
text-decoration: italic;
font-weight: bold;
color:#FF0000;
}
/* these are the LIs that only belong to submenu*/
.dropdown ul li{
border:1px solid #444;
border-top:0;
margin-left:-1px;
}
.dropdown>li:first-child{
border-top:1px solid #444;
}
/* these are the LIs that contains a submenu*/
.dropdown li.submenu-down{
background:#000 url('../images/expand_down.gif') center left no-repeat;
padding-left:20px;
width:105px;
}
/* these are the LIs that contains a submenu and which are in a sub-menu themselve*/
.dropdown li.submenu-left{
background:#8888DD url('../images/expand_right.gif') center right no-repeat;
padding-right:20px;
width:145px;
}
Prosze o pomoc... sugestie... Dziekuje