Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 279 Rev 298
Line 5... Line 5...
5
 
5
 
6
import com.google.gwt.user.client.DOM;
6
import com.google.gwt.user.client.DOM;
7
import com.google.gwt.user.client.Event;
7
import com.google.gwt.user.client.Event;
8
import com.google.gwt.user.client.Window;
8
import com.google.gwt.user.client.Window;
-
 
9
import com.google.gwt.user.client.ui.Image;
9
import com.google.gwt.user.client.ui.Image;
10
import com.gwtext.client.core.Function;
10
import com.gwtext.client.widgets.Panel;
11
import com.gwtext.client.widgets.Panel;
Line 11... Line 12...
11
import com.gwtext.client.widgets.ToolTip;
12
import com.gwtext.client.widgets.ToolTip;
12
 
13
 
Line 117... Line 118...
117
		{
118
		{
118
			String urlAgrandie = urlImage.replace("min", "max") ;
119
			String urlAgrandie = urlImage.replace("min", "max") ;
Line 119... Line 120...
119
	
120
	
120
			imgZoom.setHtml("<img height="+Window.getClientHeight()*0.75+"px src=\""+urlAgrandie+"\" />") ;
121
			imgZoom.setHtml("<img height="+Window.getClientHeight()*0.75+"px src=\""+urlAgrandie+"\" />") ;
-
 
122
			imgZoom.setPagePosition( Window.getClientWidth()/2, Window.getClientHeight()/5) ;
121
			imgZoom.setPagePosition( Window.getClientWidth()/2, Window.getClientHeight()/5) ;
123
			imgZoom.setConstrain(true);
122
			imgZoom.setAutoHeight(true) ;
124
			imgZoom.setAutoHeight(true) ;
123
			imgZoom.setAutoWidth(true) ;
125
			imgZoom.setAutoWidth(true) ;
124
			imgZoom.show(this.getElement()) ;
126
			imgZoom.show(this.getElement()) ;
125
		} else {
127
		} else {