#!/usr/bin/perl -- # kuller.pl - web-safe color selector; # put your own address in 'eaddr', drop kuller.pl into your cgi-bin, # and give the url to your user; # advise her to enter her own email address in 'From:', # put in a description of the page or section the colors are to be used for, # and pick out the color settings she wants; click 'Send'; # N.B.: there are 3 colors in a full set: frame, background, and foreground; # fore-/background colors will always be sent, but it's not necessary to pick # a frame color if the page doesn't call for one; # the default font is Times-24pt; there is no such thing as a web-safe font list, # although some fonts are safer than others; the list below is just a bunch of # popular fonts, with the ones most common at the top (weight of '2'); # # to do: kuller.html/kuller.js, so that the selector can be easily dropped into # a page other than the one hard-coded here. # # # this is the address where you want the selection sent; the user can put her own address # in the From: field in the form. # #$eaddr = "slick@hotwheels.com"; (e.g.) $eaddr = ""; # if you want to write your own html page to replace kuller's, take a look at the khtml # array below to see how kuller builds its text; # then put your url here (you can name it whatever you like); # be sure to include the tags: #