Web Poll™ is the easiest way to create dynamic online
web polls
After buying the poll please follow the steps below to have the demo poll installed on your web site.
1) as you can see there are 4 files in the zip file
- default.xml - this is the demo configuration file. Poll question, answers and colors are saved in this file. You can edit it using a plain text editor such as notepad.
- pollxml.swf - this is the actual flash engine
- php file - this is a PHP script used by the flash engine to update the configuration file.
- example.html - this is a demo web page with simple HTML code to show the poll
2) upload the first 4 of the above files in a folder on your web server
3) depending on your server configuration you may need to change the permissions to your configuration file (default.xml) to 777 so it is writable by the php script.
4) all you have to do now is to open the demo web page at at http://www.yoursite.com/folder/example.html (where yoursite.com is the domain name and 'folder' is the folder where you uploaded the files.
Changing the Demo poll and creating your own one
To change Poll question, answers and colors you should edit default.xml file or create new XML file. Bellow you can see the contents of the demo XML file (default.xml). All colors use HTML color codes. If you are used to use #FFFFFF code all you have to do is change it to 0xFFFFFF (FFFFFF is the HTML color code for white).
<poll id="0011" backTitle="0x9C181A" colorTitle="0xFFFFFF" colorBackground="0x797806" colorAnswers="0xFFFFFF" btnColor="0x9C181A" btnTitle="0xFFFFFF" totalColor="0xDDDDDD" colorBar="0x9C181A" days="0" results="amount_percent" onvote="total">
<question>Is web poll the product that you've been looking for?</question>
<answers>
<answer id="0" votes="501">YES it's perfect</answer>
<answer id="1" votes="231">ALMOST what I am looking for</answer>
<answer id="2" votes="101">Hmm, not quite sure yet</answer>
<answer id="3" votes="54">NO, it is not for me</answer>
</answers>
<message>Thank you</message>
<voteMsg>Vote me</voteMsg>
<totalMsg>Total:</totalMsg>
</poll> |
|