Changeset 3294:6b3d608280b5
- Timestamp:
- 07/29/16 14:32:03 (9 years ago)
- Branch:
- default
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/common.js
r3182 r3294 595 595 objMain.removeClass('hide-mm'); 596 596 } 597 // totop scroll 598 $(window).scroll(function() { 599 if($(this).scrollTop() != 0) { 600 $('#gototop').fadeIn(); 601 } else { 602 $('#gototop').fadeOut(); 603 } 604 }); 605 606 $('#gototop').click(function() { 607 $('body,html').animate({scrollTop:0},800); 608 }); 597 609 }); -
admin/style/default.css
r3264 r3294 85 85 clear: both; 86 86 position: relative; 87 padding: .5em 1em .5em 0;88 text-align: right;87 padding: .5em 0 .5em 1em; 88 text-align: left; 89 89 border-top: 1px solid #ccc; 90 90 background-color: #fff; … … 1221 1221 } 1222 1222 /* ------------------------------------------------------------------ FOOTER ELEMENTS */ 1223 #gototop { 1224 display: none; 1225 z-index: 1000; 1226 position: fixed; 1227 bottom: 0; 1228 right: .5em; 1229 width: 10em; 1230 padding: .25em; 1231 border: 1px solid #636363; 1232 border-radius: .25em; 1233 background-color: #fff; 1234 color: #333; 1235 font-size: .875em; 1236 text-align: center; } 1237 #gototop a, #gototop a:link, #gototop a:hover, #gototop a:active { 1238 background: transparent; 1239 border: none; 1240 font-weight: bold; 1241 color: #636363; } 1223 1242 #footer p { 1224 1243 margin: 0; … … 1239 1258 } 1240 1259 #footer a:hover span.tooltip { 1241 padding: 10px 10px 0 40px;1260 padding: 10px 40px 0 10px; 1242 1261 color: #910ed3; 1243 1262 height: auto; 1244 1263 width: auto; 1245 right: 0;1264 left: 0; 1246 1265 bottom: 0; 1247 1266 background: #FFF; -
inc/admin/lib.dc.page.php
r3292 r3294 335 335 "</div>\n"; // End of #wrapper 336 336 337 echo '<p id="gototop"><a href="#wrapper">'.__('Page top').'</a></p>'."\n"; 338 337 339 $figure = " 338 340 /\_/\ … … 349 351 " -->"."\n"; 350 352 353 354 351 355 if (defined('DC_DEV') && DC_DEV === true) { 352 356 echo self::debugInfo(); … … 416 420 "</div>\n". // End of #main 417 421 "</div>\n". // End of #wrapper 422 423 '<p id="gototop"><a href="#wrapper">'.__('Page top').'</a></p>'."\n". 424 418 425 '<div id="footer" role="contentinfo"><p> </p></div>'."\n". 419 426 '</body></html>';
Note: See TracChangeset
for help on using the changeset viewer.