var graphMaxWidth = 120; // It will actually be a little wider than this because of the rounded image at the left and right
var graphMinWidth = 15; // Minimum size of graph
var pollScrollSpeed = 5; // Lower = faster
var useCookiesToRememberCastedVotes = true;

serverSideFile = Path to the PHP file that is called by ajax.

voteLeftImage, voteRightImage and voteCenterImage = Path to the graph images

graphMaxWidth = Max width of graph

graphMinWidth = Min width of graph

pollScrollSpeed = Speed of animation. Lower value = faster animation

useCookiesToRememberCastedVotes = If set to true, use cookie to prevent user from casting more than one vote

I am having the same issue as the user above. I tried both your tips. Changing

Colleenat 05:50PM, 2011/05/18.

Sorry for the above. What I was saying is that neither tip works. Changing the ? tags ?php (actual tag symbol omitted) tags in the html file still returns all that code in the right hand box. Changing the file to .php returns nothing in the right hand box but the vote button.

if there are two html form in the page, poll doesnt work. help me pls.

Hakanat 05:39PM, 2011/07/30.

Thanksbut i have a problem, it doesn't work with other <form> in page...

alihucat 03:10PM, 2011/09/08.

It worked! 1) Change the database user and pass from dbConnect.php and createDbTables.php2) Change the name of the file ajax-poller.html to ajax-poller.php3) Change all PHP short tags <? to <?php.4)change the line $pollerId = 3;// Id of pollerTO$pollerId = 1;// Id of poller : sample db hasnt a poll ided by 3 :) Hope this will help! I would appreciate if someone could help me to restrict the voting to one time only (let's say once in a day)Thankyou

Karmaat 07:06AM, 2011/11/19.

To restrict voting one time only ajax-poller.js line 38useCookiesToRememberCastedVotes = true;Very Nice. Thank you Admin

Karmaat 07:18AM, 2011/11/19.

Thx kARMA!!!

Ouattaraat 07:11AM, 2012/02/02.

Hello, My problem is with checking the cookie for each of the poll already voted [m looping through the table and print out all the polls in a single page..] , the cookie is checked only for the last poll and not for those before.. for eg: if i voted for the polls with id 1,2,3 .. the cookie is checked for has it been voted for id 3 and not 1 or 2.. plz help

kishorat 06:24AM, 2012/03/02.

If i checked radio button then not give result.only displayGetting poll results. Please wait...

Abhinandan Srivastavaat 08:00AM, 2013/03/06.

Hi everyone,I need to display the label and the graph in the same lineHow to doThanks