Solved

Problem with div height decreasing jquery

Posted on 2009-03-31
3
212 Views
Last Modified: 2013-12-27
Hello Experts,

I am using the jquery accordion plugin to display a simple accordion menu.  It seems to be working fine in Firefox, but in IE7 the height of the div in each accordion panel shrinks each time it's opened and closed.  If you open and close it enough the div will shrink itself down to almost nothing.

Has anyone encountered this before?  Or know what might be causing it?

Thanks for any help.
0
Comment
Question by:soapygus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 16

Accepted Solution

by:
anoyes earned 500 total points
ID: 24033212
There are a couple of other posts talking about jQuery accordion issues in IE 7.  The issue as these posts detail it centers around the lack of an explicitly defined border.  One way to solve it would be to define an explicit border for your according panels, but probably the better solution is to upgrade to the latest JQ UI version, 1.7.1.

http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Jquery/Q__24275532.html

http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Jquery/Q_24231628.html

If these posts don't fix it for you let me know and we'll dig more in depth.
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question