Welcome to Geeklog, Anonymous Thursday, June 13 2024 @ 05:59 am EDT


Root : Add-ons : Hacks : 
Category: Add-ons arrow Hacks
Tags: -
Date: 2006-02-03 01:56
Size: 210.13 KB
Version: 1.0
MD5: 8946e25c697cca3964e7726e97f98978
Submitter: jalmada
Web: -
Rating: 0.00
Popularity: 2066   POP
This lunar phases script uses a combination of a custom php function and a JavaScript to compute lunar phase information to display an image of the moon phase that is a close approximation of the current phase of the moon.
The JavaScript function provides next full moon and new moon dates. The PHP function checks the month and provides the information relating to the moon name that corresponds approximately to the current month (note, this is not exact and is open to a liberal dose of interpretation).

Image files are included with the script. Each image is named to match the lunar-day age and is used when the JavaScript computes which image should be displayed.

View the "readme.txt" file to find the installation instructions and code to add this script and block to your site.