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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T11:50:49+00:00 2026-06-10T11:50:49+00:00

i have implemented this script on a site for the scrollTo plugin, but i

  • 0

i have implemented this script on a site for the scrollTo plugin, but i don’t really understand javascript/jquery enough to edit everything i need. the way this is written, it sets a 100% height so content gets cut off. i know enough to see i need to change a definition/variable here, but don’t know what i would be replacing it with. min-height? can i put a fixed number in there? i would like to write to the min-height css property if at all possible.

function resizePanel() {

    width = $(window).width();
    height = $(window).height();

    mask_width = width * $('.item').length;

    $('#debug').html(width  + ' ' + height + ' ' + mask_width);

    $('#wrapper, .item').css({width: width, height: height});
    $('#mask').css({width: mask_width, height: height});
    $('#wrapper').scrollTo($('a.selected').attr('href'), 0);

}

thanks in advance. i tried searching for syntax questions on google but i doubt i’m searching for the right terms as i came up with zilch.

  • 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-10T11:50:50+00:00Added an answer on June 10, 2026 at 11:50 am

    You can use .css() to set the min-height property like this:

    $('#mask').css({width: mask_width, "min-height": height});
    

    I think minHeight: would also work; jQuery recognizes both CSS-style and DOM-style spellings.

    That said, it might be better to leave JavaScript alone and tweak the appearance using CSS. Maybe you can just put a CSS rule like #mask { min-height: 100%; } in your stylesheet.

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

Sidebar

Related Questions

I have this jQuery plugin called Easy Slider which I'm implementing on this site
I have implemented some javascript on my wordpress site but I am getting the
I haven't yet implemented this, I'm still in the thinking stage, but I have
I have a site and i implemented ssl there. but when i browse it,
I am currently using - http://code.drewwilson.com/entry/autosuggest-jquery-plugin for an autosuggest on my site. I have
So, I have implemented this method to add a footer to my table view:
I have a collection class MyCollection<T> . I have implemented T this[string name] ,
I have a singleton implemented like this: class Test123(object): _instance = None def __new__(cls,
I have implemented correctly bump's api, and added this code: - (void) configureBump {
Looking at this article: http://www.galloway.me.uk/tutorials/singleton-classes/ I have implemented a singleton, my question is the

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.