PDA

View Full Version : problem with menu and windows objects in firefox



Mandrak2_2
11 Feb 2010, 2:04 AM
Hi all again,
I add some news about my problem.
I don't know why, but at this moment all my Extjs objects don't work in FF.
While I'm testing other features of my application I've seen that I can't show also window objects in FF, because when I call "myWindowObj.doLayout()" I got "h.firstChild has no properties" message (with all the other browser it still works fine).
I know that ExtJS is a stable framework, so I know that this is a mistake of mine, but I don't know where I can look.
Since two weeks ago all works fine also with FF. Last week nobody touched my code and last monday I worked on other files.
I really don't know what I can do.
Please, help me.
Thanx.


Hi all,
I'm writing because I have a little big problem with a floating menu in FF.
My application has a custom html toolbar with three icons in the middle. When mouse pointer is over one of the icon, a floating menu appears under the icon.
It works in IE, Opera and Chrome but in FF, when I call "showAt([x, y])" I got a "g has no properties" error message.

when I initialize my script I do this:


menu1 = new Ext.menu.Menu({
items: [
{text: "item1"},
{text: "item2"}
]
});


and the same for menu2 and menu3 (I wrote also other code lines for listeners, but at this moment is commented and it still doesn't work)

my onMouseOver icon handler is this:


function icon1_onMouseOver() {
menu1.showAt([100, 100]);
}


I don't know what I have to do. Please, is there anyone can help me ?

Thanx in advance and excuse me for my bad english.

Alessio