CODE
<img src="pic.gif" onClick="this.src='http://www.somewebsite.com/image.gif';"/>
this will mean that when the user clicks pic.gif, it wil change to image.gif from www.somewebsite.com
Now let`s say i change it to something like this
CODE
<img src="pic.gif" onClick="this.src='c:\image.gif';"/>
As u can see, the new picture is now from the local machine. I tried this. It does not work. How come i cannot change the image to a picture from the local machine. More importantly, Is this even possible to do this at all?
Oh btw, if u do something like this,
CODE
<img src="c:\pic.gif" />
it wil work. So it seems that only the initial image can be from the local machine huh
Mar 7 2006, 03:32 PM, updated 20y ago
Quote
0.0136sec
1.03
5 queries
GZIP Disabled