Re: Down to One Question: Javascript (was Two Questions: One Javascript, One Tab

by Ben Ocean <lists(at)TheWebsons.com>

 Date:  Mon, 11 Feb 2002 12:20:34 -0800
 To:  "Peter-Paul Koch" <gassinaumasis(at)hotmail.com>
 Cc:  hwg-techniques(at)hwg.org
 In-Reply-To: 
  todo: View Thread, Original
At 08:03 PM 2/11/02 +0000, you wrote:


>>>>>>      </td><td bgcolor=black onMouseOver="javascript:bgColor='white'"
>>>>>>onMouseOut="javascript:bgColor='black'" width=<dtml-var
>>>>>>"sizeCalc(92,size(_.None,_))"> height=<dtml-var
>>>>>>"sizeCalc(17,size(_.None,_))">>
>>>>>>       <font style="font: <dtml-var "sizeCalc(13,size(_.None,_))"> 
>>>>>> antique
>>>>>>olive, arial" color="white" onMouseOver="javascript:color='black'"
>>>>>>onMouseOut="javascript:color='white'">Home</font>
>>>>>>
>>>>>>Ignore the dtml stuff. On the second line (the <font> tag) my mouse
>>>>>>over and out aren't working. Why?
>>>>>
>>>>>this.color='white'
>>>>
>>>>Nope. That didn't work either.
>>>
>>>Sorry,
>>>
>>>this.style.color = 'white';
>>
>>Still no go. Here's the line:
>>
>>       <font style="font: <dtml-var "sizeCalc(13,size(_.None,_))"> antique
>>olive, arial" color="white"
>>onMouseOver="javascript:this.style.color='black'"
>>onMouseOut="javascript:this.style.color='white'">Home</font>
>>
>>What next?
>
>Remove the"javascript:", see if it helps. If it doesn't, get rid of the 
>font tags and use the code directly on the actual element.

Tried both ways and still no cigar. Tried this:

       <font style="font: <dtml-var "sizeCalc(13,size(_.None,_))"> antique 
olive, arial" color="white"><div 
onMouseOver="javascript:this.style.color='black'" 
onMouseOut="javascript:this.style.color='white'">Home</div></font>


still no go. Any more suggestions?
TIA,
BenO

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA