Nie wiem czy dobrze nazwalem temat, ale mniej wiecej chodzi o to:
mam juz zrobiony, pocięty layout, złożony w całość w Dreamweaverze.
Moj problem polega na tym, ze chce aby podstrony otwierały sie w konkreknym miejscu na stronie glownej. oto screen: http://img160.imageshack.us/img160/4676/strona1vs6.jpg
oto kod
Prosiłbym o wytłumaczenie tego bardzo prostym językiem, gdyz dopiero zaczalem prace z html'em
pozdrawiam
mam juz zrobiony, pocięty layout, złożony w całość w Dreamweaverze.
Moj problem polega na tym, ze chce aby podstrony otwierały sie w konkreknym miejscu na stronie glownej. oto screen: http://img160.imageshack.us/img160/4676/strona1vs6.jpg
oto kod
Kod:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Szkola Promujaca Zdrowie</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<style type="text/css">
<!--
body {
background-image: url(img/index_03.jpg);
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<link href="style.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<style type="text/css">
<!--
.styl1 {
font-size: 12pt;
font-weight: bold;
}
-->
</style>
</head>
<body onLoad="MM_preloadImages('img/index_before_11.jpg','img/index_before_20.jpg','img/index_before_23.jpg','img/index_before_25.jpg','img/index_before_24.jpg','img/index_before_21.jpg','img/index_before_22.jpg')">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
<tr>
<td align="center" valign="middle" class="middle"><table width="728" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/index_07.jpg" width="138" height="12"></td>
<td><img src="img/index_08.jpg" width="600" height="12"></td>
<td><img src="img/index_09.jpg" width="8" height="12"></td>
</tr>
<tr>
<td valign="top" background="img/index_27.jpg"><a href="javascript:;" onMouseOver="MM_swapImage('Image1','','img/index_before_11.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="img/index_11.jpg" name="Image1" width="138" height="41" border="0" id="Image1"></a><br> <a href="javascript:;" onMouseOver="MM_swapImage('Image2','','img/index_before_20.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="img/index_20.jpg" name="Image2" width="138" height="42" border="0" id="Image2"></a><br> <a href="javascript:;" onMouseOver="MM_swapImage('Image3','','img/index_before_21.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="img/index_21.jpg" name="Image3" width="138" height="43" border="0" id="Image3"><br>
</a><a href="javascript:;" onMouseOver="MM_swapImage('Image5','','img/index_before_23.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="img/index_23.jpg" name="Image5" width="138" height="41" border="0" id="Image5"></a><br> <a href="javascript:;" onMouseOver="MM_swapImage('Image6','','img/index_before_24.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="img/index_24.jpg" name="Image6" width="138" height="43" border="0" id="Image6"><br>
</a><a href="1.txt" target="img/index_17.jpg" onMouseOver="MM_swapImage('Image4','','img/index_before_22.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="img/index_22.jpg" name="Image4" width="138" height="43" border="0" id="Image4"></a><br>
<a href="text.htm" target="_top" onMouseOver="MM_swapImage('Image7','','img/index_before_25.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="img/index_25.jpg" name="Image7" width="138" height="41" border="0" id="Image7"></a><br>
<br></td>
<td align="center" valign="middle" background="img/index_12.jpg"><table width="580" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="580"><img src="img/index_15.jpg" width="579" height="6"></td>
</tr>
<tr>
<td background="img/index_17.jpg"><p align="center"> </p>
<p> </p> <p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p></td>
</tr>
<tr>
<td><img src="img/index_26.jpg" width="579" height="133"></td>
</tr>
</table></td>
<td background="img/index_13.jpg"> </td>
</tr>
<tr>
<td><img src="img/index_29.jpg" width="138" height="78"></td>
<td><img src="img/index_30.jpg" width="600" height="78"></td>
<td><img src="img/index_31.jpg" width="8" height="78"></td>
</tr>
</table></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</body>
</html>
Prosiłbym o wytłumaczenie tego bardzo prostym językiem, gdyz dopiero zaczalem prace z html'em

pozdrawiam