I’m currently working with the following code:
$("li.className").click(function () {
$(this).fadeTo(1000, 0);
});
which turns the <li> opacity down on click. How do I make this happen with no user interaction at all, such as when the page loads or after a certain duration of time?
on page load:
after a duration of time: