Roger Hughes

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromRoger Hughes
ToMe
SubjectPerfect Popups
Date13 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
FromMe
ToRoger Hughes
SubjectRe: Perfect Popups
Date13 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/
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.