Subversion Repositories eFlore/Applications.cel

Rev

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

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