Bloggers,
Here's the code to add a
BrewPoll "vote now" button to your blog story. The icon shows the BrewPoll vote count, or takes the user to the main page to submit it if the story has not yet been submitted.
To see a sample of the button in action - view the bottom of this post!
http://www.beersmith.com/blog/2008/03/20/new-brewpoll-home-brewing-and-craft-beer-news-site/ I recommend adding this to the end of your story as scripts can slow your web site loading time. Both of these create a floating button on the right side of the text. If you don't want the floating button, you can eliminate the paragraph tags at the beginning and end of each line.
To add it to a single page (like the story page): <p style="float: right; margin-left: 10px"> <script src="http://www.brewpoll.com/evb/button.php" type="text/javascript"></script></p>
To add it to a page that might have many buttons (like the front page): --
NOTE: YOU NEED TO REPLACE '
http://www.targeturl.com' with the actual URL for your story for this to work!!
<p style="float: right; margin-left: 10px"><script type="text/javascript">submit_url = 'http://www.targeturl.com';</script>
<script type="text/javascript" src="http://www.brewpoll.com/evb/button.php"></script></p>
Finally, you can find a "BrewPoll This!" link you can drag into your browser toolbar so you can quickly add any page to Brewpoll on our guidelines/about page:
http://brewpoll.com/faq-en.php -- Look for the "Users - Drag our BrewPoll this link..." which appears right after the list of submission guidelines.
Thanks for supporting BrewPoll!
Brad