Skip to content

How to stop the plugin on device width? #743

@crazyboy24

Description

@crazyboy24

Hey,

I am building an one page website, and I am using Fullpage.js.
I want that when the device width is less than 580px, the plugin stops to work and normal scrolling begin.
I am using this code for that but it is not working:

<script> $(document).ready(function(){ $(window).resize(function(){ if ($("#home-text-responsiveness").css("font-size") == "40px" ){ $("#fullpage").fullpage().stop(); } }); }); </script>

I have a three column container and want that when the device width is <= 768px those column turn into slider using Fullpage.js slider functionality.

Any help regarding this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions