Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

code works in NS not in I Explorer

Status
Not open for further replies.

mE3D

Instructor
Aug 1, 2000
9
US
Here is the code im putting in to resize a movie window(as you can tell I dont do programming) Please HELP. I need this to work in Internet Explorer as well as Netscape. Netscape it sizes correctly now. Can this be cross programmed?
To see what its for goto Its in the multimedia section under trailer one.

Thanks in advance!

<script language=&quot;JavaScript&quot;>
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
window.resizeTo(180,190);
function MM_callJS(jsStr) { //v2.0
return eval(jsStr)
}
//-->
</script>
</head>
<body bgcolor=&quot;#000000&quot;>
<div id=&quot;Layer2&quot; style=&quot;position:absolute; width:158px; height:115px; z-index:2; left: 4px; top: 7px&quot;><embed src=&quot;trailerone.mov&quot; width=&quot;156&quot; height=&quot;137&quot; vspace=&quot;1&quot; hspace=&quot;1&quot; align=&quot;absmiddle&quot;>
</embed></div>
<p>&amp;nbsp; </p>
<div id=&quot;Layer1&quot; style=&quot;position:absolute; width:127px; height:35px; z-index:1; left: 27px; top: 148px&quot;>
<input type=&quot;button&quot; value=&quot;Close Window&quot; onClick=&quot;window.close()&quot; name=&quot;button&quot;>
<a href=&quot;javascript:window.close()&quot;> _Close Window_</a> </div>
</body>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top