Solved

Problem with div height decreasing jquery

Posted on 2009-03-31
3
210 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
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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

I have answered several questions lately that were solved utilizing the power of jQuery's AJAX functions, so I thought I would write an article demonstrating the ease of use. Why should I use jQuery as opposed to regular JavaScript? Now I know…
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
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…

791 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