Subversion Repositories eFlore/Applications.cel

Rev

Rev 298 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 298 Rev 338
Line 72... Line 72...
72
		
72
		
Line 73... Line 73...
73
		tp.applyTo(image.getElement()) ;
73
		tp.applyTo(image.getElement()) ;
-
 
74
		
-
 
75
		
-
 
76
		this.setCls("x-image-gen") ;
-
 
77
		
Line 74... Line 78...
74
		
78
		imgZoom.setConstrain(true);
75
		
79
		imgZoom.setAutoHeight(true) ;
76
		this.setCls("x-image-gen") ;
80
		imgZoom.setAutoWidth(true) ;
Line 116... Line 120...
116
		if(!imgZoom.isVisible())
120
		if(!imgZoom.isVisible())
117
		{
121
		{
118
			String urlAgrandie = urlImage.replace("min", "max") ;
122
			String urlAgrandie = urlImage.replace("min", "max") ;
119
			imgZoom.setHtml("<img height="+Window.getClientHeight()*0.75+"px src=\""+urlAgrandie+"\" />") ;
123
			imgZoom.setHtml("<img height="+Window.getClientHeight()*0.75+"px src=\""+urlAgrandie+"\" />") ;
120
			imgZoom.setPagePosition( Window.getClientWidth()/2, Window.getClientHeight()/5) ;
124
			imgZoom.setPagePosition( Window.getClientWidth()/2, Window.getClientHeight()/5) ;
121
			imgZoom.setConstrain(true);
-
 
122
			imgZoom.setAutoHeight(true) ;
-
 
123
			imgZoom.setAutoWidth(true) ;
-
 
124
			imgZoom.show(this.getElement()) ;
125
			imgZoom.show(this.getElement()) ;
125
		} else {
126
		} else {
126
			imgZoom.hide();
127
			imgZoom.hide();
127
		}
128
		}