Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
[RELEASE] Habbo badge script?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Zephyrus" data-source="post: 294735" data-attributes="member: 7495"><p>I don't know whether you'll find this useful, but I found it on Habbokingdom's website, I tryed to use it but it would not display anything, so I don't know why it isnt work because its powered by divs, idk... lmfao, you guys take a look, see what you can make out of it...if you can make it work please reply and comment how you made this work. Thanks.</p><p></p><p></p><p>MODS: Don't delete this, I released this here because someone may want to use this and I don't know whether it functions or its just me.</p><p></p><p>SCRIPT: ( FOUND HERE. <a href="http://habbokingdom.co.uk/v2/js/badges.js" target="_blank">http://habbokingdom.co.uk/v2/js/badges.js</a>)</p><p></p><p>[CODE]$(document).ready(function() {</p><p> $.getJSON(window.base + "php/badge.php", function(data) {</p><p> var items = [];</p><p> </p><p> $.each( data, function( key, val ) {</p><p> items.push('<div class="badge"><div class="container"><span class="hint--bottom" data-hint="' + val.description + '"><img src="http://habboo-a.akamaihd.net/c_images/album1584/' + val.id + '.gif"></span></div></div>');</p><p> });</p><p> </p><p> $('#badges').html(items.join(''));</p><p> });</p><p>});[/CODE]</p><p></p><p>THE php/badge.php THAT IS RECOGNIZED IN THE CODE " $.getJSON(window.base + "php/badge.php", function(data) {" :</p><p></p><p><a href="http://habbokingdom.co.uk/v2/php/badge.php" target="_blank">http://habbokingdom.co.uk/v2/php/badge.php</a></p><p></p><p>The divs I saw them using in the source code:</p><p></p><p>[HTML]</p><p><div class="head"></div></p><p><div class="body"></p><p><div id="badges"></p><p><div class="badge"></div></p><p><div class="badge"></div></p><p><div class="badge"></div></p><p><div class="badge"></div></p><p><div class="badge"></div></p><p><div class="badge"></div></p><p></div></p><p></div></p><p><div class="foot"></div></div></p><p></div></p><p>[/HTML]</p><p></p><p>If you can work this, please reply how you made it work. Thanks! Hope this is useful to you !! ;D P.S: ITS MEANT TO DISPLAY A ROW OF 7 HABBO BADGE IMAGES ON YOUR WEBSITE!!</p></blockquote><p></p>
[QUOTE="Zephyrus, post: 294735, member: 7495"] I don't know whether you'll find this useful, but I found it on Habbokingdom's website, I tryed to use it but it would not display anything, so I don't know why it isnt work because its powered by divs, idk... lmfao, you guys take a look, see what you can make out of it...if you can make it work please reply and comment how you made this work. Thanks. MODS: Don't delete this, I released this here because someone may want to use this and I don't know whether it functions or its just me. SCRIPT: ( FOUND HERE. [url]http://habbokingdom.co.uk/v2/js/badges.js[/url]) [CODE]$(document).ready(function() { $.getJSON(window.base + "php/badge.php", function(data) { var items = []; $.each( data, function( key, val ) { items.push('<div class="badge"><div class="container"><span class="hint--bottom" data-hint="' + val.description + '"><img src="http://habboo-a.akamaihd.net/c_images/album1584/' + val.id + '.gif"></span></div></div>'); }); $('#badges').html(items.join('')); }); });[/CODE] THE php/badge.php THAT IS RECOGNIZED IN THE CODE " $.getJSON(window.base + "php/badge.php", function(data) {" : [url]http://habbokingdom.co.uk/v2/php/badge.php[/url] The divs I saw them using in the source code: [HTML] <div class="head"></div> <div class="body"> <div id="badges"> <div class="badge"></div> <div class="badge"></div> <div class="badge"></div> <div class="badge"></div> <div class="badge"></div> <div class="badge"></div> </div> </div> <div class="foot"></div></div> </div> [/HTML] If you can work this, please reply how you made it work. Thanks! Hope this is useful to you !! ;D P.S: ITS MEANT TO DISPLAY A ROW OF 7 HABBO BADGE IMAGES ON YOUR WEBSITE!! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
[RELEASE] Habbo badge script?
Top