Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Screen Saver Code

Author
Message
Net Commander
21
Years of Service
User Offline
Joined: 12th Sep 2002
Location: United Kingdom
Posted: 24th Sep 2002 00:31
Hi all, I've been trying to get DBPro to behave properly in Windows when a compiled exe is turned in to a screen saver. I've has some success and posted this little demo. Read the code comment for more info!!

Net Commander
21
Years of Service
User Offline
Joined: 12th Sep 2002
Location: United Kingdom
Posted: 24th Sep 2002 00:42
Eek! All the less-than and greater-than symbols have disappeared in my code snippet. Add them into the line that starts if mouseX()...
If this posts properly it should be:
if mouseX() <> Xmouse or mouseY() <> YMouse or scancode() <> 0
Kale
21
Years of Service
User Offline
Joined: 8th Sep 2002
Location: United Kingdom
Posted: 24th Sep 2002 03:33
dont you just love them stripHTML() functions

What the flame does not consume, consumes the flame.
----------------------------------------------------------------
AMD XP2100+, Geforce4Ti 4400, 512Mb DDR, Abit KX7.
Kale
21
Years of Service
User Offline
Joined: 8th Sep 2002
Location: United Kingdom
Posted: 24th Sep 2002 03:40
From the PHP ref i happen to have:

The function 'htmlspecialchars()' should be used to convert entities if they are to preserve their meanings.

'&' (ampersand) becomes '&'
'"' (double quote) becomes '"'
''' (single quote) becomes '''
'<' (less than) becomes '<'
'>' (greater than) becomes '>'


etc...

is this possible Rich?

What the flame does not consume, consumes the flame.
----------------------------------------------------------------
AMD XP2100+, Geforce4Ti 4400, 512Mb DDR, Abit KX7.

Login to post a reply

Server time is: 2024-04-19 05:25:25
Your offset time is: 2024-04-19 05:25:25