Changeset 3905
- Timestamp:
- Oct 21, 2010, 8:56:01 AM (13 years ago)
- Location:
- trunk/client/servlet
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/servlet/src/org/proteios/gui/web/GUIConverter.java
r3897 r3905 1251 1251 { 1252 1252 Fieldset fieldset; 1253 Tag legend, title, fields, table, row, helpC, input, btn; 1253 Tag legend, title, fields, table, row, helpC, input; 1254 Img btn; 1254 1255 String subtitle; 1255 1256 org.proteios.gui.form.Field field; … … 1263 1264 { 1264 1265 legend.setOnClick("toggleFieldset('" + id + "')"); 1265 btn = new Div();1266 btn = new Img(); 1266 1267 btn.addClass("toggle"); 1267 1268 btn.setId(btnId); 1268 1269 legend.add(btn); 1269 btn. newCData( fs.isOpen() ? "-" : "+");1270 btn.setSrc(fs.isOpen() ? "static/img/minus.gif" : "static/img/plus.gif"); 1270 1271 } 1271 1272 -
trunk/client/servlet/www/static/css/layout2.jsp
r3894 r3905 230 230 } 231 231 232 div.form form div.legend div.toggle232 div.form form div.legend img.toggle 233 233 { 234 234 float: left; 235 width: 10px;236 235 border: 0px; 236 margin-top: 1px; 237 237 } 238 238 -
trunk/client/servlet/www/static/js/script.js
r3894 r3905 128 128 { 129 129 node.style.display = "none"; 130 icon. innerHTML = "+";130 icon.src = "static/img/plus.gif"; 131 131 } 132 132 else 133 133 { 134 134 node.style.display = "block"; 135 icon. innerHTML = "-";135 icon.src = "static/img/minus.gif"; 136 136 } 137 137 }
Note: See TracChangeset
for help on using the changeset viewer.