Hey Leute,
ich habe zwei Probleme,
das erste ist, das Meine Naigation die ich als Coolmenü angezeigt haben will, im Header an der untersten Kante des Headers haben will, nur leider bekomme ich es da nicht hin positioniert. Wie hier beschrieben.
http://www.homepage-baukasten.de/forum/viewtopic.php?t=138444 und hier im Header Bereich aber wie gesagt an der Unteren Kante.
http://tttttest.de.tl
das zweite Problem ist, dass der Inhalt nicht in dem Vorgesehen bereich angezeigt wird.
Könntet ihr mir da weiter helfen. Anbei die Codes.
TXT über Design
Code: <script type="text/javascript">CoolMenu=function(){var a,b=document.getElementById("nav").getElementsByTagName("li"),d;this.getSubMenuByRequest=function(a){var c=null;try{c=new XMLHttpRequest}catch(d){try{c=new ActiveXObject("Microsoft.XMLHTTP")}catch(b){try{c=new ActiveXObject("Msxml2.XMLHTTP")}catch(f){c=null}}}c&&(c.parent=a,c.open("GET",a.main.getElementsByTagName("a")[0].href,!0),c.onreadystatechange=function(){if(4==this.readyState){var a,d=document.createElement("ul");a=document.createElement("div");var b=c.responseText.indexOf("<body")+
5,e=c.responseText.indexOf("</body>");a.innerHTML=c.responseText.substr(b,e-b);b=a.querySelectorAll("#nav > li.subpage");for(a=0;a<b.length;a++)d.appendChild(b[a]);this.parent.main.appendChild(d)}},c.send(null))};d=document.querySelectorAll("li.subpage");for(a=0;a<d.length;a++)d[a].parentNode.removeChild(d[a]);for(a=0;a<b.length;a++)-1==b[a].className.indexOf("subpage")&&(b[a].getElementsByTagName("a")[0]&&-1!=b[a].getElementsByTagName("a")[0].className.indexOf("menu"))&&(d=new MenuPoint(b[a].id),
this.getSubMenuByRequest(d));document.getElementById("nav_container").style.height=document.getElementById("nav").offsetHeight+"px"};MenuPoint=function(a){this.main=document.getElementById(a);this.subMenu};new CoolMenu;</script>
<div id="bottom_shadow"></div>
<div id="copyright">©Copyright 2014 by backphoto.de.tl. All rights reserved!</div>
</div>
</div>
<script type="text/javascript">
getDesignCookie();
</script>
<script type="text/javascript">
//Name des Gästebuches
var nameOfGB = 'G.ae.stebuch';
//URL des Zurück-Button
var back = 'http://img.webme.com/pic/n/nismo/left_arrow.png';
//URL des Weiterbutton
var next = 'http://img.webme.com/pic/n/nismo/right_arrow.png';
//Ab hier nichts mehr ändern
var i;
var done = false;
var temp = window.location.href.toLowerCase();
if(temp.search('/' + nameOfGB.toLowerCase()) != -1)
{
var allTDs = document.getElementsByTagName('td');
for(i = 0; (i < allTDs.length) && (!done); i++)
{
if(allTDs[i].width == '33%' )
{
if((allTDs[i].align == 'left') && (allTDs[i + 1].align == 'center') && (allTDs[i + 2].align == 'right'))
{
if((allTDs[i].firstChild.firstChild.nodeValue.search('zurück') != -1) && (allTDs[i + 2].firstChild.firstChild.nodeValue.search('weiter') != -1))
{
temp = document.createElement('img');
temp.src = back;
temp.alt = 'back';
allTDs[i].firstChild.removeChild(allTDs[i].firstChild.firstChild);
allTDs[i].firstChild.appendChild(temp);
temp = document.createElement('img');
temp.src = next;
temp.alt = 'next';
allTDs[i + 2].firstChild.removeChild(allTDs[i + 2].firstChild.firstChild);
allTDs[i + 2].firstChild.appendChild(temp);
done = true;
}
}
}
}
}
Code: /*VERSTECKT*/
#header_container{display:none;}
h2#title{display:none;}
#counter{display:none;}
/*VERSTECKT ENDE*/
/*HINTERGRUND*/
body{
background-image: url(http://img.webme.com/pic/n/nismo/ym_bg.png);
background-color: #ececec;
background-repeat: repeat-x;
font-family: arial, sans-serif;
font-size: 12px;
}
/*HINTERGRUND ENDE*/
/*FORMATIERUNGEN*/
h1{
color: #a01213;
font-size: 17px;
margin: 0px;
}
h2{
color: #610303;
font-size: 13px;
margin-bottom: 2px;
margin-top: 2px;
}
a{
color: #a01213;
font-style: italic;
text-decoration: none;
}
a:hover{
color: #610303;
}
hr{
height: 1px;
border: 0px solid #e0e0e0;
background-color: #e0e0e0;
margin: 5px;
margin-left: 0px;
margin-right: 0px;}
/*FORMATIERUNGEN ENDE*/
/*DESIGNCONTAINER*/
#ym_design{
width: 980px;
margin: 20px auto;
background: transparent;
}
#container{
width: 980px;
float: left;
background: url(http://img.webme.com/pic/n/nismo/ym_main.png);
background-repeat: repeat-y;
}
/*DESIGNCONTAINER ENDE*/
/*HEADER*/
#heading{
margin-left: 200px;
color: #fff;
font-size: 30px;
}
#slogan{
margin-left: 270px;
font-size: 20px;
}
/*HEADER ENDE*/
/*TOPBEREICH*/
#top_shadow{
display:none;
}
#top_shadow a{
display:none;
}
/*TOPBEREICH ENDE*/
/*NAVIGATION*/
#nav_container{position:relative;
background-color: #831111;
height:15px;}
#nav{position:absolute;}
#nav > li{float: left;}
#nav li ul{display:none;}
#nav li:hover ul{display:block;}
#nav_heading{
height: 15px;
width: 970px;
padding-left: 15px;
padding-top: 7px;
float: right;
color: #a01213;
font-size: 140%;
margin-top: 15px;
margn-bottom: 15px;
}
ul#nav{
margin-top: 2px;
}
li.nav_element{
list-style-type: square;
color: #cf1a1b;
}
li.subpage a{
width: 100px;
margin-left: 20px;
font-style: italic;
background-color: #a01213;
}
li.subpage a:before{
content: "» ";
}
li.checked_menu a{
background-color: #a01213;
font-weight: bold;
}
li.checked_menu a:hover{
background-color: #a01213;
font-weight: bold;
}
a.menu{
display:block;
width: 100px;
height: 20px;
color: #fff;
text-decoration: none;
padding-left: 10px;
padding-top: 4px;
border-bottom: 1px solid #7e3232;
}
a.menu:hover{
background-color: #831111;
}
/*NAVIGATION ENDE*/
/*INHALTSBEREICH*/
#content{
width: 980px;
padding: 10px 50px 35px 35px;
float: right;
color: #333333;
}
#pre_content{
background-repeat: repeat-x;
float: left;
width: 980px;
height: 20px;
}
/*INHALTSBEREICH ENDE*/
/*FOOTER*/
#bottom_shadow{
width: 980px;
height: 15px;
float: left;
background-image: url(http://img.webme.com/pic/n/nismo/ym_bottom_shadow.png);
}
#copyright{
color: #6b6b6b;
text-align: center;
width: 980px;
float: left;
}
/*FOOTER ENDE*/
/*Lade Balken*/
#TB_load img{visibility:hidden!important;}
#TB_load{
background: url(http://img.webme.com/pic/n/nismo/ajax-loader.gif)!important;
width: 220px!important;
height: 19px!important;
}
/*Laden Balken Ende*/