html Tag

Leave Message

12 Jul 2011, Posted by BoB in All Posts, Website Talk

<script type="text/javascript"> window.onbeforeunload = confirmExit; function confirmExit() { return "Did you remember to click SAVE?"; } </script> (Paste above code after the <head> tag) ...

HTML Characters

28 Apr 2011, Posted by BoB in All Posts, Website Talk

Symbol Symbol Description Name Code Number Code € Euro Symbol &euro; € © Copyright &copy; © ® Registered Trademark &reg; ® ™ Trademark Sign (TM) &trade; - @ At Symbol - @ & Ampersand &amp; & ¶ Paragraph &para; ¶ - Hyphen - - – En Dash &ndash; &#150 — Em Dash &mdash; — ¬ Not Sign &not; ¬ ‹ Single Left Pointing Angle &lsaquo; - › Single Right Pointing Angle &rsaquo; - « Double Left Pointing Angle &laquo; « » Double Right Pointing Angle &raquo; » ← Left Arrow &larr; - ↑ Upward Arrow &uarr; - → Right Arrow &rarr; - ↓ Downward Arrow &darr; - ♠ Black Spade Suit (Not available in Firefox) &spades; - ♣ Black Clubs Suit (Not available in Firefox) &clubs; - ♥ Black Hearts Suit (Not available in...

Javascript Sheet

27 Apr 2011, Posted by BoB in All Posts, Website Talk

How to disable right mouse click: <script language=JavaScript> <!-- var message="Sorry, function has been disabled."; /////////////////////////////////// function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);return false") // --> </script> (paste above script after <head>...