Changeset 15376 for trunk/FACT++/www
- Timestamp:
- 04/19/13 13:00:56 (12 years ago)
- Location:
- trunk/FACT++/www/showlog
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/www/showlog/index.css
r15375 r15376 1 1 .up { 2 cursor:pointer;3 2 padding:0 5px 4px 7px; 4 3 position:fixed; 5 4 top:0; 6 5 right:0; 7 text-decoration:underline;8 color:navy;9 6 background-color:#ebe7e6; 10 7 } 11 8 12 9 .dn { 13 cursor:pointer;14 10 padding:0 5px 4px 7px; 15 11 padding-top:0px; … … 17 13 bottom:0; 18 14 right:0; 19 text-decoration:underline;20 color:navy;21 15 background-color:#ebe7e6; 22 16 } … … 24 18 #nav { 25 19 position:fixed; 26 right: 80px;20 right:90px; 27 21 top:0; 28 22 background-color:#ebe7e6; -
trunk/FACT++/www/showlog/index.php
r15375 r15376 351 351 $dir = basename(dirname($filename)); 352 352 $name = basename($filename); 353 354 353 ?> 354 355 355 <!DOCTYPE HTML> 356 356 <html> … … 362 362 <meta charset="UTF-8"> 363 363 <title><?php print($dir." - ".$name);?></title> 364 <link rel="stylesheet" type="text/css" href=" showlog.css" />365 <script src=" http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>364 <link rel="stylesheet" type="text/css" href="index.css" /> 365 <script src="jquery-2.0.0.min.js" type="text/javascript"></script> 366 366 <script> 367 function scroll(top) 368 { 369 document.getElementById(top?'top':'bottom').scrollIntoView(top); 370 } 371 $(document).ready(function() { 372 $("#nav li:has(ul)").hover(function(){ 373 $(this).find("ul").slideDown(200); 374 }, function(){ 375 $(this).find("ul").hide(); 376 }); 367 $(function(){ 368 $("#nav li:has(ul)").hover(function(){ 369 $(this).find("ul").slideDown(200); 370 }, function(){ 371 $(this).find("ul").hide(); 372 }); 377 373 }); 378 374 </script> 379 375 </head> 380 <body onload=" setTimeout(function(){scroll(false);},1);">381 < span onclick="scroll(true);" class="up">go to top ↑</span>376 <body onload="if (location.hash.length==0) location.hash = '#bottom';"> 377 <a class="up" href="#top">go to top ↑</a> 382 378 <span id="nav"> 383 379 <ul> … … 411 407 </span> 412 408 </span> 413 < span onclick="scroll(false);" class="dn">go to bottom ↓</span>409 <a class="dn" href="#bottom">go to bottom ↓</a> 414 410 415 411 … … 423 419 424 420 </pre> 425 < span id="bottom"></span>421 <div id="bottom"></div> 426 422 </body> 427 423 </html>
Note:
See TracChangeset
for help on using the changeset viewer.