473,567 Members | 2,908 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Simple Animated Collapsing DIV: Broke in IE

http://www.adamrisser.com/test.php

It works perfect in Firefox, but doesnt work at all in IE. I am not
sure what I am missing here. Any suggestions? Thanks!

May 23 '06 #1
2 1323
Ok i figured it out so I thought I would share.

It turns out the problem was that when the div tried to shrink, it hit
the content and IE wouldnt let it go any smaller. I set over:hidden on
the div I was collapsing and now it works.

May 23 '06 #2
ar*****@gmail.c om wrote:
http://www.adamrisser.com/test.php
It works perfect in Firefox, but doesnt work at all in IE.
It works for me. I click the collapse link once, something happens at the
bottom. Click it again, and the text collapses.
I do get a JS error, though.
I am not sure what I am missing here.
Nor am I, since you didn't say what you intended to happen!
Any suggestions?


Make a minimal example that still exhibits the problem. Remove everything
that is not necessary to demonstrate what the specific problem is. In doing
so, you may very well solve your own problem. If not, then posting the
simplified example would make it much easier for someone here to figure out
exactly what is wrong.

--
Matt Kruse
http://www.JavascriptToolbox.com
http://www.AjaxToolbox.com
May 23 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1011
by: metsymani | last post by:
In my web application, I have a search screen coded in ASP.Net. The Search process takes lot of time. So, I need to show a wait page informing the user that "Search is in progress. Please wait" along with an animated gif. I have placed a div in the search page which contains the message and animated gif. I hide the div by making "display: none" in...
2
5348
by: ctrl+alt+delete | last post by:
I have a DIV on my webpage that is set to be hidden (style="display: none"). Within the DIV is an animated gif that's simply a graphic that simulates data flowing from the clients PC to the server. This a form page (self-submitting). When the user submits the form, I have some Javascript that sets the DIV to be displayed. The problem is that...
5
1887
by: Borris | last post by:
<div style="background-color: blue; width: 500px; height: 300px"> <div style="background-color: red; margin-top: 100px; margin-left: 100px; width: 300px; height: 100px"> </div> </div> Where will the red box be positioned? Even experienced web developers often expect it to be in the middle of the blue box, but instead (on...
4
1653
by: rigga | last post by:
Hi, I am relatively new to php and am currently working on a site where I need to use a collapsing menu system. I have written the code to do this however I am completely at a loss to do one particular thing. To best explain what the problem is I will give you an overview of how the menu hangs together. The menu looks like this:
2
2415
by: Stanimir Stamenkov | last post by:
I'm trying to clear some sizing issues relative to the initial containing block and the root document element. The sample document I'm trying with: http://stanio.info/viewport_fill.html Basically, for some tests I want to specify the height of an example DIV element inside the BODY using percentages of the viewport height. For this to...
1
1728
by: yb | last post by:
Hi, I'm looking for clarification of css 2.1 specification in section 8.3.1 "Collapsing Margins" The 6th bullet reads "If the top and bottom margins of a box are adjoining ..." I won't paste the whole point here, its too long. But, from this first line does this mean that the element has empty
4
20534
by: Al_C | last post by:
It's not that I expected it to work, but can anyone explane why if I put an animated gif as the background image of a form it is no longer animated? Is there any way to actually do that? Thanks, Al
10
2783
by: samuelberthelot | last post by:
Hi, I have the following code that shows up a div with an animated gif inside, executes a cpu intensive function using setTimeout and then hide the div again: getEl('divWaiting').style.display = 'block'; window.setTimeout(function(){me.FM.addFlagPopBox(me); getEl('divWaiting').style.display = 'none';}, 1000); issue is that the animated...
3
1406
OuTCasT
by: OuTCasT | last post by:
Hi Guys I would like to use a preloader to load my .aspx page. Just for activity on the page so the users see that something is actually happening. I have a animated .gif loading image. I read you need to use a div that is hidden but i cant seem to get it right, the gif image is not animated when the div appears.
0
7688
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8115
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6272
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5488
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5216
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3630
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2093
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1205
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
930
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.