jparallax icon indicating copy to clipboard operation
jparallax copied to clipboard

v1.0 with jQ 1.5.1 Problems

Open Japegrape opened this issue 13 years ago • 5 comments

Two problems I'm noticing, even with your demos using the new v1.0:

  1. The mouse does not trigger any events if the page loads with the mouse over the mouseport on initial load, until you move the mouse out of the port and then back in. In your previous version, the mouse would register after a moment, even if it was in the port on load.
  2. The parallax images seem to be starting fully left-justified in the viewport instead of centered. When trying to accommodate this in the css, I found that the very first call to the update causes the images to jump back to that left-justified state and animate from there. Nothing I can seem to do about this without hacking your plugin.

Love the plugin, hope there's some fixes for these soon, otherwise I'll have to try another!

Japegrape avatar May 20 '11 12:05 Japegrape

I'm wondering if the left-justified problem you are describing as the same as the right-justified problem I describe here - https://github.com/stephband/jparallax/issues/25

studgeek avatar Nov 16 '11 21:11 studgeek

Haven't dug into this yet, but maybe the "event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future." log message popping up all the time is related to this? jQuery 1.7.1 and recent Chrome still have this problem.

passy avatar Dec 22 '11 14:12 passy

Oh, never mind. jQuery 1.7 doesn't actually use event.layerX/layerY anymore, so this can't be the source of the positioning issue.

passy avatar Dec 22 '11 14:12 passy

I have the same problem. The parallax loads left-aligned initially. I had to create a link positioned in the center, and then force a click event on it to get it to center initially. That works, except the user can see the animation as it goes from the left to the center.

adamtoth avatar Feb 22 '12 14:02 adamtoth

I'm experiencing the same issue.

thomasmattheussen avatar Aug 17 '12 12:08 thomasmattheussen