Git Product home page Git Product logo

lazy-click-ad-slider's Introduction

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

lazy-click-ad-slider's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.