• 0

flash click


Question

Hello Neowinians,

I am using .live function to trigger a click event on a flash object. But this doesn't work in chrome. I looked up in the API of jQuery and since version 1.7 it's recommended using .on instead.

I tried it with .on but it will not work. Does anyone have an idea how I can get this working?


$("#pictor-logo").on('click',function(){
$("#about").animate({
right: "+=360"
}, 1500);
$("#content-index").animate({
left: "+=460"
}, 1500);
$(".menu").show(1500);
$("#pictor-logo").off('click');
});
[/CODE]

[edit] I'm using the latest jQuery 1.7.1 :)

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.