» home
» contact
» terms of use

FREE SCRIPTS
» new
» text
» image
» utility
» background
» animation
» date/time

FREE ONLINE TOOLS
» code generators
» text animator
» drawing animator
» color animator
» slideshow factory
» javascript speed test

FREE BASIC SNIPLETS
» alert box
» image: multi-rollover
» pop-up: centering
» more

FREE'N'CRAZY
» realtime death counter
» eyeQ
» fun ticker

RECOMMENDED LINKS
» www.dynamicdrive.com
» www.hotscripts.com

Free JavaScript: Day'n'Night Worldmap
Where is night right now? Where is day? Day'n'night worldmap paints the current nightzones and dayzones straight into a tiny worldmap! You may put the worldmap anywhere into your webpage. You may use a worldmap of your own - the script will adjust to its size automatically. Crossbrowser: Internet Explorer 6x/7x/8x/9x, Firefox 2x/3x, Opera 7x/8x/9x/10x/11x and Google Chrome 3x/4x/5x/6x/7x/8x/9x.



Configuration:

Step 1: Open your webpage and paste the following code where you want to display your day'n'night map.



Step 2: Save the 13 images below und put them into the same folder as the webpage that features your day'n'night map. Do not change their names!




If you prefer a to use a worldmap of your own take care:
- that you name it "globalmap.gif"
- that London is the horizontal center of the worldmap.
- that the north pole marks the top of the worldmap
- that the bottom of South America marks the bottom of the worldmap