[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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login