Welcome To Snipplr


Everyone's Recent JavaScript Snippets



This function allows an object's property names to be read by using an index. The properties can be accessed like: someobject.propertyNames[0] or someobject.propertyValues[0]. But you first have to make the object's properties available by calling so...
2 569 posted 16 years ago by rolandog
Constructs an element out of arrays. Using nested arrays translates into nested ChildNodes. Update 2006-07-19: Added documentation (comments). Update 2006-11-25: Reduced the ammount of code needed.
5 581 posted 16 years ago by rolandog
3 493 posted 16 years ago by masaya
1 422 posted 16 years ago by perelin
// v6.0 SCHMOE Mod v.2: // switches between (display:'block';) and (display:'none';) // bsp: MM_SCHMOE_showHideLayers('swissmap');
0 347 posted 16 years ago by perelin
This is test script of Google Map API. How to use this script is as follows. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"> <head> <style type="text/css"> v\:* { behavior:url(#default#VML)...
5 648 posted 16 years ago by tomute
Ejemplo de cómo utilizar el objeto Ajax.Responders de Prototype. El ejemplo hace uso de Scriptaculous.
3 509 posted 16 years ago by sendoa
See javadoc style comment in source.
2 725 posted 16 years ago by ishikawa
Creates a notification message for AJAX requests. Dependencies: prototype.js, script.aculo.us. CSS-Styles: http://snipplr.com/view/348/loadingmessage-for-ajax-requests-css/
11 667 posted 16 years ago by dertimbo
Directions: be sure to set to absolute paths every image location from your litebox-1.0.js and lightbox.css files... and, replace the setInnerHTML function with this one... http://www.doknowevil.net/litebox/
1 589 posted 16 years ago by rolandog
Open a new window without using target="_blank" for XHTML 1.1. Need jQuery Framework : http://jquery.com/
15 1441 posted 16 years ago by walepinski
This is a way to determine if the browser uses the KHTML engine or if it is the Konqueror Browser.
2 645 posted 16 years ago by rolandog
For a working demo in application/xhtml+xml or text/html, go to: http://rolandog.com/archives/2006/07/10/litebox-demasiado-bueno-para-ser-cierto/ You should delete the multi-line comments after completing the setup, some old browsers will complai...
3 736 posted 16 years ago by rolandog
This script makes it possible to delete every childNodes, childNodes.childNodes, childNodes.childNodes.childNodes and so on. Includes example functions for deleting all childNodes, firstChild and lastChild from an 'id'. It uses twin functions that ca...
0 493 posted 16 years ago by rolandog
Select all checkbox in the specific context. Need jQuery Framework : http://jquery.com/
12 723 posted 16 years ago by walepinski
StripTables Script. Need jQuery Framework : http://jquery.com/
6 449 posted 16 years ago by walepinski
Deals with the fact that mouse buttons are referenced in different ways by different browsers.
0 821 posted 16 years ago by MyKey_
Detects the browser and its version.
99 5058 posted 16 years ago by MyKey_
Just testing snipplr w/ this snippet.
5 783 posted 16 years ago by jonbaer
5 606 posted 16 years ago by kaminogoya
This script allows you to show and hide a at the click of a button. See Show / Hide HTML for Markup.
1 788 posted 16 years ago by 1man
Used to change the color of a text box.
2 592 posted 16 years ago by kathyd