wroobelek wrote:
<script type="text/javascript">
$(document).ready(function() {
$('div#po_info> div.woj').hide();
$('div#po_info> area').click(function() {
$(this).next('div.woj:hidden').slideDown('normal')
.siblings('div.woj:visible').slideUp('normal');
});
});
</script>
where div "woj" should be shown (or appear, or slide, or what-so-
ever :-) ) when clicked on the appropriate part of the image.
With the code above all "woj" divs are hidden (success) but when you
click on the imagemap nothing happens.
I don't see this code on your preview page at
http://txp.ctpoland.pl/ctpoland
but I think I might see your problem. This code
$('div#po_info> area')
selects those area elements which are the direct children of the div in
question. Presumably, your area elements are actually children of a map
element. Remove the ">" from the selector and see if that helps.
Cheers,
-- Scott