Magic Scroll Js

A customizable scrollbar component based on React.js for PC and mobile phone. GitHub - YvesCoding/magic-scroll: A customizable scrollbar component based on React.js for PC and mobile phone.

  1. See Components.js for an example. The Scene component also works with a function as child. The function takes an animation progress (0-1) as first parameter and the event object as second parameter. See ClassToggle.js for an example. From version 2 on it also works with a react-gsap Tween or Timeline component as direct child.
  2. Install the magic-scroll package. Import the magic-scroll module. Or load the MagicScroll.cjs.js script in the page. Apply the MagicScroll to the target scrollable element and done. Config the Momentum Scrolling Effect with the following settings: Execute a function on each scroll. The post Momentum Scrolling Effect For Mouse Wheel – magic.

Responsive slider for images, videos, product thumbnails, featured content, any HTML

Fast. Easy to use. jQuery compatible

Rating: 4.9 (16 reviews)

Magic Scroll Jst

Integrations and plugins Use these plugins and extensions to setup Magic Scroll on your site without writing a single line of code.

Or install it on any website with these instructions.

One tool. Infinite possibilities.

Product thumbnails slider/carousel

Do you have plenty of product images but don't know how to fit them all in? Magic Scroll lets you display all your product images in an elegant and intuitive way. Our responsive slider will make the experience effortless for both mobile and desktop users.

Featured Content slider

Show off your best-selling products on your homepage or category pages. If you're a blog owner - use it to promote your best content. Sliders usually slow down page load time. Not Magic Scroll! Enable Lazy-loading and enjoy both a fast website and a slick 'featured' section.

Related products slider

One of the best ways to increase your sales is to cross-sell and up-sell related products. Display your related products with Magic Scroll and see that average order value increase like magic.

Cover flow slider

Love Apple's cover flow effect? Replicate this easily with Magic Scroll.

Review/Testimonial slider

An elegant way to show off multiple reviews without compromising design. It's a smart-phone driven world right now. We got that covered. Magic Scroll is fully responsive and works flawlessly on every device. More than that - it supports swipe gestures, providing your users the best experience they can wish for.

PreviousNext

Optimized for every device

Transparent Pricing with no Ongoing Fees

What you'll get with your purchase

  • Unrestricted use forever
  • Instant access to 19 extensions
  • 30 minutes of tech support
  • 1 year of free upgrades

Responsive out of the box

Make swiping through your product images a joy. Easily customize how Magic Scroll looks on desktop and mobile devices.

jQuery compatible

Magic Scroll plays well with jQuery, Zepto or other libraries. You can safely use it with CSS frameworks like Bootstrap or Foundation too.

Lightning fast

CSS3 animations combined with pure JavaScript make Magic Scroll an extremely fast slider. Easily get super smooth 60 FPS animations along with amazing page speed loading time.

Built with SEO in mind

We know SEO is very important today. That's why Magic Scroll fully supports 'alt' tags and structured metadata.

Our tools are used on 56,565 websites (and counting).

Customer reviews

Magic scroll js demo
Mar 12021
We have been very satisfied with this addon and have it proudly on our site - Highly recommended to anyone that wants a slider on their site.
Support is always amazing - Thank you Magic Tool Box team

Cory, animalkingdoms.co.nz

Aug 182020
Thank you for your quick reply

Alexander

Jul 212020
Un module parfait. Intégration sans aucun bug dans mon thème. Facilité de configurer le module magic zoom.
Grande possibilité d'ajuster le zoom à son gout.
Je suis impressionné de l’ INCROYABLE travail des développeurs et nous proposer ce module a un prix très correct.
Bravo et merci.

Renaud

May 12020
Prompt and professional

David

Nov 222018
This has to be the top value software. Igor was super patient helping me and I will not hesitate to recommend this product to my friends
Scroll

Ian Armstrong, londonbuses.co.uk

Submit your review

Thank you!
Your review has been received and will be posted soon.

Magic Scroll Js Codepen

Make your website look fabulous with Magic Scroll!

Why choose Magic Scroll?

In the JavaScript slider market there are literally hundreds of options. So why should you choose Magic Scroll?

  1. Constant updates. We regularly update Magic Scroll following the best technology trends, but at the same time we keep it compatible with old browsers.
  2. It's fast. Magic Scroll avoids the pitfall that most sliders have - slow loading time. Vanilla JavaScript and CSS3 animations provide the best performance hands-down and lazy-loading helps your page load faster, with keeping all the eye-candy.
  3. Support is always there for you. If you read our reviews you might have noticed how much our customers value our support. We take pride in your success, that's why we do our best to resolve every issue you might encounter.
  4. No subscriptions and a money-back guarantee. Subscription pricing models are extremely popular today. In the long-term they are much much more expensive than the regular one-off payment model that we follow. It's very simple, you buy Magic Scroll - you get to keep it forever. Updates are free for a year. After that - it's only 20% of the initial price. Your purchase is absolutely risk-free thanks to our 30-day money-back guarantee.
  5. Responsive out-of-the-box. Some sliders have problems on mobile devices. Magic Scroll doesn't. It automatically detects the viewport of your visitors device and adjusts the quantity of your slider items accordingly. Swipe gestures make it a breeze to navigate on mobile too, no more clicking that tiny little button to move to the next gallery item.

What's under the hood?

Magic Scroll is a vanilla JavaScript slider with CSS3 animations. We built a powerful API that allows developers do literally anything. If you don't know how to code, we have a simple configuration wizard which you can use to configure your Magic Scroll in literally seconds.

Today the odds are that you're using some sort of a CMS or an E-commerce platform. We have a Magento slider extension, WordPress slider plugin and integrations for other popular platforms. With our modules, installation is as easy as uploading and activating the module on your website.

Magic scroll jst

Changelog

    • Fixed issue with non-working input text inside scroller.
    • Improved usage of array in the 'items' option
    • Core Java Script library update
    • Fixed error message in Edge browser
    • Addressed issue with calling refresh method
    • New API methods added: addItem, removeItem, getItem and getItems
    • Added <picture> tag support
    • Minor bug fixes
    • Enhanced scroll on swipe when 'step' parameter is defined for mobile.
    • Added ability to limit number of scroll image on mobile
    • Address Safari drag issue
    • Address issue with non-visible prev arrows when mouse wheel using for scroll
    • Fixed issue when API uses for scroll with non-loaded images
    • Fix MagicScroll.jump() method issue
    • Added onMoveStart callback for carousel mode
    • Minor bug fixes
  • *Fixed issue with using jump() method with bullets

    • Improved scroll height calculation
    • Fixed issue with non-working jump() function when loop is disabled
    • Added fix for image size when height parameter is specified.
    • Fixed minor issues in the .stop() method.
    • Fixed wrong arrows position in IE
    • Address possible conflict with 3rd party CSS styles
    • beforeInit callback added
    • New CSS arrows
    • Fixes animation mode issue in Firefox browser.
    • Fix possible drag issue when items parameter contains array.
    • Fixes animation mode issue in IE browser.
    • Minor tweaks.
    • Fix caption position issue for cover flow effect.
    • Drag and drop functionality enhancement.
    • Minor bug fixes.
  • Resolves a drag issue in Firefox 46.0

    • Resolves a issue when Scroll inside a form.
    • Small tweaks.
    • Lazy loading is now available in the cover-flow mode.
    • Ability to define a caption for the image with <figcaption> tag. E.g. <figure><img src='my-image.jpg'><figcaption>Image caption</figcaption></figure>.
    • Fixes a rare issue in the animation mode when total size of items exceeds 100,000 pixels.
    • New 'draggable' option that enables/disables drag to scroll.
    • Tweaks to the caption layout in carousel and cover-flow modes.
    • Preserve items state after browser resize in carousel and cover-flow modes.
    • Fixes an issue that could cause an incorrect display of the items in the scroll area in Firefox.
    • Resolves possible issue with a item caption defined via the tag.
    • Fixes an issue that prevented Magic Scroll from starting in Chrome on iOS.
    • Fix issue when Magic Scroll works over Magic Zoom (Plus) selectors and breaks image switching.
    • Maintenance release.
    • Small fixes.
  • Announcing an extraordinarily flexible new version of Magic Scroll, with multiple applications on any website:

    • Fully responsive to perfectly resize itself.
    • Carousel mode for arranging images in 3D.
    • Cover-flow mode for flicking through tonnes of images.
    • Continuous scroll for non-stop images.
    • Swipe and drag support for maximum user control.
    • Mouse wheel and trackpad intelligence.
    • Dot navigation for moving forward/back.
    • CSS3 transitions with hardware acceleration.
    • Extended API and callbacks for greater JavaScript control.
    • Improved performance of visual effects.
    • Improve layout of 'Powered by' text, so it does not obscure the entire scroll.
    • Fix compatibility issue with MagicTouch.
    • Resolve possible conflicts with other JS libraries on the page.
    • Better compatibility with Magic Zoom Plus.
    • Fix issue with image size when scroller is running over Magic Zoom selectors.
    • Resolve issue with image loading in IE9.
    • Fix item size calculation.
    • Better compatibility with Magic Zoom and Magic Zoom Plus.
    • Other small fixes.
    • Resolve conflicts in IE.
    • Fix compatible issue with MagicThumb
  • After 9 months development, our powerful new scroll tool has arrived. Using JavaScript and CSS, it works on all major browsers as well as iPad, iPhone and other mobile devices. Features include:

    • Scroll images, text, SWF and even scroll HTML content (i.e. anything).
    • Change direction.
    • Adjust speed.
    • Choose effects.
    • Choose arrows.
    • Automatic or manual scroll.
    • Adjust margin and padding.
    • Adjust colors.
    • Click to URL.

Choose your Platform

Or Download the Vanilla JS version

ScrollMagic is an awesome jQuery animation JS library that allows you to do lots of cool stuff when scrolling down/up your web & mobile page.

With ScrollMagic plugin, you can...

  • Start an animation at a specific scroll position.
  • Synchronize an animation to the scrollbar movement.
  • Pin an element at a specific scroll position (sticky elements).
  • Pin an element for a limited amount of scroll progress (sticky elements).
  • Easily add a parallax effect to your website.
  • Create an infinitely scrolling page (ajax load of additional content).
  • Call functions when the user hits certain scroll positions or react in any other way to the current scroll position.

How to use it:

1. Install & download the ScrollMagic.

2. Import the core JavaScript ScrollMagic.min.js and plugins of your choice into the document. All available plugins:

  • animation.gsap.min.js: Requires GSAP. This plugin is meant to be used in conjunction with the Greensock Animation Plattform. It offers an easy API to trigger Tweens or synchronize them to the scrollbar movement. Both the 'lite' and the 'max' versions of the GSAP library are supported. The most basic requirement is 'TweenLite'.
  • animation.velocity.min.js: Requires velocity.js. This plugin is meant to be used in conjunction with the Velocity animation framework. It offers an easy API to __trigger__ Velocity animations.
  • debug.addIndicators.min.js: This plugin was formerly known as the ScrollMagic debug extension. It enables you to add visual indicators to your page, to be able to see exactly when a scene is triggered.
  • jquery.ScrollMagic.min.js: Requires jQuery library. This plugin is meant to be used in conjunction with jQuery. It enables ScrollMagic to make use of jQuery's advanced selector engine (sizzle) for all elements supplied to ScrollMagic objects, like scroll containers or trigger elements. ScrollMagic also accepts jQuery elements for all methods that expect references to DOM elements. Please note, that in most cases the first element of the matched set will be used. Additionally it provides the ScrollMagic object within the jQuery namespace, so it can be accessed using '$.ScrollMagic'.
Magic

3. Initialize the library on a controller element and define scenes as follows.

4. Possible options for the controller.

5. Possible options for the Scene.

6. API methods.

Changelog:

v2.0.8 (2020-08-15)

  • Added support for GSAP JavaScript animation library 3.

v2.0.7 (2019-05-07)

  • Fixed error in Safari when using setPin
  • Added missing semi-colon to isMobile regex
  • Fixed SVG element detection as Dom Element and related Error on Safari
  • Fixed code selection in examples
  • Pass Scene as this to duration callback
  • Increase fps limit for mobile support(advance) example.
  • Added documentation for responsive duration (e.g. '100%')
  • Updated Section Wipes (natural) to work for large number of sections.
  • Removed warning for pushFollowers in pins with duration 0, unless actively set to true.
  • Fixed some spelling stuff.

v2.0.6 (2018-10-20)

  • Bugfixes

v2.0.5 (2015-04-30)

  • Fixed: a JS error occurred in IE9 see here
  • Fixed: cascading pins of absolutely positioned elements didn't work see here
  • Fixed: scene state wasn't correct at start position see here
  • Fixed: updatePinState was called before scrollOffset update
Scroll

v2.0.4 (2015-04-08)

  • fixed JS error in IE9

v2.0.0 (2015-02-26)

  • removal of all dependencies (jQuery & GSAP) – ScrollMagic is now stand-alone.
  • new file structure
  • new scene event: add fires when scene is added to a controller
  • new scene event: remove fires when scene is removed from a controller
  • option changes in Scene.addIndicators()
  • several performance tweaks
  • lots more info and warning messages (in the uncompressed development version)

v1.3.0 (2014-11-13)

  • changed AMD loader behavior to export only one object -> {Controller: ScrollMagic, Scene: ScrollScene}
  • added Error message for missing dependencies
  • fixed bubbling of pseudo-resize event of div containers
  • reference bug with AMD loading

v1.2.3 (2014-10-25)

  • fixed: reference bug when using asynchronous loading

v1.2.2 (2014-10-21)

  • fixed: Error message with wrong loading order

v1.2.0 (2014-10-16)

  • AMD loader support
  • added warning for tweens being overwritten
  • better code for mobile clicks
  • updated draw example to camel case to support Firefox
  • updated parralax sections example to moving divs instead of background position
  • added new references
  • added favicon
  • scroll momentum increased in Firefox over fixed elements
  • parallax example was juggy in Firefox and Safari -> removed reliance of TweenMax ticker in favor of requestAnimationFrame
  • bugfix for pinned elements jittering if inside a container, because of the delayed position update in refreshInterval
  • bugfix: div resize event bubbled up to window

v1.1.2 (2014-09-16)

  • fixed a bug with the scrollTo method

v1.1.1 (2014-09-04)

  • Major update.

v1.0.9 (2014-08-19)

  • added new feature `ScrollMagic.scrollTo()`

v1.0.8 (2014-05-27)

  • Feature: add class for pinned element during pin

v1.0.7 (2014-04-15)

  • feature: ScrollScene.startOffset

v1.0.6 (2014-04-05)

  • fixed a bug concerning relative sizing of pinned elements

v1.0.5 (2014-03-24)

Magic Scroll Js Online

  • updates.

This awesome jQuery plugin is developed by janpaepke. For more Advanced Usages, please check the demo page or visit the official website.

  • Prev: Simple Parallax Scrolling Effect with jQuery and CSS3 - Efecto Parallax
  • Next: Animated jQuery Popup Dialog Plugin with CSS3 - animateDialog