![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
(with javascript) Any ideas? |
|
(currently MSIE only) |
#3
| |||
| |||
|
|
I'm animating a menu by changing its opacity (with javascript) from 0 to 100 in steps of 10 at 10ms intervals. It works perfectly the first time, the problem is that after it's done it once it doesn't work again. I've checked and the loop is definatly working, the values are definatly being set etc, I see no reason why it stops working after the first time. Any ideas? |
#4
| |||
| |||
|
|
"Phillip Parr" <no (AT) no (DOT) com> wrote: (with javascript) Any ideas? Don't crosspost js questions to a stylesheet newsgroup. (currently MSIE only) Note the "www" in this group's name, we author for the web. -- Spartanicus |
#5
| |||
| |||
|
|
(with javascript) Any ideas? Don't crosspost js questions to a stylesheet newsgroup. (currently MSIE only) Note the "www" in this group's name, we author for the web. opacity is a css element |
#6
| |||
| |||
|
|
"Phillip Parr" <no (AT) no (DOT) com> wrote: opacity is a css element Proposed for CSS3, not working in any browser. |
#7
| |||
| |||
|
|
"Spartanicus" <me (AT) privacy (DOT) net> wrote in message news:78bqq0tsajc39fuqdbl4i6e9i8sr76tcb6 (AT) news (DOT) spartanicus.utvinternet.ie... "Phillip Parr" <no (AT) no (DOT) com> wrote: (with javascript) Any ideas? Don't crosspost js questions to a stylesheet newsgroup. (currently MSIE only) Note the "www" in this group's name, we author for the web. opacity is a css element, for all i knew it could have been a css problem. |
#8
| |||
| |||
|
|
opacity is a css element, for all i knew it could have been a css problem. |
#9
| |||
| |||
|
|
Top posting is not appreciated here, snipping quotes is. Corrected this once. "Phillip Parr" <no (AT) no (DOT) com> wrote: (with javascript) Any ideas? Don't crosspost js questions to a stylesheet newsgroup. (currently MSIE only) Note the "www" in this group's name, we author for the web. opacity is a css element Proposed for CSS3, not working in any browser. -- Spartanicus |
#10
| |||
| |||
|
|
Phillip Parr wrote: I'm animating a menu by changing its opacity (with javascript) from 0 to 100 in steps of 10 at 10ms intervals. It works perfectly the first time, the problem is that after it's done it once it doesn't work again. I've checked and the loop is definatly working, the values are definatly being set etc, I see no reason why it stops working after the first time. Any ideas? I don't know what causes IE to not animate it the second time. However, adding an additional document.getElementById(animate).style.filter="alp ha(opacity=100)"; in your fadeIn function, might be a workaround: function fadeIn() { if(!opacityx) { anitimer=setInterval("fadeIn();",10); document.getElementById(animate).style.filter="alp ha(opacity=100)"; } ... } Daniel |
![]() |
| Thread Tools | |
| Display Modes | |
| |