Author Topic: MegaZine.onPageChange does not fire in IE  (Read 1788 times)

b021

  • Newbie
  • *
  • Posts: 3
MegaZine.onPageChange does not fire in IE
« on: October 15, 2009, 04:23:22 PM »
Hello, I have no idea whether you have noticed or not.

I am playing MegaZine 3 v2.0.0.RC2, and I found that the javascript function MegaZine.onPageChange failed to fire in IE, in Firefox it works well.

Thanks,

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1413
  • MegaZine3 Developer
    • MegaZine3
Re: MegaZine.onPageChange does not fire in IE
« Reply #1 on: October 15, 2009, 11:02:40 PM »
Mmm... which version of IE? In 8 it works just fine.
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.

b021

  • Newbie
  • *
  • Posts: 3
Re: MegaZine.onPageChange does not fire in IE
« Reply #2 on: October 17, 2009, 03:32:31 PM »
Mmm... which version of IE? In 8 it works just fine.

hi, Florian,
I have tried both in IE6 and IE7, it does not work. I have not yet tried it in IE8.

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1413
  • MegaZine3 Developer
    • MegaZine3
Re: MegaZine.onPageChange does not fire in IE
« Reply #3 on: October 18, 2009, 05:15:50 PM »
Hi,

the reason is, that IE is being stupid (how unexpected! [/sarcasm]).

In the megazine.js, remove the last comma (,) before the MegaZine = { block closes. Otherwise IE seems incapable of properly parsing the definitions... -.-

Thanks for pointing that out, though! Won't happen again...
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.

b021

  • Newbie
  • *
  • Posts: 3
Re: MegaZine.onPageChange does not fire in IE
« Reply #4 on: October 23, 2009, 01:39:16 PM »
cool!

it get work!

thanks, Great Florian!