- Timestamp:
- 2012-09-20T11:31:03+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/js/document_scripts.js
r26212 r26226 1249 1249 } 1250 1250 1251 function floatMenu(enabled) 1252 { 1253 var menu = $(".tableOfContentsContainer"); 1254 if(enabled) 1255 { 1256 menu.data("position", menu.css("position")); 1257 menu.data("width", menu.css("width")); 1258 menu.data("right", menu.css("right")); 1259 menu.data("top", menu.css("top")); 1260 menu.data("max-height", menu.css("max-height")); 1261 menu.data("overflow", menu.css("overflow")); 1262 menu.data("z-index", menu.css("z-index")); 1263 1264 menu.css("position", "fixed"); 1265 menu.css("width", "300px"); 1266 menu.css("right", "0px"); 1267 menu.css("top", "100px"); 1268 menu.css("max-height", "600px"); 1269 menu.css("overflow", "auto"); 1270 menu.css("z-index", "200"); 1271 1272 $("#unfloatTOCButton").show(); 1273 } 1274 else 1275 { 1276 menu.css("position", menu.data("position")); 1277 menu.css("width", menu.data("width")); 1278 menu.css("right", menu.data("right")); 1279 menu.css("top", menu.data("top")); 1280 menu.css("max-height", menu.data("max-height")); 1281 menu.css("overflow", menu.data("overflow")); 1282 menu.css("z-index", menu.data("z-index")); 1283 1284 $("#unfloatTOCButton").hide(); 1285 $("#floatTOCToggle").attr("checked", false); 1286 } 1287 } 1288 1251 1289 function showSlideShow() 1252 1290 {
Note:
See TracChangeset
for help on using the changeset viewer.