Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    [Fullscreen slider] Selecting text without triggering next slide

    General Discussion
    2
    2
    216
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kubmin last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        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

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        I don't answer or check forum DMs, please just post on the forum.

        Try this to fix issues before you post:

        Use the Search Feature. Maybe there is already a solution to your issue.

        1. Update Lay Theme and all Lay Theme Addons
        2. Disable all Plugins
        3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
        4. Now see if your problem solved itself
        5. Go here, see if your problem is listed here:
        Troubleshooting

        When you post:
        1. Post a link to where the problem is
        2. If the problem is difficult to explain, post screenshots / link to a video to explain it

        Thanks!

        Online Users

        M
        L
        E
        C
        M
        S

        Recent Topics

        • T

          thumbnail grid categories fixed.

        • L

          BLEND MODE ON MOBILE

        • A

          A modal/pop up window displaying extra info

        • Carousel is not showing

        laytheme.com