MediaWiki:24

HTML5 contenteditable example

 margin-left:auto; margin-right:auto; height: 475px; width: 475px; background-image:url(https://www.ibm.com/developerworks/mydeveloperworks/blogs/bobleah/resource/stickynote.jpg); background-repeat: no-repeat; }
 * 1) scribble-pad {

white-space: pre-wrap;      /* css-3 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -pre-wrap;     /* Opera 4-6 */ white-space: -o-pre-wrap;   /* Opera 7 */ word-wrap: break-word;      /* Internet Explorer 5.5+ */ max-width: 300px; padding: 120px 100px 100px 75px; color: #486891; font-family: Arial,sans-serif; font-size: 140%; font-style: italic; font-weight:bold; line-height: 1.5em; }
 * 1) scribble {

.c-link { color: #486891; font-family: Arial,sans-serif; font-size: 95%; font-weight:bold; text-decoration: none; }

 function storeUserScribble(id) { var scribble = document.getElementById('scribble').innerHTML; localStorage.setItem('userScribble',scribble); }

function getUserScribble { if ( localStorage.getItem('userScribble')) { var scribble = localStorage.getItem('userScribble'); } else { var scribble = ' Analysis: It is August 27, 2024. I am Currently active and my Local Time  is. refresh the clock '; } document.getElementById('scribble').innerHTML = scribble; }

function clearLocal { clear: localStorage.clear; return false; }

Clear local storage



getUserScribble;