Changeset 26114
- Timestamp:
- Dec 23, 2013, 12:18:58 PM (11 years ago)
- Location:
- trunk/themes/elegant
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/elegant/scripts.js
r26087 r26114 6 6 content=jQuery("#the_page > .content"), 7 7 pcontent=jQuery("#content"); 8 9 if (session_storage['page-menu'] == 'hidden') {10 jQuery("head").append('<style>#the_page #menubar {display:none;} #content.contentWithMenu, #the_page > .content {margin-left:35px;}</style>');11 }12 else {13 jQuery("head").append('<style>#content.contentWithMenu, #the_page > .content {margin-left:240px;}</style>');14 }15 8 16 9 function hideMenu(delay) { -
trunk/themes/elegant/scripts_pp.js
r26087 r26114 14 14 comments_add, 15 15 comments_top_offset = 0; 16 17 if (session_storage['picture-menu'] == 'visible') {18 jQuery("head").append('<style>#content.contentWithMenu, #the_page > .content {margin-left:240px;}</style>');19 }20 else {21 jQuery("head").append('<style>#the_page #menubar {display:none;} #content.contentWithMenu, #the_page > .content {margin-left:35px;}</style>');22 }23 16 24 17 function hideMenu(delay) { … … 94 87 e.preventDefault(); 95 88 }); 89 } 90 else if (menubar.length == 1 && p_main_menu=="disabled") { 91 showMenu(0); 96 92 } 97 93
Note: See TracChangeset
for help on using the changeset viewer.