Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
A jQuery plugin for panning website visuals and screenshots by mouse movement in a fixed height
A jQuery plugin for panning website visuals and screenshots by mouse movement in a fixed height <div>
Packages are available via Bower and NPM
npm install --save vispan
bower install --save vispan
Include dist/css/vispan.css
and dist/js/vispan.js
in your page, ensuring jQuery is loaded first.
<!-- css -->
<link rel="stylesheet" href="bower_components/vispan/dist/css/vispan.css">
<!-- jQuery -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<!-- VisPan -->
<script src="bower_components/vispan/dist/js/vispan.js"></script>
Format your website visuals/slides in the following format
<div id="visuals">
<div><img src="assets/img/web/home.jpg"></div>
<div><img src="assets/img/web/about.jpg"></div>
<div><img src="assets/img/web/contact-us.jpg"></div>
</div>
Give #visuals
a fixed height
#visuals {
height: 420px;
}
Finally, call the vispan method in your javascript
$(document).ready(function() {
$('#visuals').vispan()
})
FAQs
A jQuery plugin for panning website visuals and screenshots by mouse movement in a fixed height
We found that vispan demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.