it uses the MoonPercent Webtag and gets an appropriate image for that phase of the moon
theres a bit of code to go in the placeholder for the image, and the moon images need to be in the images/moon/directory relative to the page.
I've kept the code verbose so people can see and change
hope someone finds it useful.
Theres also a large script animated moon at http://www.warrandytefarm.com/moon_large.htm
all the files are in
Code: Select all
document.write("<img src=\"images/moon/moon_"+ImageNum+".png\"width=\"150px\" height=\"150px\"/>");