Post edited 5:53 – May 18, 2009 by TopBlogPosts.net
I don't have a POLL active right now, but I am sure I have tracked down the symptoms.
When a user registers, they the results page is displayed but there vote doesn't show. If they refresh after a period or time then it will show their vote.
First, I thought that the vote would count in real time. I know the user expects them too. Sometimes the lag is only ten seconds or so, sometimes it is a lot longer.
Second, to compound the problem. The poll renders the HTML differently depending on whether it is showing the result page before your vote was counted or the result page after your result was counted. The preview shows your the former(results not counted), so you can't easily test what it looks like with the actual results page showing.
Finally, when it does display the results with you vote counted, it adds an <div> with an inline style statement and no id with that has padding around the code you set to display once the user has voted. Since it is inline and has not id, you can not easily compensate for its markups. Adding an id would be a start, but not putting in the <div> to begin with would be better.
To summarize the four problems :
1. No real time vote tracking in polls.
2. Poll renders differently depending on whether or not your vote was counted.
3. Preview only gives you a way to see the results page without your vote counted.
4. <div> with inline css and no id surrounds your results page code
Making votes count in real time is obviously the best answer since it removes 1,3,4 and makes the most sense.