Stopping events using Prototype 1.6.1 in IE9 / how compatible is Prototype 1.7 with 1.6.1?

366 lượt xem
Chuyển tới thư đầu tiên chưa đọc

Luke

chưa đọc,
11:10:34 15 thg 10, 201115/10/11
đến prototype-s...@googlegroups.com
Hi,

I'm currently trying to make my site compatible with IE9 and there's already a major problem. I'm using Prototype 1.6.1 and it seems events won't be stopped with Event.stop anymore in IE9. I've read on Stackoverflow [1] Prototype 1.7 fixes that problem but I'm not sure if I should update. Deadline's coming soon and I don't know how much of a problem updating Prototype will be.

So here's my question: Is there a way to stop events in IE9 with Prototype 1.6.1

or

would you recommend upgrading to Prototype 1.7? Would you say there are some things that could be problematic?

Thank you,
Lukas


Andrew Dupont

chưa đọc,
19:32:52 19 thg 10, 201119/10/11
đến Prototype & script.aculo.us
IE 9 makes major changes to the event system. We had to rewrite the
event code in 1.7 to support it. You can either (a) upgrade to 1.7;
(b) force your site into compatibility mode [1].

I highly recommend option A. If it's not a seamless upgrade, option B
is there as a last resort.

Cheers,
Andrew


[1] http://stackoverflow.com/questions/1014666/force-ie8-into-ie7-compatiblity-mode/1014690#1014690
> [1]http://stackoverflow.com/questions/3919250/disable-a-link-in-ie9-prot...

Luke

chưa đọc,
08:39:19 20 thg 10, 201120/10/11
đến prototype-s...@googlegroups.com
Thanks Andrew. I tried upgrading. So far I don't see any problems, Good job! :)
Trả lời tất cả
Trả lời tác giả
Chuyển tiếp
0 tin nhắn mới