Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 199 Rev 279
Line 114... Line 114...
114
	public void agrandirImage() {
114
	public void agrandirImage() {
Line 115... Line 115...
115
		
115
		
116
		if(!imgZoom.isVisible())
116
		if(!imgZoom.isVisible())
117
		{
117
		{
118
			String urlAgrandie = urlImage.replace("min", "max") ;
118
			String urlAgrandie = urlImage.replace("min", "max") ;
119
			imgZoom.setHtml("<img src=\""+urlAgrandie+"\" />") ;
119
			imgZoom.setHtml("<img height="+Window.getClientHeight()*0.75+"px src=\""+urlAgrandie+"\" />") ;
120
			imgZoom.setPagePosition( Window.getClientWidth()/2, Window.getClientHeight()/5) ;
120
			imgZoom.setPagePosition( Window.getClientWidth()/2, Window.getClientHeight()/5) ;
121
			imgZoom.setAutoHeight(true) ;
121
			imgZoom.setAutoHeight(true) ;
122
			imgZoom.setAutoWidth(true) ;
122
			imgZoom.setAutoWidth(true) ;
-
 
123
			imgZoom.show(this.getElement()) ;
-
 
124
		} else {
123
			imgZoom.show(this.getElement()) ;
125
			imgZoom.hide();
Line 124... Line 126...
124
		}
126
		}