You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
528 B
16 lines
528 B
// Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
|
|
// Contributors:
|
|
// Justin Palmer (http://encytemedia.com/)
|
|
// Mark Pilgrim (http://diveintomark.org/)
|
|
// Martin Bialasinki
|
|
//
|
|
// See scriptaculous.js for full license.
|
|
|
|
/* ------------- element ext -------------- */
|
|
|
|
// converts rgb() and #xxx to #xxxxxx format,
|
|
// returns self (or first argument) if not convertable
|
|
// more javascript from http://www.smallrain.net
|
|
String.prototype.parseColor = function() {
|
|
var color = '#';
|