ilch Forum » Ilch Clan 1.1 » Installation und Upgrades » Navi Button Verlinken

Geschlossen
  1. #1
    User Pic
    beschi Mitglied
    Registriert seit
    27.05.2013
    Beiträge
    180
    Beitragswertungen
    0 Beitragspunkte
    Hallo, habe Heute ein Update für die Seite bekommen. Jetzt funktionieren die Navi Button nicht richtig, bsp. klickt man auf Kontakt kommen die News. Würde gerne Wissen wie ich das ändern muss

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <!--
    :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    ::                                                               ::
    ::                PC-Gamerscom Design für ilch CMS               ::
    ::                                                               ::
    ::     Design by: 							  ::
    ::                                                               ::
    ::     blue © www.blue-psd.net 2012			         ::
    ::                                                               ::
    ::                                                               ::
    ::     Code & Modifikationen by:			                ::
    ::                                                               ::
    ::     © searchgame.de & .org By Norman, all rights reserved.    ::
    ::                                                               ::
    ::                                                               ::
    :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    -->
    <html>
      <head>
        <meta http-equiv="Content-Language" content="de">
        <title>{TITLE}</title>
    	<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
        <meta name="Robots" content="INDEX,FOLLOW">
        <meta http-equiv="cache-control" content="no-cache">
        <meta http-equiv="Pragma" content="no-cache">
    	<meta name="Robots" content="archive">
    	<link rel="stylesheet" type="text/css" href="include/designs/ilch_gamerscom_001/style.css">
    	<script type="text/javascript" src="include/designs/ilch_gamerscom_001/js/jquery-1.3.2.min.js"></script>
    	<style type="text/css">
    #droenudiv{
    position:absolute;
    font:normal 12px arial;
    z-index:100;
    }
    
    #droenudiv a{
    border-right:1px #0A4772 solid;
    border-bottom:1px #0A4772 solid;
    border-top:0px #32ADFF solid;
    border-left:1px #0A4772 solid;
    height:25px;
    line-height:25px;
    width:160px;
    padding-left:2px;
    background-color:#0092FF;
    color: #ffffff;
    font-size: 13px;
    font-family:arial;
    font-weight: normal;
    float:left;
    }
    
    #droenudiv a:hover{ /*hover background color*/
    color: #ffffff;
    font-size: 13px;
    font-family:arial;
    font-weight: normal;
    background-color: #006EBC;
    width:163px;
    }
    </style>
    
    <script type="text/javascript">
    
    //Contents for menu 1
    var menu1=new Array()
    menu1[0]='<a href="index.php?news">News</a>'
    menu1[1]='<a href="index.php?forum">Forum</a>'
    
    //Contents for menu 2
    var menu2=new Array()
    menu2[0]='<a href="index.php?user">Mitglieder</a>'
    menu2[1]='<a href="index.php?gbook">Gästebuch</a>'
    menu2[2]='<a href="index.php?">Link Us</a>'
    menu2[3]='<a href="index.php?">Jobs</a>'
    menu2[4]='<a href="index.php?">Presse</a>'
    menu2[5]='<a href="index.php?">Partner</a>'
    menu2[6]='<a href="index.php?">Main Partner</a>'
    menu2[7]='<a href="index.php?">Sponsoren</a>'
    menu2[8]='<a href="index.php?">Gamekey Shop</a>'
    
    //Contents for menu 3
    var menu3=new Array()
    menu3[0]='<a href="index.php?downloads">Downloads</a>'
    menu3[1]='<a href="index.php?gallery">Gallery</a>'
    menu3[2]='<a href="index.php?links">Links</a>'
    
    
    //Contents for menu 4
    var menu5=new Array()
    menu5[0]='<a href="index.php?contact">Kontakt</a>'
    menu5[1]='<a href="index.php?Impressum">Impressum</a>'
    
    //Contents for menu 5
    var menu4=new Array()
    	
    var menuwidth='' //menu width
    var menubgcolor=''  //menu bgcolor
    var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
    var hidemenu_onclick="yes" //hide menu when user clicks within menu?
    
    /////No further editting needed
    
    var ie4=document.all
    var ns6=document.getElementById&&!document.all
    
    if (ie4||ns6)
    document.write('<div id="droenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')
    
    function getposOffset(what, offsettype){
    var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
    var parentEl=what.offsetParent;
    while (parentEl!=null){
    totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
    parentEl=parentEl.offsetParent;
    }
    return totaloffset;
    }
    
    
    function showhide(obj, e, visible, hidden, menuwidth){
    if (ie4||ns6)
    droenuobj.style.left=droenuobj.style.top="-500px"
    if (menuwidth!=""){
    droenuobj.widthobj=droenuobj.style
    droenuobj.widthobj.width=menuwidth
    }
    if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
    obj.visibility=visible
    else if (e.type=="click")
    obj.visibility=hidden
    }
    
    function iecompattest(){
    return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
    }
    
    function clearbrowseredge(obj, whichedge){
    var edgeoffset=0
    if (whichedge=="rightedge"){
    var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
    droenuobj.contentmeasure=droenuobj.offsetWidth
    if (windowedge-droenuobj.x < droenuobj.contentmeasure)
    edgeoffset=droenuobj.contentmeasure-obj.offsetWidth
    }
    else{
    var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
    
    var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
    droenuobj.contentmeasure=droenuobj.offsetHeight
    if (windowedge-droenuobj.y < droenuobj.contentmeasure){ //move up?
    edgeoffset=droenuobj.contentmeasure+obj.offsetHeight
    if ((droenuobj.y-topedge)<droenuobj.contentmeasure) //up no good either?
    edgeoffset=droenuobj.y+obj.offsetHeight-topedge
    }
    }
    return edgeoffset
    }
    
    function populatemenu(what){
    if (ie4||ns6)
    droenuobj.innerHTML=what.join("")
    }
    
    
    function dropdownmenu(obj, e, menucontents, menuwidth){
    if (window.event) event.cancelBubble=true
    else if (e.stopPropagation) e.stopPropagation()
    clearhidemenu()
    droenuobj=document.getElementById? document.getElementById("droenudiv") : droenudiv
    populatemenu(menucontents)
    
    
    
    
    
    if (ie4||ns6){
    showhide(droenuobj.style, e, "visible", "hidden", menuwidth)
    droenuobj.x=getposOffset(obj, "left")
    droenuobj.y=getposOffset(obj, "top")
    droenuobj.style.left=droenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
    droenuobj.style.top=droenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
    }
    
    return clickreturnvalue()
    }
    
    function clickreturnvalue(){
    if (ie4||ns6) return false
    else return true
    }
    
    function contains_ns6(a, b) {
    while (b.parentNode)
    if ((b = b.parentNode) == a)
    return true;
    return false;
    }
    
    function dynamichide(e){
    if (ie4&&!droenuobj.contains(e.toElement))
    delayhidemenu()
    else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
    delayhidemenu()
    }
    
    function hidemenu(e){
    if (typeof droenuobj!="undefined"){
    if (ie4||ns6)
    droenuobj.style.visibility="hidden"
    }
    }
    
    function delayhidemenu(){
    if (ie4||ns6)
    delayhide=setTimeout("hidemenu()",disappeardelay)
    }
    
    function clearhidemenu(){
    if (typeof delayhide!="undefined")
    clearTimeout(delayhide)
    }
    
    if (hidemenu_onclick=="yes")
    document.onclick=hidemenu
    
    </script>
    </head>
    <body>
    <table class="maintable_top" style="width:1031px; height:39px" cellpadding="0" cellspacing="0">
    	<tr>
    		<td valign="top" style="width:1031px; height:39px; background:url(include/designs/ilch_gamerscom_001/images/top.png) top center no-repeat"><div id="login">{_boxes_login}</div></td>
    	</tr>
    </table>
    <table class="maintable_top" style="width:1031px; height:242px" cellpadding="0" cellspacing="0">
    	<tr>
    		<td valign="top" style="width:1031px; height:242px; background:url(include/designs/ilch_gamerscom_001/images/header.png) top center no-repeat"></td><div align="center"><!-- Info Meldung --><div class="notification">{_boxes_notification}</div><!-- Seiten Wechsel -->
    	<tr>
    	</tr>
    </table>
    <table class="maintable_top" style="width:1031px; height:46px; background:url(include/designs/ilch_gamerscom_001/images/menu.png) top center no-repeat" cellpadding="0" cellspacing="0">
    	  <td valign="middle">
    	  <div id="topmenu">
    	<a href="index.php?news">News</a>
    	<a href="index.php?forum">Forum</a>
    	<a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu2, '100px')" onMouseout="delayhidemenu()">Interaktiv</a>
    	<a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu3, '100px')" onMouseout="delayhidemenu()">Media</a>
    	<a href="index.php">Kontakt</a>
    	<a href="index.php?Impressum">Impressum</a>
    	</div>
    	 </td>
    	<td>
    	  <div id="search" style="padding-right: 52px; padding-top: 2px;">{_boxes_search}</div>
    	  </td>
    	</tr>
    </table>
    <table class="maintable_con1" style="width:1031px; height:90px" cellpadding="0" cellspacing="0">
    	<tr>
    		<td valign="top">{_boxes_rotation}</td>
    	</tr>
    </table>
    <table class="maintable_con2" style="width:1031px; height:290px" cellpadding="0" cellspacing="0">
    	<tr>
    		<td style="width:28px"></td>
    		<td valign="top">
    		{_boxes_rotation2}
    		</td>
    		<td valign="top">
    	<td valign="top" style="width:255px; height:272px; background:url(include/designs/ilch_gamerscom_001/images/button_nav/bild4.png) top center no-repeat">
    	<div style="padding-left:12px;padding-right:12px;padding-top:40px;">{_boxes_infonews}</div>
    	</td>
    		<td style="width:28px"></td>
    	</tr>
    </table>
    	  <table class="maintable" cellspacing="0">
    		  <tr>
    		     <td>
    			   <table cellpadding="0" cellspacing="0" >
    		      <tr>
    <!--Platzhalter-->
    					<td style="width:28px"><img src="include/designs/ilch_gamerscom_001/images/blank.gif" width="28" height="1" alt="" /></td>
    <!--/Platzhalter-->
     <!--content-->
    	          <td width="662" valign="top">
    			  <table cellpadding="0" cellspacing="0">
    				    <tr>
    					<td class="Callg" align="left"  valign="top">{_boxes_nrone_news}</td><td width="8"></td><td class="Callg" align="left"  valign="top">{_boxes_topnews}</td>
    					</tr>
    					</table>
    					<table cellpadding="0" cellspacing="0">
    					<tr>
    					<td><br /><img src="include/designs/ilch_gamerscom_001/images/trailer_top.png" width="662" height="25" alt="" /><br /><br />{_boxes_trailerbox}<br /><br /></td>
    					</tr>
    					</table>
                        <table class="maintable" cellpadding="0" cellspacing="0" border="0" style="width:662px; background:url(include/designs/ilch_gamerscom_001/images/content_bg.jpg) top center repeat-y">
    					<tr>
    					<td width="0"></td>
    					<td class="Callg" align="left"  valign="top">
    					<div style="background-image:url(include/designs/ilch_gamerscom_001/images/news_top.jpg); width:525px; height:25px; margin:0px; padding:0px;">
    					<div style="text-align:left; color:#ffffff; padding-left: 10px; padding-top: 5px; ">
    					<b> &raquo; </b>{HMENU}
    					</div>
    					</div>
    					<br /><br />
                        {EXPLODE}
    					</td>
    					<td width="0"></td>
    					<td width="132" valign="top">{_boxes_allianz}
         					</td>
    					</tr>
                        </table>
    					<table cellpadding="0" cellspacing="0">
    					<tr>
                        <td style="width:662px; height:70px;"><br />
    					{_boxes_rotation3}</td>
                      </tr>
    			
                    </table>
    			{_boxes_wolke}
    	         </td>
    <!--Platzhalter-->
    					<td style="width:13px"><img src="include/designs/ilch_gamerscom_001/images/blank.gif" width="13" height="1" alt="" /></td>
    <!--/Platzhalter-->
    			 <!--navi02-->
                    	        <td align="left" valign="top">
    							{_boxes_rotation4}
    							
    	  		    <table width="300" border="0" cellspacing="0" cellpadding="0">
    				{_list_menunr2@
                    <tr>
                    <td width="300" height="41" background="include/designs/ilch_gamerscom_001/images/navtop_re.jpg">
    				<table width="300">
                    <tr>
    				<td width="300" class="navtop_re">%1</td>
    				</tr>
    				</table>
    			    </td>
                    </tr>
                    <tr>
                    <td background="include/designs/ilch_gamerscom_001/images/navbg_re.jpg" style="background-repeat:repeat-y;">
    				<table width="300" border="0" cellspacing="0" cellpadding="0">
                    <tr>
    				<td width="5" align="center"></td>
    				<td width="170" align="left" class="navi_re"><div id="menu_re">%2</div></td>
    				<td width="5" align="center"></td>
    				</tr>
    				</table>
    			    </td>
                    </tr>
                    <tr>
    		        <td height="24" background="include/designs/ilch_gamerscom_001/images/navfooter_re.jpg"></td>
    				</tr>
    			    }
    		        </table>			
                    </td>
    			 	</tr>
                  </table>
    </td>
    </tr>
    </table>
    <table class="maintable2" cellpadding="0" cellspacing="0">
        <tr>
    	<td width="1031px" valign="top">
    	<div id="sub-nav">
    <div id="column1">
    	<h2>Community</h2>
    	</div>
    <div id="column2">
    	<h2>Video Game Seiten</h2>
    	</div>
    <div id="column3">
    	<h2>Infomailer</h2>
    	</div>
    <div id="column4">
    	<h2>Rechtliches</h2>
    	</div>
    	<div class="clr"></div>
    </div>
    	</td>
    	</tr>
    </table>
    <table class="maintable3" cellpadding="0" cellspacing="0">
        <tr>
    	<td width="1031px" valign="top">
    	<div id="sub-navigation">
    <div id="column1">
    	<img src="include/designs/ilch_gamerscom_001/images/punkt_fooder.png" width="4" height="4" alt="" /> <a href="index.php?contact">Kontakt<br /> 
    	<img src="include/designs/ilch_gamerscom_001/images/punkt_fooder.png" width="4" height="4" alt="" /> <a href="index.php?linkus">Link Us</a> <br />
    	<br />
    	<img src="include/designs/ilch_gamerscom_001/images/punkt_fooder.png" width="4" height="4" alt="" /> <a href="index.php?">Jobs</a> <br />
    	<img src="include/designs/ilch_gamerscom_001/images/punkt_fooder.png" width="4" height="4" alt="" /> <a href="index.php?">Presse</a> <br />
    	</div>
    <div id="column2">
    	<img src="include/designs/ilch_gamerscom_001/images/punkt_fooder.png" width="4" height="4" alt="" /> <a href="http://www.pcgames.de/">pcgames.de<br /> 
    	<img src="include/designs/ilch_gamerscom_001/images/punkt_fooder.png" width="4" height="4" alt="" /> <a href="http://www.pcaction.de/>pcaction.de/a> <br />
    	<img src="include/designs/ilch_gamerscom_001/images/punkt_fooder.png" width="4" height="4" alt="" /> <a href="http://gamespot.com/">gamespot.com</a> <br />
    	<img src="include/designs/ilch_gamerscom_001/images/punkt_fooder.png" width="4" height="4" alt="" /> <a href="http://www.gamescom-cologne.com">gamescom-cologne.com</a> <br />
    	<img src="include/designs/ilch_gamerscom_001/images/punkt_fooder.png" width="4" height="4" alt="" /> <a href="http://gamespot.com/">gamespot.com</a> <br />
    	 <br /> 
    	<img src="include/designs/ilch_gamerscom_001/images/punkt_fooder.png" width="4" height="4" alt="" /> <a href="http://www.battlefield-4.net/">battlefield-4.net</a> <br />
    	<img src="include/designs/ilch_gamerscom_001/images/punkt_fooder.png" width="4" height="4" alt="" /> <a href="http://www.battlefield3-game.de/">battlefield3-game.de</a> <br />
     	<br />
    	</div>
    <div id="column3">
    	<img src="include/designs/ilch_gamerscom_001/images/punkt_fooder.png" width="4" height="4" alt="" /> Über interessante<br />
     	Informationen informieren wir Sie über unseren Newsletter.<br />
    	<br />
    	<img src="include/designs/ilch_gamerscom_001/images/punkt_fooder.png" width="4" height="4" alt="" /> Einfach Anmelden und stets auf den laufenden bleiben.<br />
    	<br />
    	</div>
    <div id="column4">
    	<img src="include/designs/ilch_gamerscom_001/images/punkt_fooder.png" width="4" height="4" alt="" /> Ausgewiesene Marken und Logos<br /> 
    	sind Eigentum der jeweiligen Inhaber..<br />
    	<br />
    	<img src="include/designs/ilch_gamerscom_001/images/punkt_fooder.png" width="4" height="4" alt="" /> <a href="index.php?Impressum">Impressum</a><br />
    	<img src="include/designs/ilch_gamerscom_001/images/punkt_fooder.png" width="4" height="4" alt="" /> <a href="http://stroeerdigitalmedia.de/werbeformen/targeting/datenschutzhinweise">Datenschutzhinweise zur Werbung</a><br />
    	</td>
    	</tr>
    </table>
    <table class="maintable4" cellpadding="0" cellspacing="0">
        <tr>
    	<td width="1031px" valign="top">
    	<div id="sub-nav">
     <div id="copy">Copyrights &copy; 2012 <a href="http://www.blue-psd.net" target="_blank">blue-psd.net</a> all rights reserved. Script Copyrights by <a href="http://www.ilch.de" target="_blank">ilch.de</div>
      <div id="copy_menu">
      <a href="index.php?forum-showtopics-5">Actionspiele</a> | 
      <a href="index.php?forum-showtopics-15">Strategiespiele</a> | 
      <a href="index.php?forum-showtopics-16">Managementspiele</a> | 
      <a href="index.php?forum-showtopics-17">Rollenspiele</a> | 
      <a href="index.php?forum-showtopics-18">Adventure-Spiele</a> | 
      <a href="index.php?forum-showtopics-19">Casualspiele</a> | 
      <a href="index.php?forum-showtopics-20">Sportspiele</a> | 
      <a href="index.php?forum-showtopics-21">Simulationspiele</a> | 
      <a href="index.php?forum-showtopics-22">Kidsspiele</a> | 
      <a href="index.php?forum-showtopics-23">Shooterspiele</a> 
      </div>
    </div>
    	</td>
    	</tr>
    </table>
    <body oncontextmenu="return false">
    <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/de_DE/all.js#xfbml=1";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    </html>
    {_list_hmenupoint@<li><a target="%1" class="box" href="%2">%3</a>|</li>|<br />|</ul></li>}
    {_list_hmenubegi@<ul>}
    {_list_hmenuende@</ul>}
    {_list_vmenupoint@<li><a target="%1" class="box" href="%2">%3</a>|</li>|<br /><ul>|</ul></li>}
    {_list_vmenubegi@<ul>}
    {_list_vmenuende@</ul>}



    verwendete ilchClan Version: 1.1 P

    betroffene Homepage: externer Link
    0 Mitglieder finden den Beitrag gut.
  2. #2
    User Pic
    Rock@wulf Hall Of Fame
    Registriert seit
    03.06.2004
    Beiträge
    3.282
    Beitragswertungen
    239 Beitragspunkte
    //Contents for menu 1
    var menu1=new Array()
    menu1[0]='<a href="index.php?news">News</a>'
    menu1[1]='<a href="index.php?forum">Forum</a>'
     
    //Contents for menu 2
    var menu2=new Array()
    menu2[0]='<a href="index.php?user">Mitglieder</a>'
    menu2[1]='<a href="index.php?gbook">Gästebuch</a>'
    menu2[2]='<a href="index.php?">Link Us</a>'
    menu2[3]='<a href="index.php?">Jobs</a>'
    menu2[4]='<a href="index.php?">Presse</a>'
    menu2[5]='<a href="index.php?">Partner</a>'
    menu2[6]='<a href="index.php?">Main Partner</a>'
    menu2[7]='<a href="index.php?">Sponsoren</a>'
    menu2[8]='<a href="index.php?">Gamekey Shop</a>'
     
    //Contents for menu 3
    var menu3=new Array()
    menu3[0]='<a href="index.php?downloads">Downloads</a>'
    menu3[1]='<a href="index.php?gallery">Gallery</a>'
    menu3[2]='<a href="index.php?links">Links</a>'
     
     
    //Contents for menu 4
    var menu5=new Array()
    menu5[0]='<a href="index.php?contact">Kontakt</a>'
    menu5[1]='<a href="index.php?Impressum">Impressum</a>'
     
    //Contents for menu 5
    var menu4=new Array()
    Meine Postings repräsentieren meine Meinung wenn nicht anders gekennzeichnet.
    MFG Rock@wulf
    0 Mitglieder finden den Beitrag gut.
  3. #3
    User Pic
    tomralfwe Mitglied
    Registriert seit
    10.10.2013
    Beiträge
    1
    Beitragswertungen
    0 Beitragspunkte
    Danke für Ihre Hilfe!
    0 Mitglieder finden den Beitrag gut.
Geschlossen

Zurück zu Installation und Upgrades

Optionen: Bei einer Antwort zu diesem Thema eine eMail erhalten