Uhm, your code should probably look like this.

layersetHTML ( "<img id = 'RoomImg' 
src='http://x.com/scripts/invoke2.php3?USER=Test&WIDTH=800&HEIGHT=0&XPOS=0&YPOS=0'  
height='500' width='500' ALT='suppress'>", true );

Dunno if that solves your real problem, but at least the HTML got to be right before 
anybody can do any JS/DynAPI debugging... :)

Henrik Våglin [ [EMAIL PROTECTED] ]

----- Original Message ----- 
From: "Michael Towers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 2:25 PM
Subject: [Dynapi-Help] Tooltips


> Hi,
> 
> I'm a bit new to DynApi and javascript in general so I appologise in advance
> if any of this seems a bit stupid.  I have two problems I am trying to
> solve.  
> 
> First, I would like to be able to add tooltips to layers.  The layers will
> contain an image or have the background colour set.  I have tried adding a
> child layer and setting an image into it using the setHTML() method and
> setting the ALT tag.  This seems to work but interfers with the mouse event
> on the parent layer.  Any ideas?  
> 
> Second, I would like to be able to create an layer or inline layer with a
> background image.  The background image would change for animated gif
> informing the user that something is being loaded, when the user clicks a
> button.  I then want to change the background to an image which I download
> from another website.  I tired using the setHTML() method as below :
> 
> layersetHTML ( "<img id = 'RoomImg'
> src='http://x.com/scripts/invoke2.php3?USER=Test&WIDTH=800&HEIGHT=0&XPOS=0&Y
> POS=0'  height='500' width='500' suppress</img>", true );
> 
> This works fine in IE but in NS I get a place holder while the image is
> being downloaded.  Is there a better way to do this?  I thought of using a
> DynImage but was unable to workout how to download the image into it.
> 
> Thanks
> 
> Mike.. 
> 
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
> 


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to