Have a question regarding java popup box. The below script is what I'm
using to make a popup box for a page, it leaves a border between the left
edge and top of the swf that appears in the page. I have got in a habit
of just making the box wider (and taller) to have an equal border around
the swf, but would really just like to get rid of the border so the swf
sits in the box flush. It appears almost like cell padding, but is not.
Any idea of how i get rid of the border? A picture of the problem can be
seen at http://www.ranchomurietacc.com/javaproblem.jpg -- The swf ends
at the green border, the red area is the padding I am trying to get rid
of.
Thanks for any help.
Java code from sending swf
window.open('http://www.ranchomurietacc.com/site/committees/committees1.swf','gooddog','width
=126,height=560,resizable=no,scrollbars=no,menu=no,toolbar=no,status=no,top='+((
screen.availHeight/2)-(600/2
))+',left='+((screen.availWidth/2)-(200/2 ))+'')
html in pop up doc
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/html40/loose.dtd">
<html><head>
<title>committees1</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="author" content="">
<meta name="generator" content="">
<meta name="description" content="committees1">
<meta name="keywords" content="">
</head>
<body bgcolor="#993333">
<center>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0"
id="committees1" width="126" height="560">
<param name="movie" value="committees1.swf">
<param name="bgcolor" value="#993333">
<param name="quality" value="high">
<param name="allowscriptaccess" value="samedomain">
<embed type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
width="126" height="560"
name="committees1" src="committees1.swf"
bgcolor="#993333" quality="high"
swLiveConnect="true" allowScriptAccess="samedomain"
></embed>
</object>
</center>
</body>
</html>
Andrew Thompson - 14 Jun 2005 10:55 GMT
> Java code from sending swf
>
> window.open('http://www.ranchomu..
Nu-uhh. You have the wrong group.
<http://www.physci.org/codes/javafaq.jsp#js>

Signature
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane