IIRC, the problem is with the dash in border-left -- Javascript wants to
subtract it.

I know there's a way to reference that using syntax similar to
getElementById() but I don't remember the function name off-hand.  It should
be in any good DHTML reference.  There also might be a JS-friendly version
of the name like borderLeft or something (for example, z-index becomes
zIndex).

HTH.


--  Ben Doom
    Programmer & General Lackey
    Moonbow Software, Inc

: -----Original Message-----
: From: Mark Stephenson - Evolution Internet
: [mailto:[EMAIL PROTECTED]]
: Sent: Thursday, February 06, 2003 11:49 AM
: To: CF-Talk
: Subject: OT: CSS - How to do this
:
:
: Hey,
:
: When a user puts their mouse over a td i want the left borderline to be
: red....
:
: onMouseover="style.border-left= 'red thin solid';"
:
: Is what i thought would do it....
:
: It works for style.border   but i want only the left
:
: I am sure it is something silly that i am missing....
:
: Ideas????
:
:
: Thanks,
:
:
:
: Mark Stephenson
: New Media Director
: Evolution Internet
: T: 0870 757 1631
: F: 0870 757 1632
: W: www.evolutioninternet.co.uk
: E: [EMAIL PROTECTED]
:
:
: WARNING:
: -------------------------------
: The information contained in this document and attachments is confidential
: and intended only for the person(s) named above.  If you are not the
: intended recipient you are hereby notified that any disclosure, copying,
: distribution, or any other use of the information is strictly prohibited.
: If you have received this document by mistake, please notify the sender
: immediately and destroy this document and attachments without making any
: copy of any kind.
:
: AVIS IMPORTANT:
: -------------------------------
: Les informations contenues dans le present document et ses pieces jointes
: sont strictement confidentielles et reservees a l'usage de la (des)
: personne(s) a qui il est adresse. Si vous n'etes pas le
: destinataire, soyez
: avise que toute divulgation, distribution, copie, ou autre utilisation de
: ces informations est strictement prohibee.  Si vous avez recu ce document
: par erreur, veuillez s'il vous plait communiquer immediatement avec
: l'expediteur et detruire ce document sans en faire de copie sous quelque
: forme.
:
: 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to