html5 and old browsers

by prettyscripts on 2011-08-25 15:21:00 • Leave a comment »

miscjavascripthtml5

html5 introduces new tags that's not recognized by older browsers. to fix it, add the following javascripts: <script> document.createElement("article"); document.createElement("footer"); document.createElement("header"); document.create… more »

Tags: browser, html5, ie, javascript

wz_tooltip: usage notes

by prettyscripts on 2010-05-14 16:45:00 • 9 comments »

freejavascripthtml

i have previously posted about this javascript based bubble help tooltips 1.5 years ago. i decided to use this in a new project but sadly the website is gone. nowhere to download! no documentation! after doing some research it was said the walter zorn,… more »

Tags: free, tooltip

javascript: calling xajax functions with boolean parameter

by prettyscripts on 2009-06-24 10:28:46 • Leave a comment »

miscjavascriptxajax

when passing a boolean value from javascript to a xajax function, the value is converted to string in the xajax function. you need to compare the string value of the boolean value (from javascript) in xajax function. eg, the following code in xajax f… more »

Tags: boolean, javascript, xajax

tinymce: clear field

by prettyscripts on 2008-09-22 16:22:57 • 2 comments »

freejavascriptxajaxtinymce

the normal way to clear <textarea> field: document.formname.textareaid.value = ''; for <textarea> converted into tinymce editor, the above javascript call does not work. you need to call tinyMCE.setContent() tinyMCE.getInstanceById('texta… more »

Tags: clear, editor, textarea, tinymce, xajax

javascript: tooltips

by prettyscripts on 2008-08-27 11:59:00 • Leave a comment »

freejavascript

it's bubble help on your website, like bubble helps on windows applications. hover your mouse over a link to show a small non-invasive popup box of information. overLIB i’ve been using this library on a few of my projects for a few years. (first read… more »