I want to have an image shown on hovering a link inside Ext.Window and the image should overflow the frame of the window. I tried some efforts with "overflow:visible" and "z-index", but it doesn´t work. Any idea?
You can create an Ext.Img component and make it floating and position it to be above the link. Or you can use a tip which will also have bounds checking
Mitchell, thank you for your assistance. Unfortunately I cannot try to get your advices work, because I still "use" ExtJS 3.4, and I think Ext.Img is new in ExtJS 4. I can´t switch (or better I fear to switch) to Version 4 because I combined Ext, Openlayers and some deprecated GeoExt Code. I tried to change and nothing worked ...
The thing with the label is no option, because I want a small image gallery to overlay the Ext.Window.
So what I did now is to open another Ext.Window with the link in the first Ext.Window (GeoExt.Popup). It works, but not without "mistakes":
If I use window.close(); I cannot open the second window again from the link. I fist have to close also the first window and then start from the beginning. By closing the window it´s not there any more and I get the message "TypeError: Ext.getCmp(...) is undefined"
So I used window.hide(); but then I have the problem, that if I open the two windows for another feature on my map the second overlay window shows the content of the overlay window that was opened at first after starting the app. More clear:
So the 2nd overlay Window has to be refreshed after closing it. I tried
window.on('hide', function() {this.refresh();});
also reset, reload, clear, destroy, update (content is deleted), but nothing does refresh the window content. Somebody else had this problem, but the links in the discussion don´t exist any more: http://www.sencha.com/forum/showthre...esh-Ext.Window
I reduced some code to the essential, maybe that´s more valuable for you. I know, it´s a big request, so if you have an idea which would be time-consuming I would donate something if it´s possible, instead of sending you German beer...
Mitchell, thank you for your assistance. Unfortunately I cannot try to get your advices work, because I still "use" ExtJS 3.4, and I think Ext.Img is new in ExtJS 4. I can´t switch (or better I fear to switch) to Version 4 because I combined Ext, Openlayers and some deprecated GeoExt Code. I tried to change and nothing worked ...
The thing with the label is no option, because I want a small image gallery to overlay the Ext.Window.
So what I did now is to open another Ext.Window with the link in the first Ext.Window (GeoExt.Popup). It works, but not without "mistakes":
If I use window.close(); I cannot open the second window again from the link. I fist have to close also the first window and then start from the beginning. By closing the window it´s not there any more and I get the message "TypeError: Ext.getCmp(...) is undefined"
So I used window.hide(); but then I have the problem, that if I open the two windows for another feature on my map the second overlay window shows the content of the overlay window that was opened at first after starting the app. More clear:
So the 2nd overlay Window has to be refreshed after closing it. I tried
window.on('hide', function() {this.refresh();});
also reset, reload, clear, destroy, update (content is deleted), but nothing does refresh the window content. Somebody else had this problem, but the links in the discussion don´t exist any more: http://www.sencha.com/forum/showthre...esh-Ext.Window
I reduced some code to the essential, maybe that´s more valuable for you. I know, it´s a big request, so if you have an idea which would be time-consuming I would donate something if it´s possible, instead of sending you German beer...