Giter VIP home page Giter VIP logo

Comments (4)

davidghi avatar davidghi commented on July 21, 2024

Yes: forceSize: 'fullWindow'

from slider-pro.

janeks avatar janeks commented on July 21, 2024

Maybe I'm missing something but the forceSize: 'fullWindow' makes only the slider container 100%. It doesn't cover the full browser window. Website header and footer are still visible.

Slider-Pro container in fullWindow mode has style style="margin: 0px 0px 0px -372.5px; width: 1920px;.

The example I've provided a link to, has a slider container styled: style="position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; z-index: 10000;". It fills up the whole browser window and stays on the top of any other content.

from slider-pro.

davidghi avatar davidghi commented on July 21, 2024

When you set forceSize: 'fullWindow', the slider's width and height will become equal to the window's size. In the link you posted, there isn't a header or footer or any other content besides the slider; use the slider in the same context and it will look exactly the same. If, however, you have other content in the page and you want to have the slider displayed in the background and visible on the entire page, that's something else and for that it's important in what container you insert the slider. You need some HTML and CSS knowledge for this. You can try it first with a simple image and after you achieved placing it properly you can replace the image with the slider.

from slider-pro.

janeks avatar janeks commented on July 21, 2024

As long as I know that fullWindow resizes only the holding container I’m OK with it. It’s easy to overwrite.

Contrary to your explanation styling container position as fixed and using large z-index creates the full window effect on any kind of content including the one with header and footer.

Thank you for an excellent product and prompt support.

from slider-pro.

Related Issues (20)

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.