It's really hard to form my question title... I'm writing my own windows sidebar gadget , I want to show current moon phase , so I searched in internet for that and I got a websites that shows that :
http://www.iceinspace.com.au/moonphase.html
if I take the image url (http://www.iceinspace.com.au/moon/images/phase_150_095.jpg
) and set it in image src
attribute:
<img id="CurrentMoon" src="http://www.iceinspace.com.au/moon/images/phase_150_095.jpg"></img>
and I set it again when html document loads in javascript:
function showFlyout(event)
{
document.getElementById("CurrentMoon").src = "http://www.iceinspace.com.au/moon/images/phase_150_095.jpg";
}
does the picture change if it is changed in internet ??