IE6 can't "hook up" raphael.js.

119 views
Skip to first unread message

Kalinin

unread,
Jun 28, 2010, 10:27:28 AM6/28/10
to Raphaël
I'm trying to connect raphael.js:

<head>
.....
<script type="text/javascript" src="/script/raphael.js"></script>
....
</head>

Everywhere (except for IE6) script successfully connected.

I tried a compressed version and is not compressed.

I think - this is something "terrible" in the script (raphael.js) and
IE6 stumbles on this "something" , what it can be?

charles thomas

unread,
Jun 28, 2010, 11:11:52 AM6/28/10
to raph...@googlegroups.com, kali...@gmail.com
IE6 has always worked for me.

Send the whole page as an attachment. I cc'd you...

--- On Mon, 6/28/10, Kalinin <kali...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "Raphaël" group.
To post to this group, send an email to raph...@googlegroups.com.
To unsubscribe from this group, send email to raphaeljs+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/raphaeljs?hl=en-GB.


Jerod Venema

unread,
Jun 29, 2010, 9:46:05 AM6/29/10
to raph...@googlegroups.com
If you're using IE Tester, it doesn't play nicely with Raphael.

The "real" version of IE6 works though.

To unsubscribe from this group, send email to raphaeljs+...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/raphaeljs?hl=en-GB.



--
Jerod Venema
Frozen Mountain Software
http://www.frozenmountain.com/
919-300-5141 (W)
919-368-5105 (C)

Kalinin

unread,
Jun 30, 2010, 2:10:28 AM6/30/10
to Raphaël
I use a "real" IE6.

Kalinin

unread,
Jun 30, 2010, 2:52:59 AM6/30/10
to Raphaël
I found a line that causes error in IE6 and "hangs" browser:

doc.createStyleSheet().addRule(".rvml", "behavior:url(#default#VML)");

If it is commented out, then the page in IE6 successfully loaded, but
the library in IE6 loses its functionality and not "works".

How to fix this?

Kalinin

unread,
Jun 30, 2010, 3:31:05 AM6/30/10
to Raphaël
I commented out the line in the script:

doc.createStyleSheet().addRule(".rvml",
"behavior:url(#default#VML)");

And added to the stylesheet rule:

.rvml{
behavior:url(#default#VML)
}

Problem solved.
Reply all
Reply to author
Forward
0 new messages