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 • Leave a comment »

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:22 • Leave a comment »

freejavascript

t’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 a… more »

wow: item tool tips

by prettyscripts on 2008-08-03 00:24:13 • Leave a comment »

javascripthtmlb2evolution

i’ve been wanting to add item tool tips to my wow blog. you know, the cool popup text displayed when you move your mouse over an item link. like how it looks in-game. the first came to mind was itemstats, which i’ve used to setup websites for my previo… more »

Tags: b2evo, itemstat, javascript, wow, wowhead

drag and drop

by prettyscripts on 2008-07-17 12:55:23 • Leave a comment »

freejavascripthtml

i was looking for drag and drop functionality / components for websites and found this javascript based library. it seems easy for simple implementation. just download the file and follow 4-step instructions. however for more advanced / complex imple… more »

Tags: drag and drop, free, javascript