Hi Richard,
Thanks for taking time out of your schedule to help me learn how to
write simplified code!
Cheers,
Calvin
On Thu, Apr 16, 2009 at 9:47 PM, Richard D. Worth rdwo...@gmail.com wrote:
You only need one document.ready, and there's a shorthand:
$(function() {
You only need one document.ready, and there's a shorthand:
$(function() {
$(li.one).click(function() {
$(div.a).toggle(highlight, {}, 1000);
});
$(li.two).click(function() {
$(div.b).toggle(highlight, {}, 1000);
});
$(li.three).click(function() {
$(div.c).toggle(highlight,
2 matches
Mail list logo