Skip to content

KyleDEV/Lazy-Click-Ad-Slider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lazy Click Ad Slider

LCAS is a responsive CSS/JavaScript carousel library designed for lazy loading of images such as ad banners and photos.

It initially loads only one image when the web page is first accessed and subsequently loads the next image only when the "next" button is clicked. The size of each slide item adjusts to fit the width or height of its container.

The LCAS folder

Everything you need is included inside.

slide.html

Open the file in your web browser to see an example of a webpage with the LCAS carousel embedded:

This webpage demonstrates how the LCAS carousel integrates into your site.

slide.html

To add your images, place their links in the data-items attribute. The number of images does not matter. The src attribute specifies the image source, and the href attribute is used for the <a> tag link.

LCAS will convert your entries as shown below:

<div class="lcas-carousel-item">
  <a target="_blank" href="https://kyleplanet.com/en/">
    <img src="images/L-1.jpg">
  </a>
</div>

The page includes the library’s main CSS and JavaScript files using <link> and <script> tags: styles.css and lcas.js.

The CSS styles within the <head> tag are sample styles to apply to your widget containers.

slide.html

About

Clickable Lazy Loading Image Ad Slider

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published