dillybaby36
06-29-2012, 06:16 PM
1) Script Title:
Animated Collapsible DIV v2.4
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
3) Describe problem:
Hello. I'm having some trouble with the toggle functionality of this script in Internet Explorer. I have five collapsable divs that all work perfectly in Safari, Firefox and Chrome. But in IE when you click the link to open a div it starts to open and then pops back into the closed position. I've tried many different tweaks to fix this such as:
- changing the links from href="javascript..." to using the [rel] method
- changing the initial hidden state technique from "display: none;" in the div to the "hide=1" up in the <head>
- messing around with the location of the <!DOCTYPE HTML> code
The one thing I've done which made a difference in the toggle functionality is removing another DOCTYPE code from the very top of my document, this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
For some reason, when I remove that all of the links work to toggle the divs. But it causes a whole bunch of layout problems so that doesn't seem right.
Anyways, this is for my wedding website and you can see it here:
http://david-and-michelle.com/
Thanks in advance for your help.
- David
Animated Collapsible DIV v2.4
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
3) Describe problem:
Hello. I'm having some trouble with the toggle functionality of this script in Internet Explorer. I have five collapsable divs that all work perfectly in Safari, Firefox and Chrome. But in IE when you click the link to open a div it starts to open and then pops back into the closed position. I've tried many different tweaks to fix this such as:
- changing the links from href="javascript..." to using the [rel] method
- changing the initial hidden state technique from "display: none;" in the div to the "hide=1" up in the <head>
- messing around with the location of the <!DOCTYPE HTML> code
The one thing I've done which made a difference in the toggle functionality is removing another DOCTYPE code from the very top of my document, this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
For some reason, when I remove that all of the links work to toggle the divs. But it causes a whole bunch of layout problems so that doesn't seem right.
Anyways, this is for my wedding website and you can see it here:
http://david-and-michelle.com/
Thanks in advance for your help.
- David