|
|
|
easy but urgent! |
| message from MissMennes on 15 Jul 2004 |
Hi,
I can't figure this one out. When I preview in the browser my frames pullout
of place. I've tried each one as percent and relative but they still pull out
of place Ca anyone help?
annie
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_findObj(n, d) { //v4.0
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[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers.document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function P7_HScroller(el,dr,tx,ox,spd) { //v1.7 by PVII
var g,gg,fr,sp,pa='',slw=true,m=false,w,ww,lx,rx;tx=parseInt(tx);
if((g=MM_findObj(el))!=null){gg=(document.layers)?g:g.style;}else{return;}
if(dr=="Stop"){if(g.toMove){clearTimeout(g.p7Magic);}g.toMove=false;}
if((parseInt(navigator.appVersion)>4 ||
navigator.userAgent.indexOf("MSIE")>-1)&& !window.opera){pa="px";}
if(navigator.userAgent.indexOf("NT")>-1 ||
navigator.userAgent.indexOf("Windows 2000")>-1){slw=false;}
if(spd=="Slow"){sp=(slw)?2:1;fr=(slw)?40:30;}else
if(spd=="Medium"){sp=(slw)?4:1;fr=(slw)?40:10;
}else{sp=(slw)?8:4;fr=(slw)?40:10;}if(spd=="Warp"){sp=5000;}var xx =
parseInt(gg.left);if(isNaN(xx)){
if(g.currentStyle){xx=parseInt(g.currentStyle.left);}else
if(document.defaultView&&document.defaultView.getComputedStyle){
xx=parseInt(document.defaultView.getComputedStyle(g,"").getPropertyValue("left")
);}else{xx=0;}}
if(document.all ||
document.getElementById){w=parseInt(g.offsetWidth);if(!w){w=parseInt(g.style.pix
elWidth);}
if(g.hasChildNodes){for(wx=0;wx<g.childNodes.length;wx++){ww=parseInt(g.childNod
es[wx].offsetWidth);
if(ww>w){w=ww;}}}}else
if(document.layers){w=parseInt(g.clip.width);}lx=tx-w+parseInt(ox);rx=tx;
if(dr=="Right"){if(xx>lx){m=true;xx-=sp;if(xx<lx){xx=lx;}}}
if(dr=="Left"){if(xx<rx){m=true;xx+=sp;if(xx>rx){xx=rx;}}}
if(dr=="Reset"){gg.left=tx+pa;if(g.toMove){clearTimeout(g.p7Magic);}g.toMove=fal
se;}
if(m){gg.left=xx+pa;if(g.toMove){clearTimeout(g.p7Magic);}g.toMove=true;
eval("g.p7Magic=setTimeout(\"P7_HScroller('"+el+"','"+dr+"',"+tx+","+ox+",'"+spd
+"')\","+fr+")");
}else{g.toMove=false;}
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table width="925" border="1" height="10" bordercolor="#CCCCCC" align="center">
<tr>
<td width="336" height="29"><img src="../../home/add_02.png" width="335"
height="26"></td>
<td width="200" height="29"><img src="../../home/info_02.png" width="200"
height="25"></td>
<td width="161" height="29">
<table width="161" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="73"><a href="javascript:;"
onMouseOver="P7_HScroller('Layer1?stage','Left',0,0,'Medium')"
onMouseOut="P7_HScroller('Layer1?1','Stop',0,0,'Medium')"
onMouseDown="P7_HScroller('Layer1?stage','Reset',0,600,'Medium')"><img
src="../../bentobox/scroll_oj/sc_oj_L2.jpg" width="73" height="22"
border="0"></a></td>
<td width="27"> </td>
<td width="61"><a href="javascript:;"
onMouseOver="P7_HScroller('Layer1?stage','Right',0,0,'Medium')"
onMouseOut="P7_HScroller('Layer1?stage','Stop',0,0,'Medium')"><img
src="../../bentobox/scroll_oj/sc_oj_R2.jpg" width="73" height="22" border="0"
onMouseDown="P7_HScroller('Layer1?stage','Right',0,650,'Warp')"></a></td>
</tr>
</table>
</td>
<td width="200" height="29"><img
src="../../bentobox/logo/smlogo/logosm.gif" width="175" height="35"></td>
</tr>
</table>
</body>
</html>
|
| ~Flash~ replied to MissMennes on 15 Jul 2004 |
Flash
|
|