Solved

Problem with div height decreasing jquery

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

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…
PROBLEM: The other day I was working on adding an ajax request to a webpage that already had a dialog box on the page.  The dialog box was using relative positioning to be positioned next to a form field I had on the page.  Everything was working…
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…

896 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now