| Parameter |
sample value |
Description |
| Question |
Do you like QuickPoll? |
Enter the Question of your poll |
| Answers |
Yes,No,Maybe |
Enter the choices for you poll. To add choices, click on the "+" button. |
| phpPath |
http://www.domain.com/quickPoll.php |
This is the path to the PHP file that you loaded to your web server in Step 1. If you want to test Quickpoll from your local machine, make sure you enter the full URL to the location of the PHP file. |
| uniquePollName |
quickPoll_v1 |
This can be set to any name. It CANNOT contain spaces. You can leave as is OR if you are showing more than one poll, be sure to give this parameter a unique name for each poll for the following reason. This name is used to set a Flash cookie and is used by PHP to create a text file to store poll data. For example, if you set the name as "poll_1" a file named "poll_1.txt" will automatically be created in the same directory as the PHP file. To clear your poll data, simply delete this file from your server. The next time a vote is submitted, the file will be recreated and the poll will be reset to "0". |
| onlyOneVote |
true |
If set to "true", a user is only allowed to vote once. The next time they visit the poll, they will be shown the results of the poll and not allowed to vote again. Setting this parameter to "false" is useful when testing your poll. Remember to set this back to "true" when loading to your web site, if this is the desired behavior. |
| percentDecimalPlaces |
1 |
Sets decimal places shown for the percentage values. For example, if set to "0" the percent would look like 20% or if set to "1" the percent would look like: 20.4% |
| showVoteCount |
true |
If set to "true" the number of votes will be displayed after the percentage values when the results are shown |
| submitButtonName |
Vote Now! |
Sets the text displayed in the submit button |
| defaultAnswer |
true |
Determines if the first answer should initially be selected. If set to false, no answer will be selected. Default is true |
| answerSpacing |
4 |
Sets the space between answers. Default is 2 |
| submitOffsetX |
2 |
sets the X position of the submit button . Default is 0 |
| submitOffsetY |
2 |
sets the Y position of the submit button. Default is 0 |
| baseColor |
#000000 |
Sets the base color for the visual elements. To set text color, see below. |
| rollOverColor |
#FF0000 |
Sets the color that displays when radial and submit buttons are rolled over |
| answerColor |
#333333 |
Text color for the answer choices |
| questionColor |
#333333 |
Text color for the question |
| resultColor |
#333333 |
Text color for the results percentage nuumber |
| resultNumColor |
#333333 |
Text color for the results of the total votes |
| buttonColor |
#333333 |
Text color for the text on the submit button |
| selectionColor |
#333333 |
Color of the circle or "check mark" which displays when a choice is clicked on. |
| answerBold |
#333333 |
Indicates if the answer text should display as bold |
| questionBold |
#333333 |
Indicates if the question text should display as bold |
| resultBold |
#333333 |
Indicates if the resiults total text should display as bold |
| resultNumBold |
#333333 |
Indicates if the results percentage text should display as bold |
| buttonBold |
#333333 |
Indicates if the submit button text should display as bold |
| answerFontFamily |
Arial |
Sets the font face to display for the answer text |
| questionFontFamily |
Arial |
Sets the font face to display for the question text |
| resultFontFamily |
Arial |
Sets the font face to display for the result total text |
| resultNumFontFamily |
Arial |
Sets the font face to display for the result percentage text |
| buttonFontFamily |
Arial |
Sets the font face to display for the submit button text |
| answerFontSize |
12 |
Sets the font size for the answer text |
| questionFontSize |
12 |
Sets the font size for the question text |
| resultFontSize |
11 |
Sets the font size for the result total text |
| resultNumFontSize |
11 |
Sets the font size for the result percentage text |
| buttonFontSize |
12 |
Sets the font size for the submit button text |
| VoteCountText |
votes |
This is the text displayed after the "total votes" number on the results screen. For example, (20 votes). If you left this parameter blank, it would be displayed as (20) |
| |
|
|