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
$(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
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
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
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
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
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
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
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
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
/).
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
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.
://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
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
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
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
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);
17 matches
Mail list logo