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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T08:19:48+00:00 2026-06-11T08:19:48+00:00

The following successfully toggles the div landlord_pop_up. However, it doesn’t set the css property

  • 0

The following successfully toggles the div landlord_pop_up. However, it doesn’t set the css property for the div landlord_pop_up on toggle. Any ideas would be much appreciated. I am try to get the popupBox height to change from 20em to 42 em on toggle.

$(function () {
    $('#toggle1').click(function () {
        $('#landlord_pop_up').slideToggle(function () {
            $(".popupBox").css({
                "height": "42em"
            });
        }, function () {
            $(".popupBox").css({
                "height": "20em"
            });
        });
    });
});
  • 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-11T08:19:49+00:00Added an answer on June 11, 2026 at 8:19 am

    This toggles the height of the pop up box after sliding:

    $(function() {
        $('#toggle1').click(function() {
            $('#landlord_pop_up').slideToggle(function(){
                $(".popupBox").toggle(function () {
                    $(this).height("42em");
                }, function () {
                    $(this).height("20em");
                });
            });
        });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the following code successfully with HTTP but I would like to use
I have the following script running successfully. However if I try to use a
Following a previous post I (almost) successfully implemented highlighted navigation using CSS and Rails.
The following example runs successfully (i.e. doesn't hang) if compiled using Clang 3.2 or
I have used the following successfully to reset expectations between tests: MyMock.BackToRecord(BackToRecordOptions.Expectations); MyMock.Replay(); However,
I'm using knockout in the following manner successfully: <div id=Options data-bind=foreach: Options> <button type=button
I have defined the following procedure successfully in my database, but somehow it doesn't
After following successfully the method to set multiple LAUNCHER activities (as described in https://stackoverflow.com/a/3270783/978329
The following rule works (successfully redirects) for urls like: www.site.com/some/path But doesn't work (404)
I currently have the following objects persisting successfully: Person first name, etc. Exams title,

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.