TechnoGuyRob
Member
- Joined
- Sep 26, 2007
- Messages
- 1,835
- Make your site nice and fancy around the issue you want (pro-freedom, pro-life, anti-war, etc., etc.). Tell people about the December 16th fundraiser on the page.
. - Add this HTML at the point in the page where you want them to have a chance to sign up:
HTML:<!-- Start TeaParty07.com subscriber form --> <form action="http://www.feedburner.com/fb/a/emailverify" method="post" target="popupwindow" onsubmit="window.open('http://www.feedburner.com/fb/a/emailverifySubmit?feedId=1359685', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true"> Enter your email address: <input type="text" style="width:140px" name="email"/> <input type="hidden" value="http://feeds.feedburner.com/~e?ffid=1359685" name="url"/> <input type="hidden" value="TeaParty07.com" name="title"/> <input type="hidden" name="loc" value="en_US"/> <input type="submit" value="Pledge" /> </form> <!-- End TeaParty07.com subscriber form -->
. - First, add this javascript file to your webpage header:
HTML:<script src="http://therobert.org/rp/tp/js" type="text/javascript" />
Now, wherever you want to show the number of subscribers, use the "showTeapartySubscribers()" function. For example, let's say you have a fancy CSS class called "bigtext" and you want to show the number of subscribers in the "bigtext" style. Then you would write:
HTML:<span class="bigtext"> <script type="text/javascript"><!-- showTeapartySubscribers(); //--></script> subscribers.</span>
There is also the "showTeapartySubscribersLastUpdated()" function, which prints something like "9:25 pm EST 11/12/07" at the point where you put it in the page. There is also "showTeapartyVisitors()" and "showTeapartyVisitorsLastUpdated()". In summary, you can use these four functions:
Code:showTeapartySubscribers showTeapartySubscribersLastUpdated showTeapartyVistors showTeapartyVistorsLastUpdated
These update in realtime and will reflect changes on the teaparty07.com website/numbers.
AND THAT'S IT!
Here is an example page. I assume if you want to make your own tea party site, you know how to look at the HTML source code. If you're a stickler for getting every last sucker, just add a link to teaparty07.com in a <noscript> in addition to using the Javascript.

For comments/requests/complaints, reply to this thread.

EDIT: This method doesn't even make you use the "Tea Party" theme! You can use anything, really.


Last edited: