Awesome idea, I tried that however the problem is, in order to make it work, the cluetip I bind to component should be activated with a user click before the trigger mechanism become able to work. That means, if I run trigger('click') before clicking the element by hand, It doesn't work. But after clicking,trigger works.
The thing I'm trying to accomplish is, binding cluetip with json data to a link and opening it at the user click but both should be completed in one click. However I can only fetch the data at the first click and I can show the cluetip at the second click. Also it seems like the trigger click I wrote below doesn'T work, I'm triggering with another buttons click in my comp, however this is how it should be. I'm pasting my code below, $('.class2').click(function(){ if($(this).attr('clicked')=="false"){ var id=$(this).attr('tel'); c=$(this).attr('id'); $("#c"+id).attr({clicked : "true"}); $.getJSON("editProfileReturn.php?eid="+$(this).attr ('name') ,{}, function(data){ var html="bla bla"; $("#disclosure").html(html); $("#a"+id).cluetip({ cluetipClass: 'jtip',activation:'click', width: 400, local: true, cursor: 'pointer',hoverClass: 'highlight', hideLocal: true}); }) } },function(){ $('#a160').trigger('click') }) Thanks a lot, On Mar 18, 3:39 pm, Karl Swedberg <k...@englishrules.com> wrote: > You could trigger the activation event. Something like this, maybe: > > $('#mytip').cluetip({activation: 'click'}); > > And then later, when you want to show it: > > $('#mytip').triggerHandler('click'); > > Or if you don't have activation: 'click', you could just do this: > > $('#mytip').trigger('mouseover') > > Hope that helps. > > --Karl > > ____________ > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On Mar 18, 2009, at 7:26 AM, batuj wrote: > > > > > I couldn't manage to get anything with : hoverClass: 'highlight' > > option. > > > thanks anyway.. > > > any other ideas? > > > On Mar 18, 12:52 pm, "ryan.j" <ryan.joyce...@googlemail.com> wrote: > >> have a look at the hoverClass option > > >> On Mar 18, 9:50 am, batuj <batuh...@gmail.com> wrote: > > >>> Hi, > > >>> Does anyone have a clue about how to open the tipbox within the > >>> code, > >>> I tried to meant without user clicking or activating anything when I > >>> bind cluetip to a component, I do want the tip box to be open. > > >>> Thanks...