Skip to content

A javascript widget that allows someone to find a list of their representatives by entering their zipcode.

Notifications You must be signed in to change notification settings

votesmart/Search-Widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Search-Widget

A javascript widget that allows someone to find a list of their representatives by entering their zipcode.

Documentation

USING THE WIDGET

Place the code on to your server where it is publicly accessable.

Edit init.search1.js to reflect the proper settings.

Place the following code into your HTML.

<!-- BEGIN VOTESMART WIDGET -->
<script type="text/javascript" src="http://votesmart.org/js/widgets/search/js/jquery-1.2.js"></script>
<script type="text/javascript" src="http://votesmart.org/js/widgets/search/js/init.search1.js"></script>
<div id="pvs_search"><a href="http://votesmart.org">Project Vote Smart</a> - Search Candidates, Elections and Officials<br /><br />Javascript must be enabled.</div>
<!-- END VOTESMART WIDGET -->

NOTICE - You may have to alter the script tags to point to the proper location of the widget scripts.

Any questions can be directed to webmaster@votesmart.org

LICENSE

Copyright© 2007 Project Vote Smart

Widget code released under the BSD License

About

A javascript widget that allows someone to find a list of their representatives by entering their zipcode.

Resources

Stars

Watchers

Forks

Packages

No packages published