fxdmcuong / simplemodal

Automatically exported from code.google.com/p/simplemodal
0 stars 0 forks source link

Still issues with IE8 and IE9 - removeExpression #88

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
SimpleModal or SimpleModal Contact Form (SMCF)?
SimpleModal
Version of SimpleModal of SMCF (indicate Demo or WordPress plugin)?
1.4.2

Version of jQuery?
Always latest

Browser/OS you are experiencing the problem with?
IE8, IE9

In IE8 - Error Message is "Not implemented"
In IE9 - Error Message is "Object doesn't support property or method 
'removeExpression'"
They both refer to the exact same location in the script: line 16 character 
133, which is: "g.removeExpression("height")"
ALL this works perfect in ANY other browser!

If applicable, please provide a code snippet or link to a website demonstrating 
the problem.
To reproduce - click on the Login button: 
http://thepoweroftouch.com/registration.cfm

If applicable, please list the other code/libraries/plugins you are trying to 
integrate with.
See all in the source.

NOTE: SimpleModal is used throughout the site in other events and works fine. 

Original issue reported on code.google.com by xander.a...@gmail.com on 2 Sep 2012 at 4:22

GoogleCodeExporter commented 8 years ago
Sorry - the last NOTE above is a bit misleading as worded.. It needs say it's 
working everywhere on the site in all other browsers..

Also - the example above shows the issue with use of a button, however the 
result is exactly the same when used in other places as:
$(document).ready(function(){
    $('#msg-modal').modal({overlayClose:true});
    var to=setTimeout("closePop()",8000);        
});

Original comment by xander.a...@gmail.com on 2 Sep 2012 at 6:51

GoogleCodeExporter commented 8 years ago
I commented fixIE method, now is it ok ?

fixIE: function () { /*.......*/ }

Original comment by baybora....@gmail.com on 6 Sep 2012 at 10:32

GoogleCodeExporter commented 8 years ago
my page is not work in quirks mode but fixIE method running (ieQuirks is true) ?
but i call js code from browser : javascript:window.alert('You are in ' + 
(document.compatMode==='CSS1Compat'?'Standards':'Quirks') + ' mode.') it say to 
me that your page is standartMod

P.S: I put 

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
.....
.....
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        ......

to page also.

Original comment by baybora....@gmail.com on 6 Sep 2012 at 10:49

GoogleCodeExporter commented 8 years ago
Thanks. This should be fixed now with SimpleModal 1.4.3.

Original comment by emartin24 on 8 Sep 2012 at 4:07

GoogleCodeExporter commented 8 years ago
Thank you - will test right away!

Sent from my iPhone 4S

Original comment by xander.a...@gmail.com on 8 Sep 2012 at 6:13

GoogleCodeExporter commented 8 years ago
Thanks :)

Original comment by baybora....@gmail.com on 8 Sep 2012 at 9:06

GoogleCodeExporter commented 8 years ago
It's finally working! PERFECT! :)

Sent from my iPhone 4S

Original comment by xander.a...@gmail.com on 8 Sep 2012 at 10:01

GoogleCodeExporter commented 8 years ago
Hi Eric
Thanks for a great plugin! I'm also experiencing the above issue on ie8. Works 
fine on the other browsers.
I do have the new simplemodal version 1.4.4 and latest jQuery 1.10.2.
Error is on line 454, s.removeExpression('height');

Any idea on how to fix this?

Thanks
Johan

Original comment by unluckyn...@gmail.com on 21 Oct 2013 at 8:08

GoogleCodeExporter commented 8 years ago
I used baybora's fix and it worked:
Comment out the fixIE: function () { /*.......*/ }

Original comment by unluckyn...@gmail.com on 21 Oct 2013 at 10:21

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Getting same (or similar) problem in IE9 standards mode with simplemodal 1.4.4.

Original comment by jaykr...@gmail.com on 25 Mar 2014 at 4:59

GoogleCodeExporter commented 8 years ago
Ditto. I am getting similar problem in IE8, simplemodal 1.4.4

Original comment by cwhitchu...@gmail.com on 24 Dec 2014 at 10:34

Attachments: