Subversion Repositories eFlore/Archives.cel-v1

Rev

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

Rev 27 Rev 28
Line 93... Line 93...
93
  }	
93
  }	
Line 94... Line 94...
94
 
94
 
95
  
95
  
96
  public void setImageTop(String url) {
-
 
Line 97... Line 96...
97
		if (url.compareTo("null")!=0) {
96
  public void setImageTop(String url) {
98
//			setPopupPosition(3*(Window.getClientWidth()/4), mediator.getInventoryItemList().getAbsoluteTop()+50);	
97
		if (url.compareTo("null")!=0) {
99
			
98
			
100
		  setPopupPosition(mediator.getLeftPanel().getAbsoluteLeft()+10, mediator.getLeftPanel().getAbsoluteTop()  + (mediator.getLeftPanel().getOffsetHeight()/2)+50);
99
		  setPopupPosition(mediator.getWestContainer().getAbsoluteLeft()+10, mediator.getWestContainer().getAbsoluteTop()  + (mediator.getWestContainer().getOffsetHeight()/3) +15);
101
		  show();
100
		  show();
102
		  imageTop.setUrl(url);
101
		  imageTop.setUrl(url);
Line 108... Line 107...
108
	}
107
	}
Line 109... Line 108...
109
 
108
 
110
  
109
  
111
  public void setImageBottom(String url) {
-
 
112
		if (url.compareTo("null")!=0) {
110
  public void setImageBottom(String url) {
113
//			setPopupPosition(3*(Window.getClientWidth()/4), mediator.getInventoryItemList().getAbsoluteTop()+50);	
111
		if (url.compareTo("null")!=0) {
114
	  setPopupPosition(mediator.getLeftPanel().getAbsoluteLeft()+10, mediator.getLeftPanel().getAbsoluteTop()  + (mediator.getLeftPanel().getOffsetHeight()/2) + 50);
112
		  setPopupPosition(mediator.getWestContainer().getAbsoluteLeft()+10, mediator.getWestContainer().getAbsoluteTop()  + (mediator.getWestContainer().getOffsetHeight()/3) +15);
115
		  show();
113
		  show();
116
		  imageBottom.setUrl(url);
114
		  imageBottom.setUrl(url);
117
		}
115
		}