BITTER SURVEY HELP

To create or modify a survey go to The Survey Admin Page


SURVEY CSS

To access your survey info from a web page, first include a ref to the survey stylesheet, you can use the bitter pill survey.css or create your own.

<link rel="stylesheet" type="text/css" href="http://survey.bitterpill.org/survey.css">


SURVEY FORM

You can reference the survey form using the following javascript src reference. Be sure to replace the text survey=998409217-28632 with your correct survey id. If you wish to have the result page go somewhere other than a simple survey result page, you can also add a redirect option that will redirect you to your own results page: &redir=http://www.somewhereelse.org/results

NOTE: special chars need to be converted to be used as a query param, so to convert your redir url param, click here

<script
src="http://survey.bitterpill.org/cgi-bin/survey_javascript.cgi?survey=998409217-28632&action=form"
type="text/JavaScript"></script>


SURVEY RESULTS

You can reference the survey results by usng this javascript. Be sure to replace the text survey=998409217-28632 with your correct survey id.

<script
src="http://survey.bitterpill.org/cgi-bin/survey_javascript.cgi?survey=998409217-28632"
type="text/JavaScript"></script>

NOTE: you can use your own survey images if you wish by passing the param images into the src above: &images=/somimagedir/on/your/server/maybe/survey

The image for each survey answer is actually three images. The first being a 1 pixel start image, and the third being a one pixel end image. The middle image is stretched by width to fit the desired image size. The size for all three images should be width="1" height="13".

list of images that need to be in your image dir:

black1.gif
black2.gif
black3.gif
blue1.gif
blue2.gif
blue3.gif
green1.gif
green2.gif
green3.gif
orange1.gif
orange2.gif
orange3.gif
purple1.gif
purple2.gif
purple3.gif
red1.gif
red2.gif
red3.gif
yellow1.gif
yellow2.gif
yellow3.gif


See http://www.bitterpill.org/ for a fine example of a survey in action.