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 8107311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T00:43:42+00:00 2026-06-06T00:43:42+00:00

New but keen jquery user here, please be gentle :) I am using the

  • 0

New but keen jquery user here, please be gentle 🙂

I am using the fantastic caroufredsel (responsive jquery carousel), and have set it up initially so I am happy with the scrolling functionality.

It is displaying a list of guitars. Currently there are only 3, but I want to allow for more to be added in the future.

I am building a responsive site, and at smaller screen sizes only 2, and then 1 guitar is visible at a time. The problem is that is you start with a full-width browser, when you resize to a smaller screen, the jquery doesn’t re-fire to take this into account. Therefore you need to refresh the screen at the smaller size to make the slider controls appear.

Like-wise if you start with a small screen, when enlarging it, the controls remain onscreen even though they are functionally useless, as all of the items are showing.

I therefore only want the controls to be visible if necessary (ie, not if all the contents of the carousel are visible at once), and for them to adjust in response to the current screen size without a refresh.

I believe this is possible by destroying the carousel and re-firing it when the screen is resized, but I just cannot make it work.

The site is online at this address: http://www.wirebirdguitars.com/staging/guitars.html

Any help / suggestion would be truly appreciated. Thanks!!

  • 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-06T00:43:43+00:00Added an answer on June 6, 2026 at 12:43 am

    Add this to your JS.

    function doSomething() {
    
        $('#guitars-gallery').trigger('destroy');
    
        $("#guitars-gallery").carouFredSel({
        auto: false,
        circular: false,
        prev: '#prev',
        next: '#next',
        responsive : true,
        height : 'auto',
        items : { width : 400, visible : { min : 1, max : 3 } } });
    
    };
    
    var resizeTimer;
    
    $(window).resize(function() {
        clearTimeout(resizeTimer);
        resizeTimer = setTimeout(doSomething, 100);
    });
    

    Inspired by this question.

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

Sidebar

Related Questions

I'm very new to jQuery but keen to learn. Because of this I'm using
I'm new here but got log of benefit from this site. I'm planning on
I am not new to Wordpress, but new to PHP. I have managed to
I've a lot of Java experience but new to C++. I need to have
I am familier with jQuery,Ajax and JSP Servlets but new to Struts2.I want to
I am new to R and keen to learn but am finding myself particularly
I've been using repositories for data access for some time now but have never
I'm not quite new but still have a few noob questions this is one
I'm keen to use the jQuery validator plugin to validate my code, but I
Making a new site but something is happening to it in IE8. The social

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.