Su schrieb: > I don't know if there's actually a way around it, but let's take the > following: > > ---------------------------------------- > |IMAGE | > ---------------------------------------- > > The dashes represent the box created by an H2 tag, and IMAGE is, well, > an image. > > If I define H2 as the header for my accordion, it only works so long > as I click on the part of that box which is /only/ the H2(the empty > space). If I click the image, it fails to execute. > > This makes /logical/ sense, but in use, visitors are much more likely > to try and click the image. The first thing that comes to my mind is to add the click event handler to the header itself and all it's children.
-- Jörn Zaefferer http://bassistance.de _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
