Embed a Counter in Your Own Website



If you would like to be notified via email as we develop and introduce new embeddable tools, click here.

Embed on your website (MySpace users and any other website):

If you paste this code into your HTML, the counter will simply appear inline on your web page as the sample to the right.

<object type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" height="50" width="145" align="middle" data="http://www.nationalpriorities.org/costofwar/flash/counter_white_bg.swf"> 
  <param name="allowScriptAccess" value="never" > 
  <param name="allowNetworking" value="internal" > 
  <param name="movie" value="http://www.nationalpriorities.org/costofwar/flash/counter_white_bg.swf" > 
  <param name="quality" value="high" >  <param name="bgcolor" value="#ffffff" >
</object >
<br />
<br/>
<br />
<a href="http://www.nationalpriorities.org/costofwar">click here</a> to learn more
<br />

For Facebook users: All the code that is needed is the URL to the flash file which is:

http://www.nationalpriorities.org/costofwar/flash/counter_white_bg.swf?
Also a good size would be 145px x 50px

Enter this URL into the Flash Movie area.

Need more help watch the video for how to on Facebook


Another very helpful link for Facebook Flash help


If you would like to be notified via email as we develop and introduce new embeddable tools, click here.

Counter

Fri, 05/30/2008 - 14:43
James (not verified)

You might consider alongside you "cost of war" content to add the total number of dead....us and others with similiar update.

Thanks,

James

Facebook

Thu, 05/15/2008 - 22:58
Anonymous (not verified)

Hello,

I keep getting an eror message on facebook trying to install:

Error while loading page from Flash Play
There are still a few kinks Facebook and the makers of Flash Play are trying to iron out. We appreciate your patience as we try to fix these issues. Your problem has been logged - if it persists, please come back in a few days. Thanks!

embedment

Mon, 03/31/2008 - 03:31
smurfie (not verified)

I would like to, also, embed, the cost for my State of Minnesota???

Is that possible????

Thanks. .

Smurfie

Wordpress

Mon, 03/31/2008 - 02:26
Lisbeth (not verified)

Del wrote on 03/19 that it works in Wordpress. I can't seem to make it work - neither with the URL or the HTML.
What should I do?

Flash In Facebook

Fri, 03/21/2008 - 14:38
PGA (not verified)

I keep getting this error when I follow your instructions to install the swf in facebook:

Error while loading page from Flash Play

There are still a few kinks Facebook and the makers of Flash Play are trying to iron out. We appreciate your patience as we try to fix these issues. Your problem has been logged - if it persists, please come back in a few days. Thanks!

Works in Wordpress

Wed, 03/19/2008 - 16:33
Anonymous (not verified)

Thanks for the nice tool - It was a simple copy and paste of the code - see example here http://alternate-power.org/
Regards, Del

Works on my page. I have two

Mon, 03/10/2008 - 19:22
Anonymous (not verified)

Works on my page. I have two webpages. One is P.C. and the other isn't. guess where I put the counter.

worked fine

Sun, 03/09/2008 - 01:56
jon jost (not verified)

Hi
Just pasted into home page of my website, www.jon-jost.com and it worked fine. Thank you.
Jon Jost
clarandjon@msn.com
www.jon-jost.com
www.jonjost.wordpress.com

Tried to put the counter in

Sat, 02/23/2008 - 13:41
Anonymous (not verified)

Tried to put the counter in a blog. no luck. Tried both whats in the box and the link below it. The link shows but no counter.

It works in my blogger

Fri, 03/28/2008 - 18:35
Anonymous (not verified)

It works in my blogger account. I had to go to layouts then page elements, then click on html and add to page elements. Then cut and paste the code there. It should work.

Counter

Sun, 02/17/2008 - 20:48
Anonymous (not verified)

I have the counter working fine on my MySpace page, but I think it would look better with a 1-pixel-wide black border around it. Is there some easy way to alter the code to do that? I tried just adding "border=1" in the obvious place but that didn't work.

We tried to keep it nuetral so it would work with

Wed, 03/19/2008 - 15:35
nppadmin

numerous pages.
BUT...
If you have access to style sheets in MySpace just add a class to it.
For example

<span class=counter>
counter code here
</span>

Then in your style sheet or in the pages code
.counter {
border: 1px solid black;
}

border around comment

Wed, 03/19/2008 - 22:19
Anonymous (not verified)

No, I tried that method for adding a counter, and it didn't work. At least, not on my page. Maybe it works on someone else's. My page is at

http://www.myspace.com/nonclassical

counter

Sun, 02/10/2008 - 23:23
Anonymous (not verified)

I have tried to embed the counter on my blog with no luck - am using the url http://www.nationalpriorities.org/costofwar/flash/counter_white_bg.swf
What am I doing wrong?
Thanks

Need more info

Tue, 02/12/2008 - 16:18
nppadmin

feel free to email webmaster@nationalpriorities.org
Thanks

change to portuguese

Fri, 02/08/2008 - 03:59
jpcurto (not verified)

Hi

Congratulations for your nice job.

It`s possible to change "Cost of the war in Iraq" in the counter to portuguese?

We're in the process of

Fri, 02/08/2008 - 16:26
pschwartz

We're in the process of working on translating our website into Spanish. Right now we don't have the resources to do more than that.

counter embedded in email

Thu, 01/24/2008 - 14:04
Anonymous (not verified)

I would like to know how to embed counter in my emails.

It is on our list of development

Fri, 01/25/2008 - 12:11
nppadmin

Please join the applets email list so you can get notified when it is ready.
Thanks

livejournal

Mon, 01/21/2008 - 22:34
emo806 (not verified)

I copied and pasted the html code into my livejournal user profile but nothing showed up.

Please let me know if you need more help

Fri, 01/25/2008 - 12:13
nppadmin

We really want it to work with numerous sites.
If it is still not working please send an email to webmaster@nationalpriorities.org and I can test it with you.
Thanks

Wordpress

Thu, 01/10/2008 - 16:03
Nun (not verified)

Do you support Wordpress blogs? What about other Counters like: U.S. Aid to Israel? Others?

Wordpress.com (not .org)

Tue, 02/19/2008 - 12:18
Scott E. Lee (not verified)

Wordpress.com (not .org) currently does not allow <embed> codes to be placed from any sites other than from Google Video, Youtube, DailyMotion, Grouper, Odeo, and SplashCast.

FAQ entry on flash embedding for wordpress.com.

And there ya go.
- Scott E. Lee

We have iframe code...

Tue, 04/01/2008 - 19:22
nppadmin

Can you use that.
All our pages are now iframe ready via the embed button.
So if you just want the counter you could do.

<iframe style="border:0px" src=http://www.nationalpriorities.org/costofwar/iframe.html
width=300px; height=100px >
</iframe>

You can change the w/h as needed

We can look into this

Tue, 01/15/2008 - 17:31
nppadmin

What features would you be looking for?
The other counter idea is a good one and we are working on more applets like this that people can put on their site.
I will note you suggestion/question.
Also make sure to subscribe to the above Email list (Embedded Tools on top of this page center)
So you be notified when we add new applets.

I have a Facebook Account,

Thu, 01/10/2008 - 06:08
Anonymous (not verified)

I have a Facebook Account, and have added the Cost of War counter. Problem is: I cannot see what numbers to put into the heighth & width to achieve a correct aspect ratio. I used 425 for width and 373 for heighth, but the click to play message is next to impossible to read. Please advise. Thank you. Peggy DeSpain

For the small counter

Tue, 01/15/2008 - 17:26
nppadmin

try 145px x 50px
I will note that above as well.
Thanks for the feedback

embedding into email

Tue, 01/01/2008 - 05:17
Visitor

How can I embed this counter into the signature in my email messages so it will automatically show up under my signature in all my emails?
Baron Smith
baronsmith2@gmail.com

I want to embed a counter in

Tue, 01/22/2008 - 02:44
Anonymous (not verified)

I want to embed a counter in my email signature.

Only if flash works

Tue, 01/01/2008 - 10:29
nppadmin

You could try the flash code as your signature.
It is on our list though of features to look into to.
If you want to be notified sign up for the above mailing list "embeddable applets" so you can get an email when we release new tools.
Thanks