Okay, let's see if I can explain this.
On our website, we broadcast on Justin.tv alot. And we've embedded the player on our site. So what we would like to do is have a button on the site that when clicked, will SWITCH an image file with another one so the "We're Live!" image will appear.
Rephrase:
"liveimage.jpg" is active.
When the button is clicked, "liveimage.jpg" is renamed something else, and "notliveimage.jpg" becomes the new "liveimage.jpg". Clicking it again switches it back.
Is this possible, or am I dreaming?
* Of course the change could be made in the ftp, or the hardcode itself, but we're trying to avoid that.
Thanks Dino, but that code doesn't even kinda work at all.
On our website, we broadcast on Justin.tv alot. And we've embedded the player on our site. So what we would like to do is have a button on the site that when clicked, will SWITCH an image file with another one so the "We're Live!" image will appear.
Rephrase:
"liveimage.jpg" is active.
When the button is clicked, "liveimage.jpg" is renamed something else, and "notliveimage.jpg" becomes the new "liveimage.jpg". Clicking it again switches it back.
Is this possible, or am I dreaming?
* Of course the change could be made in the ftp, or the hardcode itself, but we're trying to avoid that.
Thanks Dino, but that code doesn't even kinda work at all.