[Javascript] Re-assign URL of swapped image
Roger Roelofs
rer at datacompusa.com
Wed Jul 2 13:30:20 CDT 2003
Thierry,
Another alternative (assuming your image naming convention is
consistant, you could just write
winURL = document.images['Cover'].src.replace(/_M\.jpg/, "_L.jpg");
On Wednesday, July 2, 2003, at 11:34 AM, Thierry Lavallée wrote:
> Hi all
> I still have a question concerning this.
> I would like to do this in a more simple way and drop the URL part.
More information about the Javascript
mailing list