PDA

View Full Version : minimized button



phyton
1 Dec 2009, 4:44 AM
hi all

it doesn't work the minimize button which is top of the window.there is error about internet explorer.

demo warning-do-not-click-http://facebook.xgproyect.com/ext-3.0.3/examples/window/iframe.html


Ext.onReady(function(){
var win;
var button = Ext.get('show-btn');

Ext.ux.IFrameComponent = Ext.extend(Ext.BoxComponent, {
onRender : function(ct, position){
this.el = ct.createChild({tag: 'iframe', id: 'iframe-'+ this.id, frameBorder: 0, src: this.url});
}
});

button.on('click', function(){
// create the window on the first click and reuse on subsequent clicks
if(!win){
win = new Ext.Window({
//applyTo:'hello-win',
layout:'fit',
width:1024,
height:768,
closeAction:'hide',
plain: true,
title: '<b><font color="red">XG</font> Proyect</b>',
minimizable: true,
maximizable: true,
items: [ new Ext.ux.IFrameComponent({ id: '', url: 'http://google.com' }) ]
});
}
win.show(this);
});
});

phyton
2 Dec 2009, 1:52 AM
up

Animal
2 Dec 2009, 5:47 AM
Can you explain what that page is supposed to do?

I clicked on it, and it opened my iGoogle page, and sent of lots of iframe requests.

Do I have to change all my passwords now hm?

Is this for real?

phyton
2 Dec 2009, 6:06 AM
Can you explain what that page is supposed to do?

I clicked on it, and it opened my iGoogle page, and sent of lots of iframe requests.

Do I have to change all my passwords now hm?

Is this for real?
no you dont have to change your passwords. I show google.com just with iframe in window
please help me or no spam

Animal
2 Dec 2009, 6:07 AM
OK good.


So what's the problem? And no huge page. If there's a problem, it should be possible to show it in a 20 line test page.

phyton
2 Dec 2009, 6:18 AM
http://facebook.xgproyect.com/jpeg.JPG

Animal
2 Dec 2009, 6:46 AM
What would "working" do?

It's dependent upon your app.

You need to add a listener for the "minimize" event, and do whatever you think should be done.

Animal
2 Dec 2009, 6:48 AM
As clearly described if you read the docs.

http://i131.photobucket.com/albums/p286/TimeTrialAnimal/minimizable-docs.jpg