Hi, actually my image names (35 of them) as coming from an ajax call and I loop through the results assigning the images to the filmstrip cells. Then I setup the mouse overs for the popup preview. If this were php or C I'd have not trouble. But with Javascript and JQuery I'm lost...
On Mon, Feb 1, 2010 at 6:13 PM, Andreas Möller <localhe...@l8m.de> wrote: > I don't know about regular expressions in Javascript, but actually you just > want to match the name of the image and prepend it with a different path and > append a different suffix to, so something like > > preg_match('/^\com\/images\/s\/([a-z0-9_])+\.png$/', $href, $match); > $href = 'com/images/s/' . $match[1] . '.png'; > > - only in Javascript. > > > Best regards, > > Andreas > > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take?