Template:Team:UC Davis/MutantWidget

From 2011.igem.org

(Difference between revisions)
Line 7: Line 7:
// RGB <-> HSL conversions based on equations from wikipedia.
// RGB <-> HSL conversions based on equations from wikipedia.
// If they're wrong, don't blame me!
// If they're wrong, don't blame me!
-
function RGB2HSL(r,g,b)
+
function RGB2HSL(r,g,b)`
{
{
var alpha = 1/2*(2*r-g-b);
var alpha = 1/2*(2*r-g-b);
Line 196: Line 196:
}
}
);
);
 +
        $('#mw_optionsmenu td').eq(0).click();
$('#mw_selectmenu td').click(
$('#mw_selectmenu td').click(
function() {
function() {

Revision as of 02:11, 25 September 2011