PDA

View Full Version : [TUT] HTML Desktop On XP



Decode
01-12-2007, 09:12 PM
This tut will show you how to add multiple websites/import infomation to your desktop.

First you need to open notepad (start > run > notepad.exe)

Then type the following HTML code;



<HTML>
<HEAD></HEAD>
<BODY bgcolor="#66bbcc">
<DIV style="width: 70%; background: #ffffff; border: 2px solid #000000; float: left; padding: 5px">

</DIV>
<DIV style="width: 27%; float: right; background: #ffffff; border: 2px solid #000000; padding: 5px;">

</DIV>
</BODY>
</HTML>


Save The File As *What Ever You Want*.HTML and open it in your web browser, you should get something like this;

http://img84.imageshack.us/img84/9464/desktopimage1rs7.png

Now you can add things to it. Below are some codes. Add them between the 1st or 2nd div tags;

Habbo Login Code (Adds a login form to your desktop)


<form action="https://www.habbo.co.uk/account/submit" method="post"
class="login-habblet">
Habbo Username:<br>
<input tabindex="1" type="text" class="login-field" name="credentials.username"
id="login-username" value="" />
<br>
Habbo Password:<br>
<input tabindex="2" type="password" class="login-field"
name="credentials.password" id="login-password" />
<br>
<input tabindex="3" type="hidden" name="_login_remember_me"
id="login-remember-me" value="true"/>
<input type="submit" value="Sign in" class="submit" />
</form><br><br>


Iframe (Adds another website to your desktop, best to put this code insite the 1st div tag)


<IFRAME src="URL OF WEBSITE YOU WANT ON YOUR DESKTOP HERE" width="100%" height="400"></IFRAME><br><br>


Image (Adds an image to the page)

<IMG src="IMAGE URL HERE" /><br><br>

Habbo Tag Search

<form name="tag_search_form" action="http://habbo.co.uk/tag/search" class="search-box">
<input type="text" name="tag" id="search_query" value="" class="search-box-query"/><br>
<input type="submit" value="Habbo Tag Search" title="Habbo Tag Search" class="search" />
</form><br><br>


For the one below you will need php installed on your computer;

Amount Of Habbos Onine (Displays The Amount Of Habbos Online)

<?php
$page = file_get_contents("http://www.habbo.co.uk");
$start = explode('<span class="stats-fig">', $page, 2);
$end = explode('</span>', $start[1], 2);
$amount = trim($end[0]);
echo "<font size=2 face=arial>There are $amount Habbos online!</font>";
?>
<br><br>

You can allso add Google Video/YouTube Videos.

Once you have added some of those things your html file should look something like this.

http://img115.imageshack.us/img115/7512/desktopimage2iu4.png

Once your happy with it you can add it to your desktop.

Click start >
Run >
Type 'rundll32.exe' >
http://img84.imageshack.us/img84/3528/desktopimage3fg7.png
click on the desktop tab >
click browse >
http://img135.imageshack.us/img135/7609/desktopimage4sd0.png
locate the html file >
and click open >

Then click apply and your desktop should refresh to the one you made.

Hears An Example;


http://img135.imageshack.us/img135/6857/desktopimage5po1.png

Beau
01-12-2007, 09:19 PM
That's cool!

+rep

rh4u
01-12-2007, 09:20 PM
Lovley tut! + REP!

Chippiewill
01-12-2007, 09:21 PM
brilliant, ill see if it works on vista

:D

edit: it wont since on vista it only likes image backgrounds

if you know a hack for vista which lets you do it anyway then contact me :D

Jamesy
01-12-2007, 09:22 PM
or you could just double click FF/Safari/IE and do that...

Nice anyway :)

Beau
01-12-2007, 09:26 PM
Does the PHP part actually work, out of interest?

Invent
01-12-2007, 09:27 PM
Does the PHP part actually work, out of interest?

Yeah, lol.

Beau
01-12-2007, 09:28 PM
Yeah, lol.

Oh ok. I'm assuming the script would have to be saved in the htdocs folder (or wherever your localhost files are stored)?

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