Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 298 Rev 338
Line 76... Line 76...
76
		
76
		
Line 77... Line 77...
77
		tp.applyTo(image.getElement()) ;
77
		tp.applyTo(image.getElement()) ;
Line -... Line 78...
-
 
78
		
-
 
79
		image.sinkEvents(Event.ONDBLCLICK);
-
 
80
		
-
 
81
		imgZoom.setConstrain(true);
78
		
82
		imgZoom.setAutoHeight(true) ;
79
		image.sinkEvents(Event.ONDBLCLICK);
83
		imgZoom.setAutoWidth(true) ;
80
		
84
		
Line 81... Line 85...
81
		this.setCls("x-image-info-rep") ;
85
		this.setCls("x-image-info-rep") ;
Line 118... Line 122...
118
		{
122
		{
119
			String urlAgrandie = urlImage.replace("min", "max") ;
123
			String urlAgrandie = urlImage.replace("min", "max") ;
Line 120... Line 124...
120
	
124
	
121
			imgZoom.setHtml("<img height="+Window.getClientHeight()*0.75+"px src=\""+urlAgrandie+"\" />") ;
125
			imgZoom.setHtml("<img height="+Window.getClientHeight()*0.75+"px src=\""+urlAgrandie+"\" />") ;
122
			imgZoom.setPagePosition( Window.getClientWidth()/2, Window.getClientHeight()/5) ;
-
 
123
			imgZoom.setConstrain(true);
-
 
124
			imgZoom.setAutoHeight(true) ;
-
 
125
			imgZoom.setAutoWidth(true) ;
126
			imgZoom.setPagePosition( Window.getClientWidth()/2, Window.getClientHeight()/5) ;
126
			imgZoom.show(this.getElement()) ;
127
			imgZoom.show(this.getElement()) ;
127
		} else {
128
		} else {
128
			imgZoom.hide();
129
			imgZoom.hide();