google-code-export / nyromodal

Automatically exported from code.google.com/p/nyromodal
1 stars 1 forks source link

IE only problem #545

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I am using this plugin in WordPress by including it in the header.
2. The website where the modalbox is used: 
http://degirmenrestaurant.co.uk/our-menu . 
It's implemented on the links with "nyroModal" class (default settings). This 
link refer to another wordpress page. the link tag should look like this - > <a 
class="nyroModal" 
href="http://degirmenrestaurant.co.uk/?menucat=lorem-ipsum#main-wrap" >Lorem 
Ipsum</a>
3. The problem only occurs in IE (7 & 8), other browsers works great, thanks 
for sharing this wonderful plugins!.

What is the expected output? What do you see instead?
Everything looks normal, except when using IE browsers it only shows the 
loading page then after a while, these text shows up : The requested content 
cannot be loaded...etc.

What version of the product are you using? On what operating system?
version used: nyroModal 1.6.2
OS : Windows XP

Please provide any additional information below.
When I open the IE8 developer tools script console, this error is displayed:

'find(...).html()' is null or not an object

If you'd like to show the live site : http://degirmenrestaurant.co.uk/our-menu

Original issue reported on code.google.com by dikta.a...@gmail.com on 12 Nov 2010 at 7:19

GoogleCodeExporter commented 9 years ago
It's working now!

This is what I do:

- The problems occured when I'm using the "minified" version (1.6.2)
- After I've switched to the uncompressed version (1.6.2), the problems is gone.

Is there some problem with the minified version?

And fyi, when I run the IE debugging (in localhost), it shows that there are 
some errors in line 1342 (uncompressed version). This error does not show up in 
live site.

Original comment by dikta.a...@gmail.com on 12 Nov 2010 at 8:17

GoogleCodeExporter commented 9 years ago
the version 2 is almost ready. Give it a try: http://goo.gl/PjHdn

Original comment by nyro...@gmail.com on 13 Nov 2010 at 4:35

GoogleCodeExporter commented 9 years ago
Cool! Thanks for letting me know. Let see...

Original comment by dikta.a...@gmail.com on 13 Nov 2010 at 4:44

GoogleCodeExporter commented 9 years ago
I'm actually having the same issue only using the uncompressed version didn't 
fix the issue. 

The plug-in loads everything correctly in all by IE. (not a big surprise)

The modal just sits and "spins". IE displays a error: 

'find(...).html()' is null or not an object

I've also tried loading v2 and still resulted in the same error. I've tried to 
mimic the example on the nydro site stripping the code down to the bare minimum 
and it still results in the script "hanging".

Original comment by t...@flirtabit.com on 9 Jan 2011 at 4:20

GoogleCodeExporter commented 9 years ago
The issue results in the "Send Message" link on:

http://flirtabit.com/flirt/with/saginaw-mi

and the "destination" page being:

http://flirtabit.com/message/send/10#modalform

Original comment by t...@flirtabit.com on 9 Jan 2011 at 4:23

GoogleCodeExporter commented 9 years ago
I was receiving the same error in IE8 with WinXP, using either versions 1.5.2 
or 1.6.2.

I narrowed down the problem, and discovered that NyroModal doesn't like invalid 
HTML! 

I had extra DIVs and a form that ended twice. So, perhaps run your output 
through an online HTML validator, seem if that helps.

Original comment by nes...@gmail.com on 21 Jan 2011 at 10:15