On 7 Sep 2005 11:10:00 -0700, Jason <[EMAIL PROTECTED]> wrote:
IE...<sigh>

Yeah, I  know what you mean. Here's another one that doesn't work in IE, but it does work in Firefox:
canvas = pid.PILCanvas()
 canvas.drawRect(0,400, 500, 0, fillColor=pid.floralwhite, edgeColor=pid.maroon )
<snip>
# display stuff
f = StringIO.StringIO()
canvas.save(f, format="png")
# does not work in MSIE, that sucks...
return 'data:image/png,' + urllib.quote(f.getvalue())

these are DATA URIs (http://www.howtocreate.co.uk/wrongWithIE/?chapter=Data%3A+URIs)
so do I now have to change my code because most people use IE? Probably I have to :-(
 

Have to come up with a workaround, go back to the old <input>.  I'm
about the only one who uses firefox in our facility.

Thanks for the reply and the link.

--
http://mail.python.org/mailman/listinfo/python-list



--
All truth passes through three stages. First, it is ridiculed. Second, it is violently opposed. Third, it is accepted as being self-evident.
Arthur Schopenhauer
-----
Please visit dimitri's website: www.serpia.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to