I have a sliding div menu made with jQuery, but you have to click on the LINK within the Div in order to make it slide. Can anyone tell me how to make the div ITSELF clickable?
You can see the menu and code here: http://jsfiddle.net/WhfDc/
I've tried to use CSS to make the anchor cover the entire div and it works sometimes. Any idea whether this is correct or not?
Yes, it is possible by attaching click event handler on the div instead of anchor element which is inside the div.
Also I would suggest you to use jQuery to attach event handler instead of inline event handler.
Working demo - http://jsfiddle.net/WhfDc/1/