Email conversation
From | Roger Hughes |
To | Me |
Subject | Perfect Popups |
Date | 13 March 2007 16:56 |
Hi,
That script is very useful, I've had to amend it for a certain project
though as it doesn't support spaces in filenames. Maybe this is of some use
to you?
<img src=\"'+imageURL+'\" alt="Loading image ..." title=""
onload="resizeWinTo();">
Just had to add \" at the start and end of the src.
Regards,
Roger Hughes
From | Me |
To | Roger Hughes |
Subject | Re: Perfect Popups |
Date | 13 March 2007 18:01 |
Roger,
> Just had to add \" at the start and end of the src.
Thanks for bringing this to my attention - feel quite ashamed of myself
since I make a point of always quoting my attribute values no matter what
they contain. I have updated the article and scripts.
Note though that spaces are not allowed in URLs. You should use the URL
encoded %20 instead. Most browsers will convert spaces into %20 for you, but
that is their own error handling, and should not be relied on.
Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/