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.
- RE: [Dynapi-Dev] Bug Report : Where to File JonathanErinDale
- RE: [Dynapi-Dev] Bug Report : Where to File Cameron Hart
- RE: [Dynapi-Dev] Bug Report : Where to File Pascal
- RE: [Dynapi-Dev] Bug Report : Where to File JonathanErinDale
- RE: [Dynapi-Dev] Bug Report : Where to File JonathanErinDale
