Warning: filemtime(): open_basedir restriction in effect. File(/home/www/web144/html/attachments/055_cube.20080426.de.zip) is not within the allowed path(s): (/var/www/clients/client396/web1968/web:/var/www/clients/client396/web1968/tmp:/var/www/web144.cyconf.de/web:/srv/www/web144.cyconf.de/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/php:/home/www/web144/html:/home/www/web144/tmp) in /var/www/clients/client396/web1968/web/components/com_attachments/helper.php on line 477
Warning: filemtime(): open_basedir restriction in effect. File(/home/www/web144/html/attachments/055_cube.20080426.en.zip) is not within the allowed path(s): (/var/www/clients/client396/web1968/web:/var/www/clients/client396/web1968/tmp:/var/www/web144.cyconf.de/web:/srv/www/web144.cyconf.de/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/php:/home/www/web144/html:/home/www/web144/tmp) in /var/www/clients/client396/web1968/web/components/com_attachments/helper.php on line 477
Written by Andreas Berger
|
Saturday, 19 April 2008 07:47 |
The JavaScript produces a small, movable cube, consisting of its eight corners only, optionally showing an image. The programming is not really neat, due to my lacking mathematical knowledge. Anyway - it works.
The cube is linked to the cursor, you can move it around the screen and that's it. Practical use? None.
The JavaScript is till now tested as follows:
|
 |
 |
 |
 |
Internet Explorer
|
6 |
|
|
|
|
Internet Explorer |
7.0 |
J |
|
|
|
Internet Explorer |
8 |
|
|
|
|
Firefox
|
2.0.0.16 |
J |
|
|
|
Firefox
|
3.0.1 |
J |
|
|
|
Opera
|
9.25 |
J |
|
|
|
Safari
|
3.11 |
J |
|
|
|
Demo (shown inside an inline-frame):
License: Free to use as long as the copyright-notice in the sources stays intact. Provided as is, no warranty, no liability!
Miscellaneous: I am happy about everybody who gives me a link back to www.bretteleben.de on his website, this way helping me to popularize the script. If you have questions or suggestions about this JavaScript, please use the comment-function. Records about the behavior of this script with further browsers/operating systems would be appreciated.
The ZIP-archive contains a demo-page, all configurable parameters are commented inside the script.
|
Last Updated on Friday, 08 August 2008 20:59 |