PDA

View Full Version : active x running off the page


oracle128
November 23rd, 2002, 01:28 AM
ok I have this script on my page

<table id=MOVE_IMG1
style="POSITION: absolute; left:105; top:17" border=0 align="left; background:transparent">
<tr><td><div id="digitalclock" class="clock"><script language="JavaScript" src="clock.js" /></div></td></tr></table>
<OBJECT id=coosuke
style="LEFT: 0px; POSITION: absolute; TOP: 0px; visible: hidden"
classid=CLSID:D7A7D7C3-D47F-11D0-89D3-00A0C90833E6 width="14" height="14">
<PARAM NAME="Target" VALUE="MOVE_IMG1">
<PARAM NAME="Shape" VALUE="Oval(20,25,830,25)">
<PARAM NAME="AutoStart" VALUE="-1">
<PARAM NAME="Repeat" VALUE="-1">
<PARAM NAME="Bounce" VALUE="0">
<PARAM NAME="Duration" VALUE="25">
</OBJECT>

It produces a digital clock in a table which flies left and right above text and pictures
It works fine but I was wondering if I could change it so that either
a) The clock flies from the far left to the far right of the users browser window (so it will only go to the right edge of the page even if the users screen is smaller or larger resolution)
or b) The clock going off screen does not alter the size of the document
If neither of these is possible would it be simpler just to use javascript then?

Steven.Bentley
November 23rd, 2002, 07:43 PM
I've never used ActiveX, however with all of the potential security issues many people keep it turned off, so JavaScript might be seen by more people