Solved

Problem with div height decreasing jquery

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

DOM Attributes and Properties treatment with jQuery 1.6 by Ivo Stoykov jQuery (http://jquery.com/) 1.6 introduces .prop() (http://api.jquery.com/prop/) and .removeProp() (http://api.jquery.com/removeProp/) methods which allow modifying or removi…
Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
The viewer will learn how to dynamically set the form action using jQuery.
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)

747 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

13 Experts available now in Live!

Get 1:1 Help Now