/[colormatch]/trunk/colormatch.js
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/colormatch.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1 by dpavlin, Sat Oct 2 23:24:01 2004 UTC revision 2 by dpavlin, Sat Oct 2 23:25:50 2004 UTC
# Line 56  function ud(x,c) Line 56  function ud(x,c)
56          if(x == 0)          if(x == 0)
57                  {                  {
58                  document.getElementById("bookmark").value="http://color.twysted.net/?color="+rg2html(c);                  document.getElementById("bookmark").value="http://color.twysted.net/?color="+rg2html(c);
59                    document.getElementById("light").style.backgroundColor="rgb("+inc(c.r)+","+inc(c.g)+","+inc(c.b)+")";
60                    document.getElementById("dark").style.backgroundColor="rgb("+dec(c.r)+","+dec(c.g)+","+dec(c.b)+")";
61          }          }
62  }  }
63  function rg2html(z)  function rg2html(z)

Legend:
Removed from v.1  
changed lines
  Added in v.2

  ViewVC Help
Powered by ViewVC 1.1.26