post bugs at http://www.sourceforge.net/projects/dynapi
 
more change they don't get lost.
 

Pascal Bestebroer ([EMAIL PROTECTED])
Software ontwikkelaar
Oberon Informatiesystemen b.v.
http://www.oibv.com

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Namens [EMAIL PROTECTED]
Verzonden: woensdag 7 maart 2001 1:13
Aan: [EMAIL PROTECTED]
Onderwerp: [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