I've checked the fboptions but can't find the one that might allow me to disable the popCenter function on mobile devices...With no hover state, I'd prefer that the popCenter image be ignored and that my FB animation become active on the first click (or touch).
Many thanks for your help on this.
Disable popCenter on mobile devices
Page: 1
Author | Post |
---|---|
#1 Thu Nov 17, 2016 6:25 pm
|
|
Member
Registered: Nov 2016
Posts: 2
|
|
#2 Fri Nov 18, 2016 3:08 am
|
|
Administrator
Registered: Aug 2008
Posts: 3382
|
Can't be done through option settings, but easy to do with a custom touch event handler.
Add this to the link that has the fbPopcenter class on it: ontouchstart="window.fb.start( this ); return false;" The first touch on that link will start a normal floatbox and cancel the mouseover effect. Real mouseovers and clicks will be unaffected. |
#3 Sat Nov 19, 2016 1:33 pm
|
|
Member
Registered: Nov 2016
Posts: 2
|
Perfect! Thank you very much for your prompt reply.
|
Page: 1