login/register

Snip!t channels - Alan Dix

Channels > techie > JavaScript

Order by: date | title | url | snip    Show: just this cat | subcats too
Page 4 of 4:   prev   1   2   3   4   next  

2006-01-06 10:19:02     Code Examples -> Simple js test for a pop-up blocker

http://www.weberdev.com/get_example-4189.html

If you site needs pop-ups to work properly, this little ...
var popWin = window.open("","ptest","width=1,height=1,le ...
if (popWin) {
  popWin.blur();
... }

view snip

/Channels/techie/JavaScript

2006-01-05 12:45:07     Prototype JavaScript Framework: Class-style OO, Ajax, and more

http://prototype.conio.net/

Prototype is a JavaScript framework that aims to ease de... dynamic web applications. Featuring a unique, easy-to-us... class-driven development and the nicest Ajax library aro... quickly becoming the codebase of choice for Web 2.0 deve...

view snip

/Channels/techie/JavaScript

2005-11-17 16:17:53     gemal.dk - Javascript escape()/unescape() NO LONGER suitable for URI manipulation

http://gemal.dk/...peunescape_no_longer_suitable_for_uri_ma/

old escape(): encode in page's charset, then %hh
new escape(): %hh, %uhhhh for everything over unicode 256.
encodeURIComponent(): encode in UTF-8, then %hh

view snip

/Channels/techie/JavaScript