Sticky Section Right Side – jQuery Plugin

sticky section in right side with scrolling
File Size:3.68 KB
Views Total:291
Last Update:January 5, 2018
Publish Date:January 5, 2018
Official Website:Go to website

The Sticky section right side on the page use with a little bit code with jQuery. it depend on jQuery with CSS. it is work when the page to longer with scrolling by user  then in the right side sticky section perform with scrolling.The quote details where to be displayed to the right of the form, but the form was longer than the height of the page so scrolling was required.

How to use :

1.  you can add the jQuery library included on your page :

<script src="jquery-1.3.2.min.js" type="text/javascript"></script>

2. Give the element that will be dynamically repositioned an id so that it can be found in the DOM :

<div id="scrollingDiv"> <--- notice the id tag
       Your content in here

3. Add jQuery scroll event has fired we need to actually do something :

              .animate({"marginTop": ($(window).scrollTop() + 30) + "px"}, "slow" );

Done 🙂