Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Linked text in layers onMouseOver
- From: javascript@xxxxxxxxxx (John)
- Subject: [Javascript] Linked text in layers onMouseOver
- Date: Sat, 31 Aug 2002 16:13:36 -0400
I am way not an expert on JavaScript or IE, but I thought IE did not support layers. I think to achieve the same effect you have to code two routines, one for IE and one for Netscape. John Warner address: mailto:john@xxxxxxxxxxx > -----Original Message----- > From: javascript-admin@xxxxxxxxxx [mailto:javascript-admin@xxxxxxxxxx]On > Behalf Of Pietro Carubbi > Sent: Saturday, August 31, 2002 1:01 PM > To: javascript@xxxxxxxxxx > Subject: [Javascript] Linked text in layers onMouseOver > > > Hallo, > > I have some images, that, onMouseOver, let appear texts within layers. > > I want these texts displayed in the layers contain images and > links, but... > I receive an 'unknown run-time error' from IE. > > The page is built so: > > 1) In the HEAD I have: > > <SCRIPT language=JavaScript> > var description = new Array(); > description[1] = "<a href=\"http://www.url.com\"><b>Linked Text</b></a>"; > description[2] = "etc"; > description[3] = "etc"; > description[4] = "etc"; > description[5] = "etc"; > description[6] = "etc"; > description[7] = "etc"; > description[8] = "etc"; > </SCRIPT> > > 2) In the BODY I have this kind of tables where the layers are contained: > > <TD height=104 vAlign=top width=320><A id=layerName1></A></TD> > > 3) There are then the images, that, onMouseOver, have to display the > descriptions (1) in the layers (2): > > <A href="..." onmouseover="layerName1.innerHTML = description[1];"><IMG > src="..."></A> > > > How do I have to optimize this code? What is wrong in the HEAD's > description > strings??? > > Thank you in advance,
- References:
- [Javascript] Linked text in layers onMouseOver
- From: Pietro Carubbi
- [Javascript] Linked text in layers onMouseOver
- Prev by Date: [Javascript] Linked text in layers onMouseOver
- Previous by thread: [Javascript] Linked text in layers onMouseOver
- Index(es):