W3C home > Mailing lists > Public > www-html@w3.org > June 2000

Re: event trigger and Netscape

From: <claudio.de.angelis@ac.com>
Date: Mon, 19 Jun 2000 11:55:26 +0200
To: <www-html@w3.org>
Message-ID: <OF6B8E106F.95E5AD4D-ONC1256903.00363363@ac.com>

Try this.... with grafic effects!
(complete code ...)
+++++++++++++++++++++++++++
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript1.1">
var dir="/images/footmenu/";
//Hiliting buttons and navigate
  IMGH2        = new Image
  IMGH2.src   = dir+"strumenti_on.jpg"
  IMGH3        = new Image
  IMGH3.src   = dir+"retention_on.gif"

function hiLite(imgNumber) {
    BimgDocId="B" + imgNumber
    BimgObjName="IMGH" + imgNumber
    document.images[BimgDocId].src = eval(BimgObjName + ".src")
// DO SOMETHING
}
function disHiLite(imgNumber) {
    BimgDocId="B" + imgNumber
    BimgObjName="IMGL" + imgNumber
    document.images[BimgDocId].src = eval(BimgObjName + ".src")
// DO SOMETHING ELSE
}

...

writeln('<a HREF="javascript://" onMouseOver="hiLite(\'2\');" onMouseOut="disHiLite(\'2\')"><img src="/images/footmenu/modulistica_off.gif" border="0"
 name="B2" height="'+parent.intFootmenuParamHeight[parent.plat]+'" alt="Modulistica"></a>');
writeln('<a HREF="javascript:openProcedure()" onMouseOver="hiLite(\'3\');" onMouseOut="disHiLite(\'3\')"><img src="/images/footmenu/procedure_off.gif"
 border="0" name="B3" height="'+parent.intFootmenuParamHeight[parent.plat]+'" alt="Procedure Commerciali, Procedure Amministrative e Normative
"></a>');

+++++++++++++++++++
Received on Monday, 19 June 2000 11:02:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:43 GMT