[Fullscreen slider] Selecting text without triggering next slide
-
Hi there,
I am using the Fullscreen Slider plugin and I want visitors to be able to select and copy text from a page using the plugin. Selecting text is super easy, but when a user releases the mouse button (mouseup), it triggers the 'Slide on Page click' and moves to the next slide. This would leave the user not being able to copy the text.
ISSUE: http://borissmeenk.nl/commonplace/lumiere (second slide, text on the left)
Any ideas on how to let the user copy the text?
I tried some stuff like giving the text the class 'text' in combination with this jQuery code (to stay on the same slide ) without any luck:
window.laytheme.on("newpageshown", function(layoutObj, type, obj){ jQuery( ".text" ).hover(function() { console.log('selecting ...'); jQuery.fn.fullpage.moveTo(0,0); }); });
Would love to hear your ideas!
Thanks,Boris.
EDIT: which code sets the 'Slide on page Click' to false? I tried:
jQuery.fn.fullpage.setAllowScrolling(false);
but that doesn't work.. I think I can write a little hack if I know how to turn on and off the 'Slide on page Click' with jQuery.
-
Hi Kubmin!
Yes. this is interesting!
Best is if you write an email to armin.unruh@gmail.com and include your username, password and a link to this conversation.
Many wishes!
Marius
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it