Results 1 to 15 of 15
Feb 1, 2012, 08:35 #1
- Join Date
- Nov 2011
- 0 Post(s)
- 0 Thread(s)
Element Fade Out - Compatibility Coding
<h1 id="myh1" onclick="fadeout();">Click Me</h1>
How can i edit it to fade on other widely used browsers that don't support 'opacity'?
How can i edit it so that the h1 will just disappear if opacity is not supported?
How do i check if opacity is supported?
I welcome any other comments about the way I've chosen to do the fade.
(if you're wondering why I use the 'y' variable like that, for some reason when I was decrementing x by 0.1 it was coming out with weird values, changing to 0.90000011234 or something rather than just 0.9)