survey/poll-simple/

APSMX-302
Ajax Poll Script v3.02
poll-simple
Preview
  px 
Note: If you don’t specify the poll’s width, it will expand to fit the outer container.
Installation

Step 1 Put the following two lines in the <head> section of your web page. If you are not allowed to edit the <head> section, put it on the <body> section instead. You only need to put them once per a web page even if you plan to put more than one polls on the same page.

<head>
...
...
<script type=”text/javascript” src=”/survey/jquery.js”></script>
<script type=”text/javascript” src=”/survey/ajax-poll.php”></script>
...
...
</head>

Step 2 Put the following line in your web page where you want the poll to appear.

The poll will appear inside the <div> tag.

<body>
...
...
<div class=’ajax-poll’ tclass=’poll-simple’ style=’width:420px;’></div>
...
...
</body>

Note The following HTML code is a minimalist example of a web page that displays the poll.

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="/survey/jquery.js"></script>
<script type="text/javascript" src="/survey/ajax-poll.php"></script>
</head>
<body>
<div class='ajax-poll' tclass='poll-simple' style='width:420px;'></div>
</body>
</html>