Gegen Bilderklau - Das Original (https://www.gegen-bilderklau.net/index.php)
- Design, Website, Copyright (https://www.gegen-bilderklau.net/board.php?boardid=80)
--- Homepagehilfe (https://www.gegen-bilderklau.net/board.php?boardid=27)
---- Homepagehilfe - Archiv (https://www.gegen-bilderklau.net/board.php?boardid=139)
----- [HTML] Seite öffnet sich im Menü anstatt Main (https://www.gegen-bilderklau.net/thread.php?threadid=132111)


Geschrieben von endless am 12.04.2008 um 15:45:

  Seite öffnet sich im Menü anstatt Main

Hey.
Ich habe ein Problem. wenn ich bei meiner Seite auf einen Link klicke, öffnet sich dieser im menü, anstatt im main. was ist am code falsch?

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:

<html>
<head>
<title>virtueller Reiterhof Salerno</title>
<link rel="stylesheet" href="style.css">

<BODY marginwidth="0" leftmargin="0" marginheight="0" topmargin="0" scroll="no">
<img src="http://img391.imageshack.us/img391/4767/designfy3.jpg">

<div id="Layer1" style="position: absolute;  left: 69px; top: 178px;">
  <iframe src="main.html" name="main" width="474" height="331" frameborder=0 scrolling="Auto" noresize style="border: 0px" style="FILTER: chroma (color=#ffffff)" ;>
  </iframe>
</div>

<div id="Layer2" style="position: absolute;  left: 580px; top: 197px;">
  <iframe src="menue.html" name="main" width="141" height="302" frameborder=0 scrolling="Auto" noresize style="border: 0px" style="FILTER: chroma (color=#ffffff)" ;>
  </iframe>
</div>



</body>
</html>



danke schon mal

glg
endless



Geschrieben von INSANITY am 12.04.2008 um 16:00:

 

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
<html>
<head>
<title>virtueller Reiterhof Salerno</title>
<link rel="stylesheet" href="style.css">

<BODY marginwidth="0" leftmargin="0" marginheight="0" topmargin="0" scroll="no">
<img src="http://img391.imageshack.us/img391/4767/designfy3.jpg">

<div id="Layer1" style="position: absolute;  left: 69px; top: 178px;">
  <iframe src="main.html" name="main" width="474" height="331" frameborder=0 scrolling="Auto" noresize style="border: 0px" style="FILTER: chroma (color=#ffffff)" ;>
  </iframe>
</div>

<div id="Layer2" style="position: absolute;  left: 580px; top: 197px;">
  <iframe src="menue.html" name="menue" width="141" height="302" frameborder=0 scrolling="Auto" noresize style="border: 0px" style="FILTER: chroma (color=#ffffff)" ;>
  </iframe>
</div>



</body>
</html>


Versuch das, und gib beim Link nen target an.

code:
1:
<a target="main" href="LINK">NAME</a>



Geschrieben von endless am 12.04.2008 um 16:15:

 

dankeschön. es hat geklappt <3


Forensoftware: Burning Board, entwickelt von WoltLab GmbH