you can bind an onclick event to an element by selecting the element
though jQuery then using .click(function() {});

e.g. $('img.imagebox').click(function() { $('div.large
img').attr('href', $(this).attr('href'); });

this would bind a click event to every image with a class name of
image box, when clicked on would load the image into a div with a
class name of large.

Hope this helps you on the track to what you are trying todo.

/James

On Oct 28, 8:06 am, faraz <[EMAIL PROTECTED]> wrote:
> Hi,
>  I am working on Imagebox jquery plugin.I works on document ready
> event.But in my script i want it to work on mouseclick Event.I tried
> to make it work but not successful.Can anyone tell me how can i
> perform this functionality.In short i want imagebox slideshow onClick
> event.Your help will do a great for me.

Reply via email to