Вход на сайт
HTML,JAVASCRIPT вопросик
134 просмотров
Перейти к просмотру всей ветки
anatoli888 местный житель
в ответ desyman 25.01.07 18:15
есть хтмл с фреймами. во фрейме А вызывается к примеру а.html во фрейме В - b.html
html mit frame:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<meta name="generator" content="PSPad editor, www.pspad.com">
<title>
</title>
</head>
<frameset rows=280,170 frameborder=0 border=0>
<frame ID="0" src=empty.htm name="textbereich" marginheight=4 marginwidth=0 scrolling=no style="background-color: #606060;">
<frame ID="1" src=foto-leiste.htm name="fotoleiste" marginheight=0 marginwidth=0 style="background-color: #606060;">
</frameset>
</html>
a.html:
<!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="ru">
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<meta http-equiv="Page-Enter" content="RevealTrans(Duration=2,Transition=12)">
<meta http-equiv="Page-Exit" content="RevealTrans(Duration=2,Transition=12)">
<title> Formatia Dramba
</title>
<base target="_self">
<style type="text/css">
</style>
</head>
<body text="#FFFFFF" bgcolor="#606060" background="images/bg02.jpg">
<table cellspace=0 border=0 cellpaging=0>
<tr>
<td nowrap>
<center>
<a href="fotos/horiz/h.JPG" target=textbereich>
<img src="fotos/horiz/h.JPG" width=85 border=0></a>
</center>
</td>
</tr>
</table>
</body>
</html>
b.html: einfach ein lehres html wie a aber ohne body.
das problem ist: die verlinkung mit tag "a" auf die Bild-Datei öfnet das bild im frame textbereich auf dem weissen hitergrund was ich ändern möchte.
ich werde jetzt irgendwie es dynamisch machen. mal sehen.
html mit frame:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<meta name="generator" content="PSPad editor, www.pspad.com">
<title>
</title>
</head>
<frameset rows=280,170 frameborder=0 border=0>
<frame ID="0" src=empty.htm name="textbereich" marginheight=4 marginwidth=0 scrolling=no style="background-color: #606060;">
<frame ID="1" src=foto-leiste.htm name="fotoleiste" marginheight=0 marginwidth=0 style="background-color: #606060;">
</frameset>
</html>
a.html:
<!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="ru">
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<meta http-equiv="Page-Enter" content="RevealTrans(Duration=2,Transition=12)">
<meta http-equiv="Page-Exit" content="RevealTrans(Duration=2,Transition=12)">
<title> Formatia Dramba
</title>
<base target="_self">
<style type="text/css">
</style>
</head>
<body text="#FFFFFF" bgcolor="#606060" background="images/bg02.jpg">
<table cellspace=0 border=0 cellpaging=0>
<tr>
<td nowrap>
<center>
<a href="fotos/horiz/h.JPG" target=textbereich>
<img src="fotos/horiz/h.JPG" width=85 border=0></a>
</center>
</td>
</tr>
</table>
</body>
</html>
b.html: einfach ein lehres html wie a aber ohne body.
das problem ist: die verlinkung mit tag "a" auf die Bild-Datei öfnet das bild im frame textbereich auf dem weissen hitergrund was ich ändern möchte.
ich werde jetzt irgendwie es dynamisch machen. mal sehen.