Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Ext.ux.DataView.LightBox

  1. #11
    Sencha Premium Member
    Join Date
    Jun 2008
    Posts
    387
    Vote Rating
    49
      0  

    Default

    Nice, but the window with the image changes size, can you make it dynamic, so you can choose wether or not to autosize to the image or keep a fixed width&height, e.g a sort of image view?
    I`m from Holland!

  2. #12
    Sencha User fangzhouxing's Avatar
    Join Date
    Mar 2007
    Posts
    471
    Vote Rating
    2
      0  

    Default

    I changed following code:
    Code:
    		f (Ext.isGecko) {													
    			win.body.dom.src = rec.data.url;
    			win.setSize(win.body.dom.width, win.body.dom.height);
    			win.center();
    		}else{																
    			if (win) {
    				win.destroy();
    			}
    			showWindow();
    		}
    to :
    Code:
    			win.body.dom.src = rec.data.url;
    			win.setSize(win.body.dom.width, win.body.dom.height);
    			win.center();
    and it works in IE7 and IE6!

  3. #13
    Ext User
    Join Date
    May 2010
    Posts
    19
    Vote Rating
    0
      0  

    Default

    How do I integrate this with the rest of my PHP code ?

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •