[Javascript] Re-assign URL of swapped image

Thierry Lavall=?ISO-8859-1?B?6Q==?=e thierry at 8p-design.com
Wed Jul 2 13:59:46 CDT 2003


Roger Roelofs, 7/2/03 14:30 :

> winURL = document.images['Cover'].src.replace(/_M\.jpg/, "_L.jpg");

They are consistent.
And I was just finishing testing when you proposed it. Works perfectly.
T'was a lot of google.com search but I finally got it as I wanted it.

http://www.8p-design.com/Bummis/New/en/Products/covers/CottonWhisperPant.htm
l

Very clean now.
Thanks all! :)
-- 
Thierry



More information about the Javascript mailing list