Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8229435
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T16:47:39+00:00 2026-06-07T16:47:39+00:00

I am trying to present an Image Slider in a liquid layout (parent) and

  • 0

I am trying to present an Image Slider in a liquid layout (parent) and I do not like to limit the height and with of the images while they can be requested by big screen monitors (27″) to smalls one like 11″ or even less.
Can you please let me know if there is plugin to help me to fix this issue?
Right now I am using a slider(plugin – Nivo) which has a fixed layout and I am not able to change it to liquid
Here is the Code which I have:
HTML

 <!DOCTYPE HTML>
 <html>
 <head>
 <title>GALLERY</title>
 </head>
 <body>
 <div id="row_1">
 <div class="container"></div>
 </div>
 <div id="row_2">
 <div class="container">
 <div id="slideshow"> 
 <div id="slider"> 
 <img  src="img/1.jpg" title="" style="" /></div>      
 <img  src="img/2.jpg" title="" style="" /></div> 
 <img  src="img/3.jpg" title="" style="" /></div> 
 <img  src="img/4.jpg" title="" style="" /></div>      
 </div> 
 </div>  
 </div>
 </div>
 <div id="row_3">
 <div class="container"></div>
 </div>
 </body>
 </html>

CSS

 * {
    margin: 0;
    padding: 0;
    }
 html{
    height:100%;
    width: 100%;
   }
 body {
  background-color: #272321;
  height:100%;
  width: 100%; 
  }
 #row_1 {
  position:relative;
  height:15%;
  width: 100%;
 }
 #row_2{
   position:relative;
   height:77%;
   width: 100%;
  }
  #row_3{
   position:relative;
   height:8%;
   width: 100%;
   background-color: #151110; 
   }
  .container{
   position:relative;
   margin: 0 auto;
   height:100%;
   width: 80%;
  }

Do you think if it is a good idea that I use several layouts for different screen size? Is there any way to fix this things with Jquery?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T16:47:40+00:00Added an answer on June 7, 2026 at 4:47 pm

    I don’t know about pre-canned plug-ins, but it’s not much of your own code to handle this.

    You can attach an event handler to window resize, check the size of your container div and use your own javascript to select new image sizes for the slideshow based on the new container size.

    Using a slight delay to prevent the code running hundreds of times during a resize, it could look like this:

    (function() {
        var pauseTimer;
    
        $(window).resize(function() {
            // clear any previous timer running
            if (pauseTimer) {
                clearTimeout(pauseTimer);
            }
            // set new timer
            pauseTimer = setTimeout(function() {
                // user finished or paused resizing, 
                // so now we can recalculate slideshow size
                pauseTimer = null;
                // examine the size of your container div
                // select a new size image for your slideshow and load those images here
            }, 500);
        })
    })();
    

    Here’s a demo: http://jsfiddle.net/jfriend00/Tucf2/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to do something like this http://myweb.com//page If first parameter is not present
I'm trying to install Swish-E ,but unfortunately a windows installer is not present so
I am trying to create an image in memory so that I can combine
I'm trying to present the details of any file under Ubuntu using C .
I'm trying to present the user with a list of links (properties: Title, url,
I'm trying to present a modal view controller after selecting a contact and it
I am trying to present a modal view controller. I have read the documentation,
I'm trying to call a function present in one class from another class by
I am trying to delete the data present in the dataset with following code:
I am trying to extract data that corresponds to a stock that is present

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.