Welcome To Snipplr
Everyone's Recent JavaScript Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
2178
posted 20 years ago by rolandog
Open a new window without using target="_blank" for XHTML 1.1.
Need jQuery Framework : http://jquery.com/
15
7484
posted 20 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
3315
posted 20 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
2827
posted 20 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
1916
posted 20 years ago by rolandog
Select all checkbox in the specific context.
Need jQuery Framework : http://jquery.com/
12
2433
posted 20 years ago by walepinski
StripTables Script.
Need jQuery Framework : http://jquery.com/
6
1980
posted 20 years ago by walepinski
Deals with the fact that mouse buttons are referenced in different ways by different browsers.
0
2727
posted 20 years ago by MyKey_
This script allows you to show and hide a at the click of a button. See Show / Hide HTML for Markup.
1
2571
posted 20 years ago by 1man
This is a quick & easy system for changing the base of any number.
0
2937
posted 20 years ago by Zikes