PDA

View Full Version : [Release] Habbo Badges on your fansite



Moh
05-11-2010, 12:11 PM
I know how much of a pain it is to keep Badge Guides up-to-date so I created a simple page that allows you to display the badges on HabbCrazy on your fansite :)

If you have basic HTML and Javascript skills, you should easily be able to skin it to match your page.

Demo: http://www.habbcrazy.net/jack/habboBadges.html

Code:

<script type="text/javascript" src="http://habbcrazy.net/resources/badges_js.php"></script>
<h1>Badges</h1>
<script type="text/javascript">
for( i=0;i<hc_badges.length;i++) {
document.write( '<img src="http://images.habbo.com/c_images/album1584/' + hc_badges[i][0] + '.gif" title="' + hc_badges[i][1] + '" /> ' );
}
</script>

<h1>Achievements</h1>
<script type="text/javascript">
for( i=0;i<hc_achievements.length;i++) {
document.write( '<img src="http://images.habbo.com/c_images/album1584/' + hc_achievements[i][0] + '.gif" title="' + hc_achievements[i][1] + '" /> ' );
}
</script>
<br />
<a href="http://habbcrazy.net" target="_blank">Badges provided by HabbCrazy.Net</a>

Enjoy :)

lTraditional
05-11-2010, 05:20 PM
Looks fantastic, thanks for releasing this and I will sure to use it if I decide to create a fansite in the future!

HotelUser
05-11-2010, 07:15 PM
Excellent use of an external javascript file. Great :)

weebee3.2
12-12-2010, 02:46 AM
Thanks! I'm so lucky i found this, I'm attempting to create a fansite right now and desperately needed badges so THANKS!!!
www.habbomeeting.weebly.com (http://www.habbomeeting.weebly.com)
www.habbomeetingforums.webs.com (http://www.habbomeetingforums.webs.com)

Thanks a lot!!

abdellah123
15-12-2010, 04:09 PM
Know how much this would lagg the website?

Want to hide these adverts? Register an account for free!