![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
dom-slideshow
Advanced tools
import DOMSlideshow from 'dom-slideshow';
Pick dist/dom-slideshow.min.js and place in your HTML:
<script src="path/to/dom-slideshow.min.js"></script>
Make a wrapper <div>
with height
. Then place DOMSlideShow divs.
<div style="height: 500px">
<div class="DOMSlideshow">
<ul class="DOMSlideshow__Inner">
<li class="DOMSlideshow__Item -zoomin">
<div class="DOMSlideshow__ItemContent">content 1</div>
<div class="DOMSlideshow__ItemEffect" style="background-image: url( img/1.jpg );"></div>
</li>
<li class="DOMSlideshow__Item -rtol">
<div class="DOMSlideshow__ItemContent">CONTENT 2</div>
<div class="DOMSlideshow__ItemEffect" style="background-image: url( img/2.jpg );"></div>
</li>
<li class="DOMSlideshow__Item -zoomout">
<div class="DOMSlideshow__ItemContent">content 3</div>
<div class="DOMSlideshow__ItemEffect" style="background-image: url( img/3.jpg );"></div>
</li>
<li class="DOMSlideshow__Item -ltor">
<div class="DOMSlideshow__ItemContent">CONTENT 4</div>
<div class="DOMSlideshow__ItemEffect" style="background-image: url( img/4.jpg );"></div>
</li>
</ul>
</div>
</div>
There are 5 effect types. Set a modifier class to apply.
ClassName | Effect |
---|---|
-zoomin | zoom in |
-zoomout | zoom out |
-rtol | right to left |
-ltor | left to right |
no class | just fade out |
then run it
new DOMSlideshow( document.querySelector( '.DOMSlideshow' ) );
if you dont want to write JS, just set data-dom-slideshow-autostart
attribute.
See the Basic demo.
See the Events demo.
FAQs
## Examples
The npm package dom-slideshow receives a total of 2 weekly downloads. As such, dom-slideshow popularity was classified as not popular.
We found that dom-slideshow 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.