Reply – Re: Challenge: how to bypass shadowbox with image map "area" getEl...
Your Name
Subject
Message
or Cancel
In Reply To
Re: Challenge: how to bypass shadowbox with image map "area" getElement command!
— by HenzeBerkheij HenzeBerkheij
so..basically you want a picture to open shadowbox unless you click on an other part of the image??

anyway.. the getElementsByTagname returns an array of htmlobjects...what you can do is loop through them and filter the ones out you don't want to hook Shadowbox on...if that is what you want to achieve...

the best method is loop through them and put the ones you want to add to shadowbox into a new array and then put that array in the Shadowbox.setup.