iyeru42 Posted August 19, 2007 Share Posted August 19, 2007 I was wondering how to acheive a fade effect for block level elements like below.Is this possible in JS? If so, how? Link to comment Share on other sites More sharing options...
jesh Posted August 20, 2007 Share Posted August 20, 2007 I've never attempted that effect, but you should be able to do it by using javascript and the DOM to set the opacity of the link. If the link is in the main area, fully visible, its opacity would be set to 100%. If it were fading out at the top or bottom, you could set the opacity to 25% or so.Here's an article on how to set the opacity of an element:http://www.quirksmode.org/js/opacity.html Link to comment Share on other sites More sharing options...
Kingy Posted August 21, 2007 Share Posted August 21, 2007 Or even ask one of the staff at deviantart. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.