[jQuery] Can't figure out why click function won't work for lifeimage
I've spent a good bit of time trying to figure this out, so I figure now it's time to go to the forum. I've trying to make "lifeimage" clickable so I can do other stuff with it, but I can't even seem to get the click event to function. Code is below. Code: http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> Vamp's World $(document).ready(function() { // JQUERY stuff goes here $('div#menu').hide(); $('#lifeimage').click(function() { $(this).hide(); }); }); http://twitter.com/ flash/twitter_badge.swf" width="144" height="176"> http://twitter.com/flash/twitter_badge.swf"; /> http://www.macromedia.com/go/getflashplayer"; /> follow WTVamp at http://twitter.com THE SURROUNDING WATERS He walked alone on the sandy beach, and stared off into the distance. The waves lapping at his feet, reminding him of someone lost, of a child taken in by the surrounding water. He raised her for eleven years, and loved her as his only daughter. As a child she cried screamed, and cried fearful tears, at the sight of the cold dark water. He told her, stories he learned as a child, of sunsets and hidden treasures, and the surrounding beauty of the water. And as she grew older, he remembered them standing together, watching the storm hit the rocks below, and the ocean flew up and came crashing over them, and she smiled at him under the stormy waters. She grew so fond, of the beach and the surrounding water. She left him alone one night, and swam out to see how far it could reach. She died in the cool black darkness, of the vast surrounding water. And he cries, whenever he walks along the beach. Still he does it every night, just to remind him of her,
[jQuery] Can't figure out why click function won't work for lifeimage
I've spent a good bit of time trying to figure this out, so I figure now it's time to go to the forum. I've trying to make "lifeimage" clickable so I can do other stuff with it, but I can't even seem to get the click event to function. Code is below. Code: http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> Vamp's World $(document).ready(function() { // JQUERY stuff goes here $('div#menu').hide(); $('#lifeimage').click(function() { $(this).hide(); }); }); http://twitter.com/ flash/twitter_badge.swf" width="144" height="176"> http://twitter.com/flash/twitter_badge.swf"; /> http://www.macromedia.com/go/getflashplayer"; /> follow WTVamp at http://twitter.com THE SURROUNDING WATERS He walked alone on the sandy beach, and stared off into the distance. The waves lapping at his feet, reminding him of someone lost, of a child taken in by the surrounding water. He raised her for eleven years, and loved her as his only daughter. As a child she cried screamed, and cried fearful tears, at the sight of the cold dark water. He told her, stories he learned as a child, of sunsets and hidden treasures, and the surrounding beauty of the water. And as she grew older, he remembered them standing together, watching the storm hit the rocks below, and the ocean flew up and came crashing over them, and she smiled at him under the stormy waters. She grew so fond, of the beach and the surrounding water. She left him alone one night, and swam out to see how far it could reach. She died in the cool black darkness, of the vast surrounding water. And he cries, whenever he walks along the beach. Still he does it every night, just to remind him of her,