jparallax icon indicating copy to clipboard operation
jparallax copied to clipboard

it doesn't work in IE8

Open chrisLovesCode opened this issue 12 years ago • 8 comments

hi,

the jparallax effect seems to do nothing on official website. same with the demo-files in the actual master on github. other javascript on various sites works. i searched thrue the issues and tryed to find console.log commands like i've read, but i was not able to find them.

i woud be realy happy for help, becouse it's in awesome plugin! :)

with kindest regards, chris

chrisLovesCode avatar Jun 08 '12 08:06 chrisLovesCode

I'm sorry to bump up a two months old post, but is there any update on this issue?

I'm working on a project that should support IE7 and IE8. I can't get the library to work with those browsers, even the demo code won't run. I've been trying to downgrade to version 0.9.1, but it's taking a little bit too long (and a bit of my sanity too).

Is there any plans to patch this issue up?

matteobug avatar Jul 24 '12 16:07 matteobug

A fixed version for IE 8 & 7 would be great.

de6ir avatar Jul 28 '12 11:07 de6ir

this demo works for me in IE8, albeit not exactly the same way http://stephband.info/jparallax/demos/thumbnails.html

I ran into this issue (not working at all in IE8) as well and found that adding a border to the port, even one side, fixed the issue. Not sure if that'll help anyone.

rpotsakis avatar Oct 04 '12 16:10 rpotsakis

Yeah, this linked to a jQuery bug that they refused to fix about detecting 0 width borders. It's fixed in the branch '2.0' if you fancy giving that a go. I have already used that branch in production. On 4 Oct 2012 18:24, "Rick" [email protected] wrote:

this demo works for me in IE8, albeit not exactly the same way http://stephband.info/jparallax/demos/thumbnails.html

I ran into this issue (not working at all in IE8) as well and found that adding a border to the port, even one side, fixed the issue. Not sure if that'll help anyone.

— Reply to this email directly or view it on GitHubhttps://github.com/stephband/jparallax/issues/38#issuecomment-9147509.

stephband avatar Oct 04 '12 16:10 stephband

So is there a work around for ie7 and ie8? I also need this to function in these browsers. Please help if anyone knows a solution?? Thanks!

awagner87 avatar Oct 31 '12 19:10 awagner87

IE 7/8 use 'medium', a string, as the default value for the border-width, thus breaking all javascript code that relies on a numeric value. The easiest solution is to set a sane default border-width value. The following lines did it for me!

div {
    border-width: 0px
}

camillobruni avatar Dec 02 '12 22:12 camillobruni

dh83, thanks for working solution!

srjsrj avatar Dec 04 '12 03:12 srjsrj

dh83, thanks for working solution!

srjsrj avatar Dec 04 '12 03:12 srjsrj