Seite 1 von 1

Site Navigation in Forum einbinden

Verfasst: 16.10.2004 11:57
von Laurenz
Hallo,

ich würde gerne meinem Forum gerne ein zusätzliches Navigationsmenü auf der linken Seite verpassen (wie dem Rest meiner Site).
Ganz einfach ginge das natürlich mit frames, - aber eben auch mit allen Nachteilen von frameset-basierten Lösungen.
:cry:
Ich habe auch schon mit einem iframe experimentiert, stelle aber fest, dass ich hier häufig zwangsausgeloggt werde, außerdem erscheint mir diese Lösung nich befriedigend weil ich wohl die target=top-Anweisungen dann durch target=self ersetzen müsste - was aber wenn jemand per Suchmaschine direkt auf der normalerweise im iframe angezeigten Seite landet?

Gibt es hier eine Lösung, z.B. das eigentliche Forum in die rechte Spalte einer 2-spaltigen Tabelle zu setzen?

Vielen Dank!

Laurenz

Verfasst: 16.10.2004 12:01
von Leuchte
Du müsstest in die overall_header.tpl deine linke Tabelle mit der Nav einbauen. Dort auch eine zweite Spalte anfangen und die offen lassen für den Rest des Forums. Diese schliesst du dann in der overall_footer.tpl
Siehe auch http://www.phpbb.de/viewtopic.php?p=244122#244122

Verfasst: 16.10.2004 13:42
von Sorcio
Da verstehe ich eine kleinigkeit leider nicht. :oops:

Du hast auf der 1-sten seite einen html code gepostet darin finden sich rote merkmale wieder durch was sollen diese zeilen/worte ersetzt werden?

Danke

Verfasst: 23.11.2004 17:35
von Zero-G
Hallo, Sorry wenn ich mich etwas dumm anstelle aber ich möchte gerne meine Navi ganz nach oben der Seite machen. Bislang habe ich dies hier in den Overall-Header eingefügt

Code: Alles auswählen

<!-- Das Ganze -->
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="left">
<tr>
<!-- Breite der Navi -->
<td width="13%" valign="top" align="left">
<table width="100%" class="forumline">
<tr>
<!-- Navi Inhalt -->
<SCRIPT language=JavaScript><!--
 var spacer = new Image();
 spacer.src = "spacer.gif";
 
 var menu1_off = new Image();
 menu1_off.src = "grafiks/community.jpg";
 var menu1_on = new Image();
 menu1_on.src = "grafiks/community_2.jpg";
 
 var menu2_off = new Image();
 menu2_off.src = "ht1.jpg";
 var menu2_on = new Image();
 menu2_on.src = "ht2.jpg";
 
 var menu3_off = new Image();
 menu3_off.src = "v1.jpg";
 var menu3_on = new Image();
 menu3_on.src = "v2.jpg";
 
 var menu4_off = new Image();
 menu4_off.src = "t1.jpg";
 var menu4_on = new Image();
 menu4_on.src = "t2.jpg";
 
 var menu5_off = new Image();
 menu5_off.src = "f1.jpg";
 var menu5_on = new Image();
 menu5_on.src = "f2.jpg";

 var menu6_off = new Image();
 menu6_off.src = "i1.jpg";
 var menu6_on = new Image();
 menu6_on.src = "i2.jpg";
 
 var menu7_off = new Image();
 menu7_off.src = "d1.jpg";
 var menu7_on = new Image();
 menu7_on.src = "d2.jpg";
 
 var menu8_off = new Image();
 menu8_off.src = "k2.jpg";
 var menu8_on = new Image();
 menu8_on.src = "k2.jpg";
 
// -->
</SCRIPT>

<SCRIPT language=JavaScript><!--

function changeIt(ImageToChange, ImageToShow) {
if (document.images) { document[ImageToChange].src = ImageToShow; } }
function bar(message) {
if (document.images) { window.status = message; return true } }

 var spacer = new Image();
 spacer.src = "spacer.gif";
 
 var menu1_off = new Image();
 menu1_off.src = "pv1.jpg";
 var menu1_on = new Image();
 menu1_on.src = "pv2.jpg";
 
 var menu2_off = new Image();
 menu2_off.src = "ht1.jpg";
 var menu2_on = new Image();
 menu2_on.src = "ht2.jpg";
 
 var menu3_off = new Image();
 menu3_off.src = "v1.jpg";
 var menu3_on = new Image();
 menu3_on.src = "v2.jpg";
 
 var menu4_off = new Image();
 menu4_off.src = "t1.jpg";
 var menu4_on = new Image();
 menu4_on.src = "t2.jpg";
 
 var menu5_off = new Image();
 menu5_off.src = "f1.jpg";
 var menu5_on = new Image();
 menu5_on.src = "f2.jpg";

 var menu6_off = new Image();
 menu6_off.src = "i1.jpg";
 var menu6_on = new Image();
 menu6_on.src = "i2.jpg";
 
 var menu7_off = new Image();
 menu7_off.src = "d1.jpg";
 var menu7_on = new Image();
 menu7_on.src = "d2.jpg";
 
 var menu8_off = new Image();
 menu8_off.src = "k2.jpg";
 var menu8_on = new Image();
 menu8_on.src = "k2.jpg";

// -->
</SCRIPT>

</head>

<body link="#000000" vlink="#000000" alink="#000000" bgcolor="#C0C0C0" text="#000000" leftMargin=0 topMargin=0>
<style fprolloverstyle>A:hover {color: white} </style>




<TABLE cellSpacing=0 cellPadding=0 align=left border=0 id="table2" width="982" height="540" style="border-width:0px; ">
                    <tr>
                      <TD vAlign=bottom style="border-style:none; border-width:medium; " width="978" height="80" colspan="2" bordercolor="#C0C0C0">



    
    <TABLE cellSpacing=0 cellPadding=0 align=left border=0 id="table3" width="997" height="77" style="border-width:0px; ">
                    <TR>
                      <TD vAlign=bottom style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" width="30" height="77" rowspan="3">

    
    <img border="0" src="grafiks/header1.jpg" width="40" height="80"></TD>
                      <TD vAlign=bottom style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" width="170" height="77" rowspan="3">

    
    <img border="0" src="grafiks/logo.gif" width="170" height="80"></TD>

                      <TD vAlign=bottom style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" width="92" height="19" bgcolor="#400040" colspan="3">

    
    
    
    
    <a onmouseover="changeIt('menu1','grafiks/m2.jpg'); return bar(' ')" onfocus="if (this.blur) this.blur()" onmouseout="changeIt('menu1','grafiks/m1.jpg'); return bar(' ')" href="!">
    <IMG  
                  src="grafiks/m1.jpg" 
                  border=0 name=menu1></a><TD vAlign=bottom style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" width="92" height="19" bgcolor="#400040" colspan="3">

    
    
    
<a onmouseover="changeIt('menu2','grafiks/f2.jpg'); return bar(' ')" 
onfocus="if (this.blur) this.blur()" 
onmouseout="changeIt('menu2','grafiks/f1.jpg'); return bar(' ')" 
href="index_in.php?cat=rides&file=index">
    <IMG  
                  src="grafiks/f1.jpg" 
                  border=0 name=menu2></a><TD vAlign=bottom style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" width="31" height="19" bgcolor="#400040" colspan="3">

    
    
<a onmouseover="changeIt('menu3','grafiks/v2.jpg'); return bar(' ')" 
    onfocus="if (this.blur) this.blur()" 
    onmouseout="changeIt('menu3','grafiks/v1.jpg'); return bar(' ')" 
    href="index_in.php?cat=parks&file=index">
    <IMG  
                  src="grafiks/v1.jpg" 
                  border=0 name=menu3></a><TD vAlign=bottom style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" width="93" height="19" bgcolor="#400040" colspan="3">

    
    
    
    
        <a onmouseover="changeIt('menu4','grafiks/nl2.jpg'); return bar(' ')" 
    onfocus="if (this.blur) this.blur()" 
    onmouseout="changeIt('menu4','grafiks/nl1.jpg'); return bar(' ')" 
    href="index_in.php?cat=parks&file=index">
    <IMG  
                  src="grafiks/nl1.jpg" 
                  border=0 name=menu4></a><TD vAlign=bottom style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" width="90" height="19" bgcolor="#400040" colspan="3">

    
    
    
    
        <a onmouseover="changeIt('menu5','grafiks/c2.jpg'); return bar(' ')" 
    onfocus="if (this.blur) this.blur()" 
    onmouseout="changeIt('menu5','grafiks/c1.jpg'); return bar(' ')" 
    href="index_in.php?cat=parks&file=index">
    <IMG  
                  src="grafiks/c1.jpg" 
                  border=0 name=menu5></a><TD vAlign=bottom style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" width="83" height="19" bgcolor="#400040" colspan="3">

    
    
    
    
        <a onmouseover="changeIt('menu6','grafiks/s2.jpg'); return bar(' ')" 
    onfocus="if (this.blur) this.blur()" 
    onmouseout="changeIt('menu6','grafiks/s1.jpg'); return bar(' ')" 
    href="index_in.php?cat=parks&file=index">
    <IMG  
                  src="grafiks/s1.jpg" 
                  border=0 name=menu6></a><TD vAlign=bottom style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" width="120" height="77" bgcolor="#400040" rowspan="3">

    



    				

    



    				<p style="font-family: Arial; font-size: 10px; color: #ffffff;">Heute: 7<br/>Gesamt: 1569<br/>User online: 1<br/><a href="#" style="font-size: 10px;" onclick="window.open('simplestats.php?counter_action=stats', 'poppage', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=300, height=280, left = 60, top = 60');">Statistik</a></p>    				
    				
    				
    				
    				
    				</TD>

                      <TD vAlign=bottom style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" width="119" height="77" bgcolor="#400040" rowspan="3">

<a target="_blank" href="http://www.amazon.de/exec/obidos/redirect?tag=rct2addon-21&path=tg/browse/-/525472">
<IMG SRC="grafiks/amazon_dvd.gif" BORDER="0" HEIGHT="70" WIDTH="100"
alt="In Partnerschaft mit Amazon.de"></a>




</TD>
                      </TR>
                    <TR>
                      <TD vAlign=bottom style="border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" width="4" height="58" bgcolor="#400040" rowspan="2">

    
    
    
    
        &nbsp;<TD vAlign=bottom style="border-left-style:solid; border-left-width:1px; border-right-style:solid; border-right-width:1px; border-top-style:solid; border-top-width:1px; border-bottom-style:none; border-bottom-width:medium" width="84" height="49" bgcolor="#CDD9DD" bordercolor="#FFFFFF">

    
    
    
    
        <font face="Arial" size="2">- News/Archiv<br>
		- </font>
<font face="Arial" style="font-size: 10pt">Partner<br>
		- Link us</font><TD vAlign=bottom style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" width="4" height="58" bgcolor="#400040" rowspan="2">

    
    
    
    
        &nbsp;<TD vAlign=bottom style="border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium; border-left-style:none; border-left-width:medium" width="4" height="58" bgcolor="#400040" rowspan="2">

    
    
    
    
        &nbsp;<TD vAlign=bottom style="border-left-style:solid; border-left-width:1px; border-right-style:solid; border-right-width:1px; border-top-style:solid; border-top-width:1px; border-bottom-style:none; border-bottom-width:medium" width="84" height="49" bgcolor="#40B070" bordercolor="#FFFFFF">

    
    
    
    
        <font size="2" face="Arial">- 
<span style="text-decoration: none">Hot Topic</span><br>
- Parkviews<br>
- 
<span style="text-decoration: none">Hot Spots</span></font><TD vAlign=bottom style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" width="4" height="58" bgcolor="#400040" rowspan="2">

    
    
    
    
        &nbsp;<TD vAlign=bottom style="border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium; border-left-style:none; border-left-width:medium" width="4" height="58" bgcolor="#400040" rowspan="2">

    
    
    
    
        &nbsp;<TD vAlign=bottom style="border-left-style:solid; border-left-width:1px; border-right-style:solid; border-right-width:1px; border-top-style:solid; border-top-width:1px; border-bottom-style:none; border-bottom-width:medium" width="83" height="49" bgcolor="#40B070" bordercolor="#FFFFFF">

    
    
    
    
        <font face="Arial" size="2">- Onrides<br>
		- Offrides<br>
		- Parks</font><TD vAlign=bottom style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" width="4" height="58" bgcolor="#400040" rowspan="2">

    
    
    
    
        &nbsp;<TD vAlign=bottom style="border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium; border-left-style:none; border-left-width:medium" width="4" height="58" bgcolor="#400040" rowspan="2">

    
    
    
    
        &nbsp;<TD vAlign=bottom style="border-left-style:solid; border-left-width:1px; border-right-style:solid; border-right-width:1px; border-top-style:solid; border-top-width:1px; border-bottom-style:none; border-bottom-width:medium" width="83" height="49" bgcolor="#40B070" bordercolor="#FFFFFF">

    
    
    
    
        <font face="Arial" size="2">- Tracks<br>
		- Cartextures<br>
		- Tutorials</font><TD vAlign=bottom style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" width="4" height="58" bgcolor="#400040" rowspan="2">

    
    
    
    
        &nbsp;<TD vAlign=bottom style="border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium; border-left-style:none; border-left-width:medium" width="4" height="58" bgcolor="#400040" rowspan="2">

    
    
    
    
        &nbsp;<TD vAlign=bottom style="border-left-style:solid; border-left-width:1px; border-right-style:solid; border-right-width:1px; border-top-style:solid; border-top-width:1px; border-bottom-style:none; border-bottom-width:medium" width="83" height="49" bgcolor="#40B070" bordercolor="#FFFFFF">

    
    
    
    
        <font face="Arial" size="2">- 
		<a target="_blank" href="http://www.coasterthrill.de/forum">
		<span style="text-decoration: none">Forum</span></a><br>
		- Votes<br>
		- Impressum</font><TD vAlign=bottom style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" width="4" height="58" bgcolor="#400040" rowspan="2">

    
    
    
    
        &nbsp;<TD vAlign=bottom style="border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" width="4" height="58" bgcolor="#400040" rowspan="2">

    
    
    
    
        &nbsp;<TD vAlign=bottom style="border-left-style:solid; border-left-width:1px; border-right-style:solid; border-right-width:1px; border-top-style:solid; border-top-width:1px; border-bottom-style:none; border-bottom-width:medium" width="82" height="49" bgcolor="#CDD9DD" bordercolor="#FFFFFF">

    
    
    
    
        <font face="Arial" size="2">- Disclaimer<br>
		- Kontakt<br>
&nbsp;</font><TD vAlign=bottom style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium; border-left-style:solid; border-left-width:1px" width="4" height="58" bgcolor="#400040" rowspan="2">

    
    
    
    
        &nbsp;</TR>
                    <TR>
                      <TD vAlign=bottom style="border-left-style:solid; border-left-width:1px; border-right-style:solid; border-right-width:1px; border-top-style:none; border-top-width:medium; border-bottom-style:solid; border-bottom-width:1px" width="84" height="11" bgcolor="#CDD9DD" bordercolor="#FFFFFF">

    
    
    
    
        <font face="Arial" size="2">

		<img border="0" src="grafiks/spacer.gif" width="38" height="6"></font><TD vAlign=bottom style="border-left-style:solid; border-left-width:1px; border-right-style:solid; border-right-width:1px; border-top-style:none; border-top-width:medium; border-bottom-style:solid; border-bottom-width:1px" width="84" height="11" bgcolor="#40B070" bordercolor="#FFFFFF">

    
    
    
    
        <font face="Arial" size="2">
		<img border="0" src="grafiks/spacer.gif" width="38" height="6"></font><TD vAlign=bottom style="border-left-style:solid; border-left-width:1px; border-right-style:solid; border-right-width:1px; border-top-style:none; border-top-width:medium; border-bottom-style:solid; border-bottom-width:1px" width="83" height="11" bgcolor="#40B070" bordercolor="#FFFFFF">

    
    
    
    
        <font face="Arial" size="2">
		<img border="0" src="grafiks/spacer.gif" width="38" height="6"></font><TD vAlign=bottom style="border-left-style:solid; border-left-width:1px; border-right-style:solid; border-right-width:1px; border-top-style:none; border-top-width:medium; border-bottom-style:solid; border-bottom-width:1px" width="83" height="11" bgcolor="#40B070" bordercolor="#FFFFFF">

    
    
    
    
        <font face="Arial" size="2">
		<img border="0" src="grafiks/spacer.gif" width="38" height="6"></font><TD vAlign=bottom style="border-left-style:solid; border-left-width:1px; border-right-style:solid; border-right-width:1px; border-top-style:none; border-top-width:medium; border-bottom-style:solid; border-bottom-width:1px" width="83" height="11" bgcolor="#40B070" bordercolor="#FFFFFF">

    
    
    
    
        <font face="Arial" size="2">
		<img border="0" src="grafiks/spacer.gif" width="38" height="6"></font><TD vAlign=bottom style="border-left-style:solid; border-left-width:1px; border-right-style:solid; border-right-width:1px; border-top-style:none; border-top-width:medium; border-bottom-style:solid; border-bottom-width:1px" width="82" height="11" bgcolor="#CDD9DD" bordercolor="#FFFFFF">

    
    
    
    
        <font face="Arial" size="2">
		<img border="0" src="grafiks/spacer.gif" width="38" height="6"></font></TABLE>
						</tr>
                    <tr>
                      <TD vAlign=bottom style="border-style:none; border-width:medium; " width="978" height="19" colspan="2" bgcolor="#C0C0C0">
<img border="0" src="grafiks/main.jpg" width="40" height="25"><img border="0" src="grafiks/header2.jpg" width="40" height="25"></tr>

                    <tr>
                      <TD vAlign=bottom style="border-style:none; border-width:medium; " height="422" background="grafiks/main2.jpg" rowspan="2">

    
    <img border="0" src="grafiks/main2.jpg" width="40" height="80"></tr>
                      <TD vAlign=bottom style="border-style:none; border-width:medium; " width="957" height="421" bordercolor="#C0C0C0" bgcolor="#C0C0C0">
<html>
</tr>
</table>
</td>
<!-- Ende der Navi -->

<!-- Breite des restlichen Forums -->
<td width="87%">
<!-- Ab hier greifen die anderen Template Dateien (wie index_body, viewforum_body etc. -->
Und das kann ja nicht am "Top" stehen was muss ich am Code ändern damit es oben steht :oops: :oops: :oops: :oops: :oops:
Wär Nett wenn mir einer helfen könnte :oops:
Ich hoffe ich verlang nicht zuviel :oops: