[jQuery] Re: Bootstrapping Jquery, Or: How to Create a 1 line javascript widget for external websites...

2007-05-07 Thread Dylan Verheul
You could make a script that dynamically loads jquery if it isnt loaded yet. You'd probably lose some older browser support, and you'd have to write the loader without jquery. Something like this: if (!jQuery) { var script = document.createElement('script'); script.type = 'text/javascript'; s

[jQuery] Re: Bootstrapping Jquery, Or: How to Create a 1 line javascript widget for external websites...

2007-05-07 Thread Wizzud
Just put the jQuery code plus any other plugin code you need plus your own 'document ready' code all into one file! Banta wrote: > > > Hi, > I'm working on a calendar widget and want to make it possible for > people to embed it on their websites... > > My goal is to keep the embed line as s