I'm using a Javascript script that displays pictures in a popup window and it works fine except when there's a picture that contains parentheses:
- <a href="javascript:popImage('http://www.mysite.com/gallery/pic1(small).jpg','Pictures')">
-
<img src='http://www.mysite.com/gallery/thumbs/pic1(small).jpg' width='100' height='75' alt='Picture' >
-
</a>
Notice the parentheses around the word "small" in the image name? I'm not a Javascript guy, so I guessing that this is what is causing the problem. What is happening is - when I click on the link I get the little image icon of a broken link in the popup window instead of the larger picture.
The popup works fine for pictures that do not contain parentheses in the image name.
Is there a work around for this?
Thanks.
David