Outlook FLASHING Signature
Posted on 2000-04-05
I use Microsoft Outlook 98 and got one of my mates to write me a bit of code some that my name could flash in my messages, because I have enabled HTML message format. He gave me the following:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
<P><FONT color=#ff0000 face=Tahoma size=2>Regards</FONT> </P><SPAN id=ME
style="COLOR: black; FONT-FAMILY: Tahoma; FONT-SIZE: smaller; FONT-WEIGHT: bolder">Simon
<BR><BR>LAN Support MFD & FRD Chatham</SPAN> <FONT color=#ff0000 face=Tahoma
size=2><BR>(01634) 111111 <BR><A href="mailto:email@example.com"
iTimer = window.setInterval("flashName()",1000);
Which worked great. Except for one thing. I have Outlook inserting my signature every time I create an a new message, reply to a message, forward a message. Sometimes, after people have replied to my messages a few times, and messages have gone backwards and forwards, it comes up with a Internet Explorer style error saying something like 'me.style.color is not an object'.
Now I went back to the guy who wrote the code for me and he said this:
"It is because the area of the text which flashes is identified as SGML by using an ID in the SPAN tag. When you include your signature more than once on a page, the SGML ID is duplicated, so it becomes an array, which needs to be referenced by original position to uniquely identify the specific area you want to call. So, the answer is to either add some array handling code, or just don't ever put your signature on any message more than once."
I don't want to only put my signature in a message ONLY once, so does anyone know how to do what he's talking about?? Or how to fix this??
P.S. Sorry I couldn't offer more points, but I'm getting a bit short of them!