ron,

:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: <[EMAIL PROTECTED]>
:
: coolness. Now to make it work with Netscape...
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

sure, add these lines to the top of your <script> block:

var IE = (document.all) ? true : false;
var NN = (document.layers) ? true : false;

then, change this line:

Clock.innerHTML = timeString;

to this:

if(IE)
{
  Clock.innerHTML = timeString;
}
else if(NN)
{
  doc = document.layers['Clock'].document;
  doc.open();
  doc.write(timeString);
  doc.close();
}

and then change this:

<DIV
  ID="Clock"
  STYLE="font-family: #Attributes.Font#; font-size: #Attributes.FontSize#;
color:#Attributes.FontColor#">
&nbsp;
</DIV>

to this:

<DIV
  ID="Clock"
  STYLE="position: absolute; top: 0px; left: 0px; font-family:
#Attributes.Font#; font-size: #Attributes.FontSize#;
color:#Attributes.FontColor#">
&nbsp;
</DIV>

good luck,

.jeff

name://jeff.howden
game://web.development
http://www.evolt.org/
mailto:[EMAIL PROTECTED]


------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to