Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: CGI Colour Palette (Javascript Solution)

by BigLug (Chaplain)
on Aug 09, 2002 at 01:42 UTC ( [id://188801]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    function choosecolor(form, name, title) {
            colorWindow=window.open("about:blank","colorWindow","width=400
    +,height=120,resizable=yes")
    ...
            }
            colorWindow.document.write("    </tr>");
            colorWindow.document.write("</table></font><form><input type=b
    +utton value=' Cancel ' onclick='self.close()'></form></center>");
    
  2. or download this
    <form name=colorpicker>
    Enter a color:<input name=color type=text><input type=button value="Pi
    +ck" onclick="choosecolor('colorpicker', 'color', 'Pick a color for no
    + reason at all')">
    </form>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://188801]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-05-30 19:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.