which version of the api are you using? this may have been fixed already in the development version.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]
Sent: 07 March 2001 00:13
To: [EMAIL PROTECTED]
Subject: [Dynapi-Dev] Bug Report : Where to File

Sorry if this should have been sent to a different address but I couldn't
find a specific address to send a bug report to.

The bug relates to NS6.01 and the mouseover event handler.  I created a page
that has a simple menu created with the following code being repeated for
each menu item with slight differences to change the location of each item.  
The last 4 functions where created to handle making changes to font
attributes and the problem still happens when they are removed.

     mainLayer=new DynLayer('', 102, 150, 96, 21, '#001500', true, 2)
     mainLayer.setHTML('Main')
     DynAPI.document.addChild(mainLayer)
     mainLayer.setAlign('center')
     mainLayer.setFontFamily('Westminster, Comic Sans MS, Arial')
     mainLayer.setFontSize('20px')
     mainLayer.setLtrSpace('2px')

The event handler is like this.

     mainListener = new EventListener(DynAPI.document)
     mainListener.
     {
        if(mainLLayer.getVisible())
        {
           return;
        }
        mainLayer.setBgColor('#235523')
     }
     mainListener.
     {
        if(mainLLayer.getVisible())
        {
           return;
        }
        mainLayer.setBgColor('#001500')
     }

     mainLayer.addEventListener(mainListener)

The handler seems not to work when the mouse is over a section of the layer
which contains text.

Reply via email to