ianli / jquery-infinite-drag

A jQuery plugin that helps you create an infinite wall interface.
http://ianli.github.io/jquery-infinite-drag
93 stars 15 forks source link

Not Stable on IE #2

Closed BadLeo closed 13 years ago

BadLeo commented 13 years ago

Hi Ian,

This plugin is great! It work well on WebKit, but can make it run on IE even the most simple demo.. Plesae help :(

http://a80.hk/index2.php

Leo

ianli commented 13 years ago

Hi Leo-

When I go to http://ianli.com/infinitedrag/, the examples work.

At first glance, it looks like you're using JSON and IE doesn't support the JSON class. Perhaps try using JSON.js here: http://www.json.org/js.html

So it might be your code that is the problem, but I'm not sure because I can't take a closer look at this right now, but I can take a closer look this weekend.

Good luck!

Ian

BadLeo commented 13 years ago

Hi Ian,

Many Thanks for your time and response! however, I try 3 pc with IE8, got a same message

http://a80.hk/ij.JPG

ianli commented 13 years ago

What version of IE8 did you use? I tested it on IE 8.0.6001.18702 without any problems.

http://i.imgur.com/TGHz0.png

Ian

On Tue, Mar 15, 2011 at 4:35 AM, BadLeo < reply@reply.github.com>wrote:

Hi Ian,

Many Thanks for your time and response! however, I try 3 pc with IE8, got a same message

http://a80.hk/ij.JPG

Reply to this email directly or view it on GitHub: https://github.com/ianli/jquery-infinite-drag/issues/2#comment_875382

Ian Li PhD Candidate Human-Computer Interaction Institute Carnegie Mellon University http://ianli.com http://personalinformatics.org twitter: @ianli

BadLeo commented 13 years ago

Hi Ian,

I found out the problem.

at line 95

        }).css({
            position: "absolute",
            left: x,
            top: y,
            width: _to.width,
            height: _to.height,
        });

just remove the "," after height, everything alright!

Thanks, Leo

ianli commented 13 years ago

Thanks, Leo! I just updated the code.