sebs
Apr 27th, 2001, 09:26 AM
does somebody know a good way to arrange frames exactly like you want!
*********in netscape**********
when i'm trying to align frame sometime(well everytime with netscape)
if there is a space between two frame, i reduce the height, if i am missing piece of a frame i put it higher.
but my problem is:
example:
100 would be to short
and
101 would be to long
what the *****!
<HTML>
<script language=javascript>
<!--
if (navigator.appName =="Netscape"){
if (screen.availWidth != 0){
document.write("<frameset cols=\"*,800,*\" border=\"0\">");
document.write("<frame src=\"leftblank.html\" border=\"0\" scrolling=\"no\">");
document.write("<frameset rows=\"*,9,160,254,12,*\" border=\"0\">");
document.write("<frame src=\"topblank.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame src=\"header.html\" border=\"0\" scrolling=\"no\" topmargin=\"0\" marginheight=\"0\">");
document.write("<frame src=\"menu.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame name=\"content\" src=\"main.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame src=\"footer.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame src=\"bottomblank.html\" border=\"0\" scrolling=\"no\">");
document.write("</frameset>");
document.write("<frame src=\"rightblank.html\" border=\"0\" scrolling=\"no\">");
document.write("</frameset>");
}else{
document.write("<frameset rows=\"12,163,256,12\" border=\"0\">");
document.write("<frame src=\"header.html\" border=\"0\" scrolling=\"no\" topmargin=\"0\" marginheight=\"0\">");
document.write("<frame src=\"menu.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame name=\"content\" src=\"main.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame src=\"footer.html\" border=\"0\" scrolling=\"no\">");
document.write("</frameset>");
}
}else{
document.write("<frameset cols=\"*,800,*\" border=\"0\">");
document.write("<frame src=\"leftblank.html\" border=\"0\" scrolling=\"no\">");
document.write("<frameset rows=\"*,9,160,254,10,*\" border=\"0\">");
document.write("<frame src=\"topblank.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame src=\"header.html\" border=\"0\" scrolling=\"no\" topmargin=\"0\" marginheight=\"0\">");
document.write("<frame src=\"menu.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame name=\"content\" src=\"main.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame src=\"footer.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame src=\"bottomblank.html\" border=\"0\" scrolling=\"no\">");
document.write("</frameset>");
document.write("<frame src=\"rightblank.html\" border=\"0\" scrolling=\"no\">");
document.write("</frameset>");
}
//-->
</script>
</HTML>
*********in netscape**********
when i'm trying to align frame sometime(well everytime with netscape)
if there is a space between two frame, i reduce the height, if i am missing piece of a frame i put it higher.
but my problem is:
example:
100 would be to short
and
101 would be to long
what the *****!
<HTML>
<script language=javascript>
<!--
if (navigator.appName =="Netscape"){
if (screen.availWidth != 0){
document.write("<frameset cols=\"*,800,*\" border=\"0\">");
document.write("<frame src=\"leftblank.html\" border=\"0\" scrolling=\"no\">");
document.write("<frameset rows=\"*,9,160,254,12,*\" border=\"0\">");
document.write("<frame src=\"topblank.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame src=\"header.html\" border=\"0\" scrolling=\"no\" topmargin=\"0\" marginheight=\"0\">");
document.write("<frame src=\"menu.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame name=\"content\" src=\"main.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame src=\"footer.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame src=\"bottomblank.html\" border=\"0\" scrolling=\"no\">");
document.write("</frameset>");
document.write("<frame src=\"rightblank.html\" border=\"0\" scrolling=\"no\">");
document.write("</frameset>");
}else{
document.write("<frameset rows=\"12,163,256,12\" border=\"0\">");
document.write("<frame src=\"header.html\" border=\"0\" scrolling=\"no\" topmargin=\"0\" marginheight=\"0\">");
document.write("<frame src=\"menu.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame name=\"content\" src=\"main.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame src=\"footer.html\" border=\"0\" scrolling=\"no\">");
document.write("</frameset>");
}
}else{
document.write("<frameset cols=\"*,800,*\" border=\"0\">");
document.write("<frame src=\"leftblank.html\" border=\"0\" scrolling=\"no\">");
document.write("<frameset rows=\"*,9,160,254,10,*\" border=\"0\">");
document.write("<frame src=\"topblank.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame src=\"header.html\" border=\"0\" scrolling=\"no\" topmargin=\"0\" marginheight=\"0\">");
document.write("<frame src=\"menu.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame name=\"content\" src=\"main.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame src=\"footer.html\" border=\"0\" scrolling=\"no\">");
document.write("<frame src=\"bottomblank.html\" border=\"0\" scrolling=\"no\">");
document.write("</frameset>");
document.write("<frame src=\"rightblank.html\" border=\"0\" scrolling=\"no\">");
document.write("</frameset>");
}
//-->
</script>
</HTML>