phinole — 2012-09-07T15:04:21-04:00 — #1
Anyone familiar with a free jQuery carousel called "Flexslider" developed by WooThemes? I've implemented it on a Wordpress site for a client and it displays strange behavior only in Google Chrome. I can't duplicate this behavior in IE8, IE9, FF15, or Safari for Windows. I'm most baffled by Safari since I expect the behavior to be very similar to its webkit cousin Chrome.
Anyway, whenever a transition with Flexslider occurs in a small sidebar container, the large header on the main section "grows" and retracts, as if it's getting pushed around by the hidden containers sliding by underneath. It's tough to explain, but it can be seen here using Chrome:
victorinox — 2012-09-07T15:57:44-04:00 — #2
Here, it looks more like the characters of the H1 are growing and shrinking during the transition, rather than being shifted.
It only seems to occur when the H1 is set to a font-size between 49px and 328px so, if all else fails, you could use 48px, but it'll still happen when the user zooms above 100%.
There are HTML and CSS validation errors, so it may help to fix those.
ralphm — 2012-09-08T02:46:53-04:00 — #3
I can't see any problem in Chrome at all.
victorinox — 2012-09-08T05:55:12-04:00 — #4
Is that on Mac Ralph? I'm seeing it in Windows.
ralphm — 2012-09-08T06:00:50-04:00 — #5
Yes indeed. I should have made that clear.
victorinox — 2012-09-08T21:27:39-04:00 — #6
Just noticed the problem doesn't occur if the Flexslider animation is switched from "slide" to "fade".
The animations manipulate CSS in very different ways. Fade basically toggles the class, display and opacity values of the list items whereas slide changes values of the proprietary -webkit-transform translate3d property on the parent ul. Most sliders I've seen use simple positioning to move the elements, rather than -webkit-transform.
I'd go for fade. It grabs the attention but is less visually annoying.
phinole — 2012-09-08T21:36:01-04:00 — #7
Thanks for your help, everyone. Changing the font size to 48px does solve the problem, but it's not a solid long-term solution. The client is pretty set on a sliding animation. I would write my own but I don't have the time, so I tried this one. Any recommendations on jQuery alternatives to Flexslider?
ralphm — 2012-09-08T21:57:47-04:00 — #8
Did you see Victorinox's statement about slide/fade?
I'm quite a fan of bxSlider at the moment.
phinole — 2012-09-09T00:55:46-04:00 — #9
bxSlider has been implemented on the test site. Thanks for the input. I did see Victorinox's statement about slide/fade, but the client really wants slide, so that's what I will have to do.
ralphm — 2012-09-09T04:16:18-04:00 — #10
Cool. So is it working as you want now? Looks good to me in Chrome (Mac).
phinole — 2012-09-09T09:19:38-04:00 — #11
Yes, and the problem with Chrome in Windows that I previously saw (the large header text in the h1 tag in another container shifting/growing + shrinking) does not occur with bxSlider, even at fonts above 48px. As always, sitepoint is a great resource for me and I truly appreciate the help you've given me. Thanks again.