PDA

View Full Version : No Idea if this is programming or not ... has to do with pointers


killercow
06-26-2003, 05:25 PM
My sister would like to know:
Is there a way to make THIS (http://www.personal-computer-tutor.com/clock.htm) java script, i believe it is java, next to your mouse just in a regular desktop. So that whenever it's on it's there? I tried looking around in the pointers under display in the control panel and can't find anything. Also there is a regular clock at the page that can be put in the corner... she would like to put that in the upper right hand corner of the desktop. Any Ideas. I know my mom and dad will get annoyed of it on their computer. It will help out anyways.
Thanks

slim
06-27-2003, 10:00 AM
Hi,

Yes it is java.

I extracted the code from that page you need to run the clock and created a html document for it.

1. Extract the attached file
2. Right click on the desktop and select "Properties"
3. Click on the tab "Web" and click "New"
4. Browse to the file you have just extracted and click "OK"
5. You may need to set the Desktop Background to "None"
6. If you hover over the new area on the desktop and maximise the window that should now work.
7. The background color can be changed using any HTML editor.

Hope this helps

Slim

killercow
06-27-2003, 10:54 AM
Ok, her and my computer are running WinXP Home and there is no web tab. I there another way? Thanks

slim
06-27-2003, 11:28 AM
I think this option is under the desktop tab called customise desktop on windows XP home, but I am not 100% sure about that.

So the instructions would look something like this.

1. Extract the attached file
2. Right click on the desktop and select "Properties"
3. Click on the tab "Desktop" and click "Customise"
4. Browse to the file you have just extracted and click "OK"
5. You may need to set the Desktop Background to "None"
6. If you hover over the new area on the desktop and maximise the window that should now work.
7. The background color can be changed using any HTML editor.

Slim

Paul Komski
06-29-2003, 04:44 AM
Nice idea slim. No need to use the customise the desktop button. Just set the saved htm file as new Wallpaper or "Background" on the Desktop Tab by first saving it somewhere of your choice and then using the browse button to set/select the newly saved file.

From the same source, the military clock is static (and thus easier on the eyes), but the standard clock is buggy.

To create the htm file for yourself, just copy all the javascript code and paste it into notepad. Then, having first set the type of files to all files, Save As myclock.htm or whatever other name you like with an htm or html extension.

killercow
06-29-2003, 12:09 PM
Next thing she would like to do is set the background as the windows XP "AZUL" background. The resolution on her PC is 1024x768. THIS (http://www.ciudadfutura.com/vida/imagenes/azul.jpg) this will work ... i couldn't find the right resolution of the original AZUL. So that will have to do. I tried adding img lowsrc=http://www.ciudadfutura.com/vida/imagenes/azul.jpg ... It didnt do anything and gave me a script error. Any suggestions?

Paul Komski
06-29-2003, 01:15 PM
Save the azul.jpg to the same folder that the clock.htm file has been saved into and then edit the html <body> tag to <body background="azul.jpg">

killercow
06-29-2003, 02:19 PM
Thanks, I'm not finding a body tag so I tried inserting one and again there goes everything ... green background and no clock.

Paul Komski
06-29-2003, 03:44 PM
Have modified slim's htm to include all the html elements and to have white figures on the clock (so they will show up on the dark blue background of your jpg).

Save the clock2.htm to the same folder that contains the azul.jpg file then RClick the desktop>>Properties>>Browse and set the clock2.htm as the background file.