Displaying your polls
Displaying your site's polls requires that you add some HTML code to your page that will display the polls. After this initial setup, there is no need to change anything. Your site's current poll, if there is one, will display automatically on your site. If there is no current poll, then the results of your site's last poll will be shown instead. Please note that QuickPolls will not display properly on your local computer; to view QuickPolls integrated into a webpage, you must first upload the webpage to a bu.edu server.
To add polls to your site, simply insert the following HTML code on a single line wherever you want the poll to appear:
<script type="text/javascript" language="javascript" src= "http://www.bu.edu/phpbin/quickpolls/poll/poll.php?account_id=XX"> </script>
where XX is replaced by your QuickPolls account id, which is displayed in the upper-right of each CMS page, near the Logout link. When a page containing the above line of code is loaded, the code is effectively replaced by HTML code for displaying the poll.
Keep in mind that polls are displayed using an HTML table. The width of the table is set as 100%, so by wrapping the above line in another table (or in any HTML element with fixed width) you can set the display width of your polls.
|