[jQuery] Advantages of adding functions to jQuery

2007-03-14 Thread Daniel MacDonald
I'm having trouble seeing the advantage of adding static functions to jQuery as in: jQuery.log = { error : function() { ... }, warning : function() { ... }, debug : function() { ... }, }; as opposed to: function log() { ... } log.prototype.error = function() { ... } log.prototype.warning

Re: [jQuery] on resize in jquery?

2007-03-14 Thread Daniel MacDonald
$(window).bind('resize', doSomething); rolfsf wrote: with jQuery, how do I fire off a function or two whenever a window is resized? I'm trying to adapt a more traditional javascript, and in this case I've got it attached to the body tag: body onResize=doSomething; hoping to

Re: [jQuery] on resize in jquery?

2007-03-14 Thread Daniel MacDonald
I use $(window).bind('resize', ... as a reminder to $(window).unbind('resize') when I'm done doing whatever I did. rolfsf wrote: since what I'm doing is helping IE to properly size a div to fit the window, it probably doesn't matter - as long as it gets the size right in the end. Is

Re: [jQuery] Advantages of adding functions to jQuery

2007-03-14 Thread Daniel MacDonald
other script that uses log in the global scope. Of course, I still have to watch out for other jQuery.log objects. thx Jörn Zaefferer wrote: Daniel MacDonald schrieb: It seems the former opens up the door to unintended closures. What are the benefits of doing it this way as opposed

Re: [jQuery] jQuery Powered Sites - Keep the Links Coming

2007-03-13 Thread Daniel MacDonald
http://www.projectatomic.com http://www.projectatomic.com jQuery medicrity at its best. Home of jQuery Litebox (not as useful as Thickbox) and jQuery Flickr (not as useful as FlickrCash). D Rey Bango-2 wrote: Hey all, I just wanted to let you know that I've been compiling the list of

Re: [jQuery] jQuery newbies?

2007-03-13 Thread Daniel MacDonald
self refers to the current window in the DOM D Jörn Zaefferer wrote: Hi folks, the infamous ppk wrote in his blog: I've learnt one other trick for distinguishing newbies and pros: ask them the difference between |this| and |self|. Usually people who just claim to be excellent

Re: [jQuery] jQuery newbies?

2007-03-13 Thread Daniel MacDonald
As a nonprofessional, this is too much info for me, but the details are at: http://www.w3.org/TR/Window/#dfn-self-attribute http://www.w3.org/TR/Window/#dfn-self-attribute You won't find it in the ECMA spec because it's part of the DOM D Daniel MacDonald wrote: self refers to the current

Re: [jQuery] interface imagebox

2007-03-11 Thread Daniel MacDonald
the right full sized image. I get the image that was first loaded into the litebox. Karl Rudd On 3/10/07, Daniel MacDonald [EMAIL PROTECTED] wrote: http://www.projectatomic.com/litebox/ jQuery LiteBox Beta 2 is released and it includes an auto-advance feature. D bmsterling wrote

Re: [jQuery] interface imagebox

2007-03-09 Thread Daniel MacDonald
http://www.projectatomic.com/litebox/ jQuery LiteBox Beta 2 is released and it includes an auto-advance feature. D bmsterling wrote: Brent, You can check out this plugin http://www.projectatomic.com/litebox/ and you can put a setInterval to trigger the next click. setInterval

Re: [jQuery] jQuery Litebox now GPL/MIT licensed

2007-03-09 Thread Daniel MacDonald
I'm going for triple badass, now. Beta 2 is released (GPL/MIT). Bug fixes: improved loading image performance, new feature: auto-advance slide show. D http:www.projectatomic.com Rey Bango-2 wrote: Damn, now you're plugin is double badass! ;o) Rey Daniel MacDonald wrote: Oops, sorry

Re: [jQuery] jQuery Litebox adds Flickr support

2007-03-08 Thread Daniel MacDonald
/). The ability to load up jCarousel with Flickr thumbs would be awesome. Rey... Daniel MacDonald wrote: http://www.projectatomic.com/litebox jQuery Litebox now supports Flickr with the http://www.projectatomic.com/flickr jQuery Flickr plug-in. The jQuery Flickr plug-in is an alpha

Re: [jQuery] interface imagebox

2007-03-08 Thread Daniel MacDonald
I recently added image preloading (the previous and next images start to load while viewing the current image) to http://www.projectatomic.com/litebox jQuery Litebox , which should help with reduce delays. You could try adding the setInterval to the onload event in the $.litebox.resize() method.

Re: [jQuery] jQuery Litebox now GPL/MIT licensed

2007-03-08 Thread Daniel MacDonald
://sorgalla.com/jcarousel/). The ability to load up jCarousel with Flickr thumbs would be awesome. Rey... Daniel MacDonald wrote: http://www.projectatomic.com/litebox jQuery Litebox now supports Flickr with the http://www.projectatomic.com/flickr jQuery Flickr plug-in. The jQuery Flickr plug

[jQuery] jQuery Litebox adds Flickr support

2007-03-07 Thread Daniel MacDonald
http://www.projectatomic.com/litebox jQuery Litebox now supports Flickr with the http://www.projectatomic.com/flickr jQuery Flickr plug-in. The jQuery Flickr plug-in is an alpha release, but it features: no server-side proxy required. easy to implement: $(#myElement).flickr(); supports

[jQuery] Is there a jQuery way to do an innerWrap?

2007-02-27 Thread Daniel MacDonald
Is there a jQuery way to do an innerWrap? For example: div class=outerdiv h3blah blah blah/h3 pLorem ipsum dolor sit ametp /div I am looking to wrap all of the contents of .outerdiv with another div as in: div class=outerdiv div class=innerdiv h3blah blah blah/h3 pLorem ipsum dolor sit ametp

[jQuery] IBM Developerworks article mentions jQuery

2007-02-16 Thread Daniel MacDonald
An IBM Developerworks article, Ajax and XML: Five cool Ajax widgets http://www-128.ibm.com/developerworks/web/library/x-ajaxxml1/index.html mentions jQuery and the jCarousel plugin. carousel: This widget is a rolling image viewer that customers can use to scroll through a list of items, each

[jQuery] FireFox and $( expr, context )

2007-02-11 Thread Daniel MacDonald
Ran this test page in FireFox 2.0.0.1: head titleTest/title script type=text/javascript src=jquery.js/script script type=text/javascript (function($) { $.fn.test = function(){ return this.each(function(){ var g = $('a', this);