Get congratulations content from JavaBlackBelt on YOUR site/blog

Getting JavaBlackBelt congratulations content on your site cannot be easier:

You just have to write a litle piece of JavaScript code anywhere in the body of your html page.

For example, to get congratulations of the day for all countries write this code:

				
<script src="http://www.javablackbelt.com/js/jbb/CongratBox.js" type="text/javascript">
</script>
<script type="text/javascript">
	jbb_cong_days = "1";
	jbb_congrat();
</script>

And you'll get this:

Or, to get congratulations of the last five days for any country (in this case United States) write this code:

				
<script src="http://www.javablackbelt.com/js/jbb/CongratBox.js" type="text/javascript">
</script>
<script type="text/javascript">
	jbb_cong_days = "5";
	jbb_cong_country = "US";
	jbb_congrat();
</script>

You can provide any ISO country code to display congratulations for users from your country.
You may look to the ISO site to find the code of a specific country.

And you'll get this:

Also, you might get congratulations of the last X days for a given exam with this code:

				
<script src="http://www.javablackbelt.com/js/jbb/CongratBox.js" type="text/javascript">
</script>
<script type="text/javascript">
	jbb_cong_days = "1";
	jbb_cong_exam = "00119";
	jbb_congrat();
</script>

You can provide any ISO country code to display congratulations for users from your country.
You may look to the ISO site to find the code of a specific country.

And you'll get this:

I18n is also supported for French.
Vous pouvez afficher la box en bon Français! (feature ... hum fonctionnalité, spéciale pour nos amis du ParisJUG).

				
<script src="http://www.javablackbelt.com/js/jbb/CongratBox.js" type="text/javascript">
</script>
<script type="text/javascript">
	jbb_cong_days = "1";
	jbb_cong_lang = "fr";
	jbb_congrat();
</script>