Quote:
Originally Posted by 2MuchMark
*Start Loop*
*Load Image URL*
*Javascript find character N and insert X after N*
<img src = "use new URL to display image">
*end Loop*
|
That is not a loop. That is a straight line. A loop repeats.
Now, what are you trying to accomplish, beyond what you have already said?
What triggers this to happen?
So, we have a page and when the page first comes up, there is an image.
On some trigger (unknown at this time) you want the image name to be edited on the fly to another image (image).
Am I on the right track?
edited in: This code: so that the code looks like
<img src = "<script>blahblah</script>">
Is not the way to implement anything. The only time that img tag is looked at would be at page load. aSince the script would be an invalid img ref it would just error out.
The code that was posted in response would have to be run at the end of page load or when something triggered it (as I describe above).
.