Re: [jQuery] Show Loading

2009-11-10 Thread Nathan Bubna
I was working on adding this feature to the loading plugin a few weeks ago. I finished it today: http://jquery-values.googlecode.com/svn/other/loading/jquery.loading.js On Tue, Nov 10, 2009 at 11:17 AM, Dave Maharaj :: WidePixels.com wrote: > Is there a way that when your loading content to dis

Re: [jQuery] Ajax Load, CSS Insert on Loading Gif and Fade Out

2009-11-10 Thread Nathan Bubna
Why not just use something like this: http://plugins.jquery.com/project/loading On Tue, Nov 10, 2009 at 5:37 AM, artesianwells wrote: > Hello, > > I would like to add css through jquery to make a loading gif appear. > Say in the css stylesheet itself, #vv is set without a width, so I was > hopin

[jQuery] Re: Using values.jquery to switch values of fields

2009-10-16 Thread Nathan Bubna
; }; })(jQuery); FYI, i haven't tested this code. On Fri, Oct 16, 2009 at 7:04 PM, Nathan Bubna wrote: > you could even make it a mini-plugin: > > ;(function($) { >   $.fn.valueswap = function(selection, opts) { >        var hold = $(selection).values(opts), > > > On Fri, Oct 1

[jQuery] Re: Using values.jquery to switch values of fields

2009-10-16 Thread Nathan Bubna
you could even make it a mini-plugin: ;(function($) { $.fn.valueswap = function(selection, opts) { var hold = $(selection).values(opts), On Fri, Oct 16, 2009 at 2:16 PM, johnHoysa wrote: > > Figured it out, only tested on FF. > > $('.toleft').click(function() { >                var

[jQuery] Re: AJAX load: scrolling

2009-10-05 Thread Nathan Bubna
No, you can't postpone a DOM refresh as you describe. Your best bet is probably to wrap the table in a div that has a constant height, so the surrounding content remains in place as your table grows/shrinks. On Sun, Oct 4, 2009 at 4:21 PM, Dennis Madsen wrote: > > I've created some jQuery which

[jQuery] Re: Loading jQuery - Need a black screen while it loads

2009-08-25 Thread Nathan Bubna
well, i'll have to make that clear. you only need jquery.1.3.2 and jquery.loading.js, the others are just for the demo. >    </ > script> >    <script type="text/javascript" src="../../trunk/ > jquery.values.js"> >     > >

[jQuery] Re: Loading jQuery - Need a black screen while it loads

2009-08-24 Thread Nathan Bubna
if you used the loading plugin: http://plugins.jquery.com/project/loading $.loading(true, {mask:true, maskCss:{background:'#000', opacity:1}}); and when all is ready: $.loading(false); See the demo page for the project to get a feel for more options and also some nice CSS you can use to make

[jQuery] Re: Getting form field values

2009-08-20 Thread Nathan Bubna
You could use my Values plugin ( http://plugins.jquery.com/project/values ) and do: $(document).ready(function() { $("input[name^=day]").change(function () { var all = $('input[name^=day]').values(); for (var day in all) { if (all[day] !== null) {

[jQuery] Re: distinguishing target element for load() calls (aka any ajax events have all elements as target??)

2009-07-29 Thread Nathan Bubna
rectly upon all elements which have handlers bound for that event. I've posted a thread on the dev list to discuss a way to add that info and trigger the events in more normal fashion: http://groups.google.com/group/jquery-dev/browse_thread/thread/caf31f67a3ac159c On Wed, Jul 29, 2009 at 9

[jQuery] distinguishing target element for load() calls (aka any ajax events have all elements as target??)

2009-07-29 Thread Nathan Bubna
So, you have a page: $(function() { var onajax = function(e) { alert($(e.target).text()); }; var onclick = function(e) { $(e.target).load('foobar'); }; $('#a,#b').ajaxStart(onajax).click(onclick); }); foo bar Would you expect one alert or two when you clicked on 'foo'? I would expect

[jQuery] Re: [ANNOUNCE] New plugin: Loading

2009-07-09 Thread Nathan Bubna
On Thu, Jul 9, 2009 at 10:06 AM, Nathan Bubna wrote: > On Thu, Jul 9, 2009 at 9:10 AM, Penner, Matthew wrote: >> >> Great job!  Just a comment on the demo page.  When I set the mask to >> true I lose the ability to interact with the page, as designed of >> course!

[jQuery] Re: [ANNOUNCE] New plugin: Loading

2009-07-09 Thread Nathan Bubna
ks for the feedback! It's great to have other eyes/apps/browsers trying this out. > Matt Penner > > > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > Behalf Of Nathan Bubna > Sent: Wednesday, July 08, 2009 8:40 PM > To: jquery

[jQuery] Re: [ANNOUNCE] New plugin: Loading

2009-07-09 Thread Nathan Bubna
tion. I much > prefer to specify a 'loading' image with CSS than to pass the filename > to a JS object. And it doesn't require dimensions (mine does). I'll > quietly retire my little experiment now. > > On Wed, Jul 8, 2009 at 11:39 PM, Nathan Bubna wrote: >> >

[jQuery] [ANNOUNCE] New plugin: Loading

2009-07-08 Thread Nathan Bubna
http://plugins.jquery.com/project/loading If you need to let the user know something is happening in the background, this is the easiest way. It handles creation, positioning, masking/blocking stuff behind, and even "pulsing" the loading message with a few simple options. Of course, there's mor

[jQuery] Values (a cheesy intro to a very useful plugin)

2009-05-26 Thread Nathan Bubna
http://plugins.jquery.com/project/Values Think of this as val() crossbred with serializeArray() and raised on steroids. Or a JSON<->HTML mapping tool. Or a template plugin that can handle complex data structures, works in reverse and uses only HTML as its syntax. It works with single values.

[jQuery] Re: Improvement to delegate plugin to simulate bubbling

2008-09-17 Thread Nathan Bubna
I like this. And really, isn't click the only event that you would really need this bubbling for? Couldn't you just check the event type and only bubble on click, so that your plugin runs fine with fast- firing events too? On Sep 16, 12:17 pm, Matt Kruse <[EMAIL PROTECTED]> wrote: > I've been w

[jQuery] Re: Concern: quality of plugin library submissions

2008-06-28 Thread Nathan Bubna
I like the way Mozilla handles their Add-ons site. They recommend a certain number for each category, put main recommendations on the "front page" for those categories under a very prominent search box, and then offer links to browse all add ons by popularity, rating, last updated, or all recomme

[jQuery] new plugin: Values

2008-06-27 Thread Nathan Bubna
http://plugins.jquery.com/project/Values This plugin adds a values() method that searches descendants of the current selection for those with a "name" attribute and gathers their values into a hash object for you. If you pass a hash object or DOM element into the method, it will reverse the proc