Hi Jonathan,
Jonathan Vanasco wrote:
I've got a question about Server Side image maps
I'm sure you're aware of the accessibility implications of server-side
image maps and you have a valid reason for using these travesties of
useability, so...
How can I reliably catch this under libapreq / cgi ? ( the former for
current use, the latter just-for-kicks )
I'd recommend just running the unparsed URI past a regex - like
if( $r->args() =~/^(\d+),(\d+)$/ ){
my ($x,$y)=($1,$2);
# process server side map
}
If you think about it, any Apache:: module that processes image maps
would only be doing that anyway, and the HTML spec for it isn't going to
change except possibly to deprecate it.
cheers
John