

<style type="text/css">.backtotop a:hover {background:none;}</style><div class="backtotop"><a style="display:scroll;position:fixed;bottom:5px;right:5px;" class="backtotop" href="#" rel="nofollow" title="Back to Top"><img style="border:0;" src="http://img179.imageshack.us/img179/1849/backtotop.png"/></a></div> |
<div id="blogCalendar"></div> <script type="text/javascript" src="http://lvchen-recentcomments.googlecode.com/svn/trunk/Calendar/1.0/calendar_pack.js"></script> <script type="text/javascript"> Calendar.base="namablog.blogspot.com"; Calendar.timeZone="+08:00"; Calendar.timeZoneCheck = true; Calendar.drawTable(); </script> <style> #blogCalendar { display:block; text-algin:center; border:1px dotted #F6358A; width:90%; background: #ffffff; } #CalendarCaption a { text-decoration:none; } #CalendarCaption { border-bottom: 2px solid #F6358A; width:85%; margin:auto; } #CalendarTable a { font-weight:bold; color: #F6358A; } .Today { background: #F6358A; font-weight:bold; text-decoration:none; } #CalendarFooter { font-weight:bold; margin-top:5px; margin-bottom:5px; background: #FFC0CB; } .yearInput { color: #000000; background: #F6358A; } .monthTable { color: #000000; background: #F6358A; } </style> |
<script type="text/javascript"> function disableSelection(target){ if (typeof target.onselectstart!="undefined") //IE route target.onselectstart=function(){return false} else if (typeof target.style.MozUserSelect!="undefined") //Firefox route target.style.MozUserSelect="none" else //All other route (ie: Opera) target.onmousedown=function(){return false} target.style.cursor = "default" } //Sample usages //disableSelection(document.body) //Disable text selection on entire body //disableSelection(document.getElementById("mydiv")) //Disable text selection on element with id="mydiv" </script> <script type="text/javascript"> disableSelection(document.body) //disable text selection on entire body of page </script> |