Suche im Forum:
Suchen


Autor Nachricht
Beitrag17.02.2009 um 20:21 (UTC)    
Titel: Kann man 2 Coolmenus machen

Also ich habe ein design wo ich 2 coolmenus füebenötige, ist das möglich?

das design sieht so aus :

wie kan ich diese navi coden?
Beitrag18.02.2009 um 08:46 (UTC)    
Titel:

Hallo Patrick

versuche mal diesen Code:
den fügst 2 mal ein über dem design
einmal dreifach und einmal zweifach

Dann versuchen exakt übereinander positionieren:

für das dreifache

<style type="text/css" media="screen">
<!--
body
{
font-family: Verdana, sans-serif;
font-size: 18px;
overflow: auto;
padding: 10px;
margin: 0px;
}

ul, li
{
list-style-type: none;
padding: 0px;
margin: 0px;
}

div.menu
{
position: absolute;
z-index: 3;
top: 180px;
left:300px;
}

.menu li
{
width: 140px;
float: left;
}

.menu a
{
border: 1px solid #888;
background-color: #000000;
background-image: url(URL DES NORMALEN BUTTON);
text-decoration: none;
text-align: center;
font-weight: bold;
cursor: default;
margin: 0px 2px;
display: block;
height: 20px;
color: #99ff00;
}

.menu a:hover
{
background-image: url(URL DES HOVER BUTTON);
background-color: #000099;
}

#smenu1, #smenu2, #smenu3, #smenu4
{
font-size: 16px;
display: none;
width: 140px;
float: left;
}

#smenu1 a, #smenu2 a, #smenu3 a, #smenu4 a
{
font-weight: normal;
padding-top: 2px;
border-top: 0px;
cursor: pointer;
}
//-->
</style>

<script type="text/javascript">
<!--
function montre(id)
{
with (document)
{
if (getElementById)
getElementById(id).style.display = 'block';
else if (all)
all[id].style.display = 'block';
else
layers[id].display = 'block';
}
}

function cache(id)
{
with (document)
{
if (getElementById)
getElementById(id).style.display = 'none';
else if (all)
all[id].style.display = 'none';
else
layers[id].display = 'none';
}
}
//-->
</script>



<div class="menu">
<ul>
<li><a href="HIER DEN LINK">
MENÜ 1</a>
</li>

<li><a href="HIER DEN LINK">
MENÜ 2</a>
</li>

<li><a href="HIER DEN LINK">
MENÜ 3</a>

</li>
</ul>
</div>

für das zweifache

Zitat:
<style type="text/css" media="screen">
<!--
body
{
font-family: Verdana, sans-serif;
font-size: 18px;
overflow: auto;
padding: 10px;
margin: 0px;
}

ul, li
{
list-style-type: none;
padding: 0px;
margin: 0px;
}

div.menu
{
position: absolute;
z-index: 3;
top: 180px;
left:300px;
}

.menu li
{
width: 140px;
float: left;
}

.menu a
{
border: 1px solid #888;
background-color: #000000;
background-image: url(URL DES NORMALEN BUTTON);
text-decoration: none;
text-align: center;
font-weight: bold;
cursor: default;
margin: 0px 2px;
display: block;
height: 20px;
color: #99ff00;
}

.menu a:hover
{
background-image: url(URL DES HOVER BUTTON);
background-color: #000099;
}

#smenu1, #smenu2, #smenu3, #smenu4
{
font-size: 16px;
display: none;
width: 140px;
float: left;
}

#smenu1 a, #smenu2 a, #smenu3 a, #smenu4 a
{
font-weight: normal;
padding-top: 2px;
border-top: 0px;
cursor: pointer;
}
//-->
</style>

<script type="text/javascript">
<!--
function montre(id)
{
with (document)
{
if (getElementById)
getElementById(id).style.display = 'block';
else if (all)
all[id].style.display = 'block';
else
layers[id].display = 'block';
}
}

function cache(id)
{
with (document)
{
if (getElementById)
getElementById(id).style.display = 'none';
else if (all)
all[id].style.display = 'none';
else
layers[id].display = 'none';
}
}
//-->
</script>



<div class="menu">
<ul>
<li><a href="HIER DEN LINK">
MENÜ 1</a>
</li>

<li><a href="HIER DEN LINK">
MENÜ 2</a>

</li>
</ul>
</div>

Ich wünsche dir viel spaß beim probieren... gib nicht gleich auf!
Gruß
______________
Account gelöscht 26.02.2009
Beitrag18.02.2009 um 10:03 (UTC)    
Titel:

Beitrag18.02.2009 um 13:04 (UTC)    
Titel:

dafr braucht man doch nicht das coolmenü, außer die felder sollen sich aufklappen
wenn sie sich nicht aufklappen sollen, mach doch einfach <li></li> tags und stelle mit css ausrichtung "block" ein so dürfte das gehen, und dann halt noch schön platzieren
______________
Beiträge der letzten Zeit anzeigen:   


Powered by phpBB © 2001, 2005 phpBB Group
Deutsche Übersetzung von phpBB.de