PDA

View Full Version : Habbo background changer?



Helpie
19-02-2007, 03:52 PM
Any know where to get habbo background changer?

Edited by Lµke (Forum Moderator): Thread Moved From Website Designing. Please post in the correct section next time, Thanks :).

beer
19-02-2007, 04:20 PM
youve seen Habbo FM's latest layout. Try www.dynamicdrive.com there may be a script on there that will let u do it. Have a look round.

Decode
19-02-2007, 04:21 PM
you can change the background with javascript, http://www.google.com/search?q=javascript+background+changer&rls=com.microsoft:en-gb:IE-SearchBox&ie=UTF-8&oe=UTF-8&sourceid=ie7&rlz=1I7GGLJ

Rockstar
19-02-2007, 04:58 PM
Clubhabbo acually

Voldemort
19-02-2007, 06:19 PM
They probably wouldn't like it, but you can just copy and paste from their source... it's just in two chunks.

This is their <body> tag and the part directly after it:

<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<script language="javascript" type="text/javascript">
<!--
function changeBGImage(image){
document.body.background=image;
}
//-->
</script>
<script>

var backgr1="http://www.habbofm.co.uk/images/layout/purple_bg.PNG"
var backgr2="http://www.habbofm.co.uk/images/layout/orange_bg.PNG"
var backgr3="http://www.habbofm.co.uk/images/layout/green_bg.PNG"
var backgr3="http://www.habbofm.co.uk/images/layout/red_bg.PNG"
var backgr3="http://www.habbofm.co.uk/images/layout/blue_bg.gif"

var cur=Math.round(6*Math.random())
if (cur<=1)
backgr=backgr1
else if (cur<=4)
backgr=backgr2
else
backgr=backgr3
document.write('<body background="'+backgr+'" bgcolor="#FFFFFF">')
</script>

This is the part with the images that change the background"

<img border="0" src="http://www.habbofm.co.uk/images/layout/purple_bg.PNG" width="12" height="12" onclick="changeBGImage('http://www.habbofm.co.uk/images/layout/purple_bg.PNG')"></a>
<img border="0" src="http://www.habbofm.co.uk/images/layout/red_bg.PNG" width="12" height="12" onclick="changeBGImage('http://www.habbofm.co.uk/images/layout/red_bg.PNG')"></a>
<img border="0" src="http://www.habbofm.co.uk/images/layout/blue_bg.gif" width="12" height="12" onclick="changeBGImage('http://www.habbofm.co.uk/images/layout/blue_bg.gif')"></a>
<img border="0" src="http://www.habbofm.co.uk/images/layout/orange_bg.PNG" width="12" height="12" onclick="changeBGImage('http://www.habbofm.co.uk/images/layout/orange_bg.PNG')"></a>
<img border="0" src="http://www.habbofm.co.uk/images/layout/green_bg.PNG" width="12" height="12" onclick="changeBGImage('http://www.habbofm.co.uk/images/layout/green_bg.PNG')"></a>

Helpie
19-02-2007, 09:30 PM
help the code does not work :P

PinkFM
20-02-2007, 12:29 AM
I think you will find it does work.
www.habbofire.com (http://www.habbofire.com)
Works fine.

:Edzy
20-02-2007, 03:53 PM
How would one go about a skin changer thingy

Helpie
20-02-2007, 09:47 PM
do i put the code together?

Sunny.
20-02-2007, 09:54 PM
code works :D

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