6 Framesets
Xakagor
- programmiertechnik
Also ich habe folgendes Prob.... is bissel schwierig zu erklären drum mach ich mal ne ASCII Skizze:
-------------------------------------------------------------------
| | | |
| |frame | frame |
| | | |
| ------------------------------------------------|
| | |
| | |
|frame| |
| | | frame
| | frame_x |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
--------------------------------------------------------------------
Mit folgendem Quelltext lassen sich alle Frames darstellen auser Frame "x":
<frameset cols="*,80%,*">
<frame src="lr.html" name="lr" scrolling="no" noresize margin="30">
<frameset cols="18%,*" rows="*,77%" bordercolor="#000000" framespacing="1">
<frame src="navbar_l_o.html" name="navbar_l_o" scrolling="no" noresize margin="30">
<frame src="navbar_o_home.html" name="navbar_o" scrolling="no" noresize margin="30">
</frameset>
<frame src="rr.html" name="lr" scrolling="no" noresize margin="30">
</frameset>
Statt des Frame x wird dorte die index datei dargestellt, ich möchte aber statt der index die datei "home.html" da haben. Ich hoffe ihr könnt mir helfen.
Vielen Dank für Eure Antworten schonmal :)
Danke auch für die Antworten vom letzen Thread :)
Hallo Xakagor,
Mit folgendem Quelltext lassen sich alle Frames darstellen auser Frame "x":
<frameset cols="*,80%,*">
<frame src="lr.html" name="lr" scrolling="no" noresize margin="30">
Du hast hier einen 2*2 Frameset aufgemacht (cols= rows=) aber nur 2 Frames definiert (_l_o und _o_). Warum überhaupt 4 Frames?
<frameset cols="18%,*" rows="*,77%" bordercolor="#000000" framespacing="1">
<frame src="navbar_l_o.html" name="navbar_l_o" scrolling="no" noresize margin="30">
<frame src="navbar_o_home.html" name="navbar_o" scrolling="no" noresize margin="30">
</frameset>
<frame src="rr.html" name="lr" scrolling="no" noresize margin="30">
</frameset>
Gruß, Jürgen
Hallo Xakagor,
Mit folgendem Quelltext lassen sich alle Frames darstellen auser Frame "x":
<frameset cols="*,80%,*">
<frame src="lr.html" name="lr" scrolling="no" noresize margin="30">
Du hast hier einen 2*2 Frameset aufgemacht (cols= rows=) aber nur 2 Frames definiert (_l_o und _o_). Warum überhaupt 4 Frames?
wie meinste das nur 2 frames definiert ? lr und rr sind doch auch definiert... mir fehlt halt noch das 5. :(
Wie kann ich nun das 5. hinkrischen ? also frame_x
<frameset cols="18%,*" rows="*,77%" bordercolor="#000000" framespacing="1">
<frame src="navbar_l_o.html" name="navbar_l_o" scrolling="no" noresize margin="30">
<frame src="navbar_o_home.html" name="navbar_o" scrolling="no" noresize margin="30">
</frameset>
<frame src="rr.html" name="lr" scrolling="no" noresize margin="30">
</frameset>
Gruß, Jürgen
A: <frameset cols="*,80%,*">
A1: <frame src="lr.html" name="lr" scrolling="no" noresize margin="30">
A2: B:<frameset cols="18%,*" rows="*,77%" bordercolor="#000000" framespacing="1">
B1: <frame src="navbar_l_o.html" name="navbar_l_o" scrolling="no" noresize margin="30">
B2 <frame src="navbar_o_home.html" name="navbar_o" scrolling="no" noresize margin="30">
</frameset>
A3: <frame src="rr.html" name="lr" scrolling="no" noresize margin="30">
</frameset>
Die Framegruppe, die ich mit A bezeichnet habe, ist OK.
In dieser Gruppe ist der mittlere Frame ein weiteres Frameset mit 2*2 Frames, von denen Du nur 2 (B1, B2) angegeben hast.
Versuchs mal so:
<frameset cols="*,80%,*"> 3 Spalten
<frame src="lr.html" ...> links
<frameset rows="*,77%"> in der Mitte 2 Zeilen
<frameset cols="18%,*"> in der Mitte oben 2 Spalten
<frame src="navbar_l_o.html" ...> 1. Spalte
<frame src="navbar_o_home.html" ...> 2. Spalte
</frameset>
<frame src="home.html"...> Mitte unten
</frameset>
<frame src="rr.html" ...> rechts
</frameset>
(nicht getestet)
Gruß, Jürgen
Funzelt, danke dir ;)