ilch Forum » Ilch Clan 1.1 » Design und Templates » Spalten

Geschlossen
  1. #1
    User Pic
    eddreg Mitglied
    Registriert seit
    22.05.2014
    Beiträge
    14
    Beitragswertungen
    0 Beitragspunkte
    Hallo,

    bei dem themes möchte ich gerne unterhalb der Obigen Navigation 2 Spalten hin machen Lastnews und lastforum

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <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_gs_template147/style.css">
    	<style type="text/css">
    #droenudiv{
    position:absolute;
    font:normal 10px Verdana;
    z-index:100;
    }
    
    #droenudiv a{
    border-right:1px #000 solid;
    border-bottom:1px #000 solid;
    border-top:1px #282828 solid;
    border-left:1px #282828 solid;
    height:20px;
    line-height:20px;
    width:120px;
    padding-left:2px;
    background-color:#16171B;
    color: #CFCFCF;
    font-size: 11px;
    font-family:verdana;
    font-weight: normal;
    float:left;
    text-align:left;
    text-decoration: none;
    }
    
    #droenudiv a:hover{ /*hover background color*/
    border-right:2px #8B0003 solid;
    color: #8B0003;
    font-size: 11px;
    font-family:verdana;
    font-weight: normal;
    background-color: #16171B;
    width:120px;
    }
    </style>
    
    <script type="text/javascript">
    
    //Contents for menu 1
    var menu1=new Array()
    menu1[0]='<a href="index.php">:: Home</a>'
    menu1[1]='<a href="index.php?news">:: News</a>'
    menu1[2]='<a href="index.php?forum">:: Forum</a>'
    
    //Contents for menu 2
    var menu2=new Array()
    menu2[0]='<a href="http://www.darkcrusade.de/index.php?ServerStatus">:: T3-M4</a>'
    menu2[1]='<a href="index.php?gallery">:: Gallery</a>'
    menu2[2]='<a href="index.php?vote">:: Umfrage</a>'
    
    //Contents for menu 3
    var menu3=new Array()
    menu3[1]='<a href="index.php?raidlist">:: Raidlist</a>'
    menu3[2]='<a href="http://www.darkcrusade.de/admin.php?raid">:: Raid Erstellen</a>'
    menu3[3]='<a href="index.php?raidstatistik">:: Raidstatistik</a>'
    
    //Contents for menu 4
    var menu4=new Array()
    menu4[1]='<a href="index.php?rules">:: Regeln</a>'
    menu4[2]='<a href="index.php?chars">:: Mitglieder</a>'
    
    
    //Contents for menu 5
    var menu5=new Array()
    menu5[0]='<a href="index.php?contact">:: Kontakt</a>'
    menu5[1]='<a href="index.php?impressum">:: Impressum</a>'
    	
    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" cellpadding="0" cellspacing="0">
    	<tr>
    		<td valign="top" style="width:1000px; height:290px;background:url(include/designs/ilch_gs_template147/images/header.jpg) no-repeat;"><br />{_boxes_login}</td>
    	</tr>
    </table>
    <table class="maintable" cellpadding="0" cellspacing="0">
    <tr>
    <td style="width:1000px; height:50px;background:url(include/designs/ilch_gs_template147/images/menu.jpg) no-repeat;">
    <div id="topmenu">
    		<a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu1, '100px')" onMouseout="delayhidemenu()">Navigation</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()">Raids</a>
    		<a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu4, '100px')" onMouseout="delayhidemenu()">Gilde</a>
    		<a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu5, '100px')" onMouseout="delayhidemenu()">Kontakt</a>
    </div>
    </td>
    </tr>
    </table>
    <table class="maintable" cellpadding="0" cellspacing="0">
        <tr>
    	<!--platzhalter-->
    	<td style="width:9px"><img src="include/designs/ilch_gs_template147/images/blank.gif" width="9" height="2" alt="blank" border="0" /></td>
    	<!--/platzhalter-->
    	<!--navi01-->
    	<td align="left" valign="top">
    	  		<table cellspacing="0" cellpadding="0">
    				{_list_menunr1@
    				<tr>
    					<td width="180" height="43" background="include/designs/ilch_gs_template147/images/navtop.jpg">
    					    <table width="180">
                                <tr>
    							    <td width="180" class="navtop">%1</td>
    						    </tr>
    					    </table>
    					</td>
    				</tr>
    				<tr>
    					<td style="width:180px; background:url(include/designs/ilch_gs_template147/images/navbox_bg.jpg) repeat-y;" >
    					    <table width="180" border="0" cellspacing="0" cellpadding="0">
                        <tr>
    					    <td width="4" align="center" ></td>
    						<td width="168" align="center" class="navi_re"><div id="menu">%2</div></td>
    						<td width="4" align="center" ></td>
    					</tr>
    					    </table>
    					</td>
    				</tr>
    				<tr>
    					<td style="width:180px; height:26px; background:url(include/designs/ilch_gs_template147/images/navfooter.jpg) no-repeat;" ></td>
    				}
    				</tr>
    			</table>	
    	</td>
    <!--content-->
    	<td valign="top" style="width:100%">
    				<table cellspacing="0" cellpadding="0">
    					<tr>
    						<td><img border="0" alt="" height="19" width="21" src="include/designs/ilch_gs_template147/images/001.jpg" /></td>
    						<td style="background:url(include/designs/ilch_gs_template147/images/002.jpg); width:100%; height:19px"><img border="0" width="1" height="19" alt="" src="include/designs/ilch_gs_template147/images/blank.gif" /></td>
    						<td><img border="0" alt="" height="19" width="18" src="include/designs/ilch_gs_template147/images/003.jpg" /></td>
    					</tr>
    				</table>
    				<table border="0" cellspacing="0" cellpadding="0" width="100%">
    					<tr>
    						<td style="background:url(include/designs/ilch_gs_template147/images/004.jpg)"><img border="0" width="4" height="1" alt="" src="include/designs/ilch_gs_template147/images/blank.gif" /></td>
    						<td valign="top" style="width:100%;background:#1B1B1B;padding:5px;"  class="Callg"><font class="smalfont"><b> &raquo; </b>{HMENU}</font><br /><br />{EXPLODE}</td>
    						<td style="background:url(include/designs/ilch_gs_template147/images/006.jpg)"><img border="0" width="5" height="1" alt="" src="include/designs/ilch_gs_template147/images/blank.gif" /></td>
    					</tr>
    				</table>
    				<table cellspacing="0" cellpadding="0">
    					<tr>
    						<td><img border="0" alt="" height="22" width="23" src="include/designs/ilch_gs_template147/images/007.jpg" /></td>
    						<td style="background:url(include/designs/ilch_gs_template147/images/008.jpg); width:100%; height:22px"><img border="0" width="1" height="22" alt="" src="include/designs/ilch_gs_template147/images/blank.gif" /></td>
    						<td><img border="0" alt="" height="22" width="22" src="include/designs/ilch_gs_template147/images/009.jpg" /></td>
    					</tr>
    				</table>
    	</td>
    	<!--navi02-->
    	<td align="left" valign="top">
    	  	<table width="200" border="0" cellspacing="0" cellpadding="0">
    			{_list_menunr2@
    			<tr>
                <td width="200" height="43" background="include/designs/ilch_gs_template147/images/navtop_re.jpg">
    				<table width="200">
                        <tr>
    						<td width="200" class="navtop_re">%1</td>
    					</tr>
    				</table>
    			</td>
            </tr>
            <tr>
    			<td>
    				<table style="width:200px; background:url(include/designs/ilch_gs_template147/images/navbox_bg_re.jpg) repeat-y;" cellspacing="0" cellpadding="0">
                        <tr>
    					    <td width="4" align="center" ></td>
    						<td width="192" align="center" class="navi_re"><div id="menu_re">%2</div></td>
    						<td width="4" align="center" ></td>
    					</tr>
    				</table>
    			</td>
            </tr>
    		<tr>
                 <td style="width:200px; height:24px; background:url(include/designs/ilch_gs_template147/images/navfooter_re.jpg) no-repeat;" ></td>
    			 }
             </tr>
    		</table>
    	</td>
    <!--Platzhalter-->
    		  <td style="width:9px"><img src="include/designs/ilch_gs_template147/images/blank.gif" width="9" height="1" alt="" /></td>
    <!--/Platzhalter-->
    	 </tr>
    </table>
    <div id="footer">
    <div id="footer_inner">
    <div id="column1">
    	<h2></h2>
    	<div style="padding-left:2px; padding-top:4px;"></div>
    	<br />
    	</div>
    <div id="column2">
    	<h2></h2>
    	<div style="padding-left:2px; padding-top:4px;"></div>
    	<br />
    	</div>
    <div id="column3">
    	<h2></h2>
    	<div style="padding-left:2px; padding-top:4px;"></div>
    <br />
    	</div>
    <div id="column4">
    	<h2></h2>
    	<img border="0" alt="" src="include/designs/ilch_gs_template147/images/logo.png" /><br />
    	<br />
    	Copyright by E.Dahl (SWTOR Fanpage)</a>
    	<br />
    	</div>
    	<div class="clr"></div>
    </div>
    </div>
    </body>
    </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>}


    nur bin ich da jetzt etwas überfragt ich wollte das reinpositionieren
    <div id="column1">
    	<h2>Lastnews</h2>
    	<div style="padding-left:2px; padding-top:4px;">{_boxes_lastnews}</div>
    	<br />
    	</div>
    <div id="column2">
    	<h2>Lastforum</h2>
    	<div style="padding-left:2px; padding-top:4px;">{_boxes_lastforum}</div>
    	<br />
    aber weis nicht wo genau
    desweiteren wird dann lasnews ausgelesen aber lastforum nicht
    kann da jemand helfen ?

    Danke schon mal


    verwendete ilch Version: 1.1 P

    betroffene Homepage: externer Link
    Homepage: externer Link
    0 Mitglieder finden den Beitrag gut.
  2. #2
    User Pic
    eddreg Mitglied
    Registriert seit
    22.05.2014
    Beiträge
    14
    Beitragswertungen
    0 Beitragspunkte
    so habe die Position hin bekommen

    lastnews lest er mir aus
    nur lasforum lest er nicht aus

    wo ist jetzt der Fehler

    <div id="column1">
        <h2>Lastnews</h2>
        <div style="padding-left:2px; padding-top:4px;">{_boxes_lastnews}</div>
        <br />
        </div>
    <div id="column2">
        <h2>Lastforum</h2>
        <div style="padding-left:2px; padding-top:4px;">{_boxes_lastforum}</div>
        <br />
    Homepage: externer Link
    0 Mitglieder finden den Beitrag gut.
  3. #3
    User Pic
    Saarlonz Hall Of Fame
    Registriert seit
    07.08.2008
    Beiträge
    3.003
    Beitragswertungen
    235 Beitragspunkte
    Die Boxen dürfen nur 1. mal im Template vorkommen. Entferne die Boxen in der Navigation.
    0 Mitglieder finden den Beitrag gut.
  4. #4
    User Pic
    eddreg Mitglied
    Registriert seit
    22.05.2014
    Beiträge
    14
    Beitragswertungen
    0 Beitragspunkte
    ZitatZitat geschrieben von -saarlonz-
    Die Boxen dürfen nur 1. mal im Template vorkommen. Entferne die Boxen in der Navigation.


    was meinst du genau was genau soll ich entfernen?

    News ist jetzt da aber nicht lastforum und login


    Zuletzt modifiziert von eddreg am 22.05.2014 - 13:09:25
    Homepage: externer Link
    0 Mitglieder finden den Beitrag gut.
  5. #5
    User Pic
    eddreg Mitglied
    Registriert seit
    22.05.2014
    Beiträge
    14
    Beitragswertungen
    0 Beitragspunkte
    ok habe es gerafft was du meintest habe es hin bekommen nun die frage wie bekomme ich lastnews zentriert und ein wenig breiter sieht so gequetscht aus

    was kann ich da tun?
    Homepage: externer Link
    0 Mitglieder finden den Beitrag gut.
Geschlossen

Zurück zu Design und Templates

Optionen: Bei einer Antwort zu diesem Thema eine eMail erhalten