I didn't like the way comx was sizing the image to the window. For comics
that are always a standard size, this works fine. For Joy of Tech (which
varies in size), this never works. For that matter, many of the standard
comics didn't look right either, because "window.open" seems to ignore the
width and height parameters. To compensate, I wrote some more regular
expressions to pull out the width and height for Joy of Tech (and User
Friendly, just in case). For all windows, I adjust the height and width
numbers by 9 and 34 pixels, respectively. Then, I resize the window to fit
the comic. This seems to render comics that are consistently the same
dimensions as the original. I tried leaving the image width/height
attributes at 100% in the stylesheet, but it never looked quite right. Try
it, and see if you don't like it better this way.

Regards,
Greg Krohne

Attachment: comx.xml
Description: Binary data

Reply via email to