[jQuery] using .live() with Beauty Tip - is it possible?

2010-01-08 Thread Jesper F
I'm using Beauty tip http://www.lullabot.com/files/bt/bt-latest/DEMO/index.html for example such as: $('.myclass').bt({ content: 'test content' }); which displays a nice tooltip. But how can I use it with jQuerys live event so that dynamically added classes

[jQuery] Re: can all jQuery code be included in just one $(function(){}); ?

2009-08-10 Thread Jesper F
myrandomdiv").corner("7px") is applied after $(".myboxclass").corner > ("7px"); completes, then leave them separate as in your second > example. > > On Aug 10, 6:15 am, Jesper F wrote: > > > I Include my javascript in an

[jQuery] can all jQuery code be included in just one $(function(){}); ?

2009-08-10 Thread Jesper F
I Include my javascript in an includefile. Which is better way to organize the jQuery code: $(function(){ $(".myboxclass").corner("7px"); $("#myrandomdiv").corner("7px"); }); or $(function(){ $(".myboxclass").corner("7px"); }); $(function(){