[jQuery] Treeview plugin - dynamically editing folders

2008-12-03 Thread c.barr
I'm working on a folder interface using the jQuery Treeview plugin, which has been awesome so far - but I need it to do a bit more. I've got the basics down for being able to add or remove a folder at any level, but the folders I add don't have the appropriate expand/ collapse controls on them.

[jQuery] Re: jQuery plug-in to preload javascript?

2008-12-02 Thread c.barr
If all these scripts are on every single page, you should look into combining them all into a single file as well, this way there's only 1 HTTP request instead of 12. Do this first, then compress with JSMin or YUI compressor to reduce file size. On Dec 1, 6:22 pm, Mark Livingstone [EMAIL

[jQuery] Re: Crazy tables with checkboxes

2008-11-21 Thread c.barr
err, correction to what I wrote, shift-selection only works when selecting top to bottom, not the other way around.

[jQuery] Re: Crazy tables with checkboxes

2008-11-21 Thread c.barr
It seems jsbin.com is down right now, so I've uploaded it to my site: http://chris-barr.com/files/checkboxes/ source: http://chris-barr.com/files/checkboxes/DTcheckboxes.js Also, I've fixed the issue with shift-selection, but the other problems still remain. On Nov 21, 12:01 pm, c.barr [EMAIL

[jQuery] Re: Crazy tables with checkboxes

2008-11-21 Thread c.barr
Karl Swedbergwww.englishrules.comwww.learningjquery.com On Nov 21, 2008, at 3:46 PM, c.barr wrote: It seems jsbin.com is down right now, so I've uploaded it to my site: http://chris-barr.com/files/checkboxes/ source:http://chris-barr.com/files/checkboxes/DTcheckboxes.js Also

[jQuery] Re: Crazy tables with checkboxes

2008-11-20 Thread c.barr
Ok, I've worked on it a bit and it's nearly there! I've gotten it to work with multiple tables, but I've got a few bugs I can't figure out yet... demo - http://jsbin.com/idaha/ source - http://jsbin.com/idaha/edit What's not working: - Rows without checkboxes in them get highlighted when I

[jQuery] Re: jQuery not working - please help

2008-11-19 Thread c.barr
Use a $ selector instead of jQuery $(document).ready(function() { $('#regpage h3 a').click(function () { alert('hello'); return false; }); }); On Nov 19, 10:53 am, DanDaBeginner [EMAIL PROTECTED] wrote: I have been searching on the net for 5 hours already but can't find

[jQuery] Re: slideToggle on checkbox

2008-11-18 Thread c.barr
... It does not do it on Honor Someone Again! - why? The code seems the same??? On 15 Nov., 00:56, c.barr [EMAIL PROTECTED] wrote: ... I made a simple demo here:http://jsbin.com/ecoqu

[jQuery] Re: asp.net and jquery - reactions to this letter

2008-11-18 Thread c.barr
I can see some of his points, and there are some clashes with the asp.net ajax toolkit - but all the problems I've had have been with microsoft's javascript, not jQuery. the ajax toolkit is so hard wired into asp.net sometimes, it's hard to replace it with a better written and better looking

[jQuery] Re: How do I write an expression to get all checked items of a certain class?

2008-11-18 Thread c.barr
Also $(.subscrCheckbox).is(:checked); and $ (.subscrCheckbox:checked) should work as well I believe On Nov 18, 3:45 pm, Hector Virgen [EMAIL PROTECTED] wrote: $(.subscrCheckbox:checkbox) would return all checkboxes with the class name of 'subscrCheckbox', including those that are not checked.

[jQuery] Crazy tables with checkboxes

2008-11-18 Thread c.barr
A while ago Karl Swedberg really helped me out to get what I needed working - tables with multiple columns of checkboxes, add a class to selected rows, support for the Shift key, and a header checkbox to check an entire column. That all works great, but now I've realized that I need multiple

[jQuery] Dynamic table with forms - animation issues

2008-11-17 Thread c.barr
I've been working on a script to slide in new table rows with form elements inside them and then either submit all the rows or cancel and remove them - either one at a time or all at once. I've got the basics down, but I've just got a few minor problems and I've marked them in my code with

[jQuery] Re: Combining jQuery and jQuery UI

2008-11-14 Thread c.barr
',      ), Not sure what else to do. Let me know if I can help, but so far I'm   not able to replicate the problem. --Karl Karl Swedbergwww.englishrules.comwww.learningjquery.com On Nov 11, 2008, at 9:49 AM, c.barr wrote: It's been a while without a response and I just wanted

[jQuery] Re: Combining jQuery and jQuery UI

2008-11-14 Thread c.barr
  not able to replicate the problem. --Karl Karl Swedbergwww.englishrules.comwww.learningjquery.com On Nov 11, 2008, at 9:49 AM, c.barr wrote: It's been a while without a response and I just wanted to bump this again to see if anyone found out why this was happening or how

[jQuery] Re: Animating table rows

2008-11-14 Thread c.barr
.fadeIn() and .fadeOut() seem to work OK in Firefox, but in IE they seem to do the same as .show() and .hide() - they just pop in. Same goes for .slideDown() and .slideUp() in IE. Try it out with the demo I linked to above. So apparently effects are very limited in tables - and even more so in

[jQuery] Re: Animating table rows

2008-11-14 Thread c.barr
to slideUp hide a row with the inner wrapping divs: $(tr).click(function() {   var tr = $(this);   tr.children(td).each(function() {     $(this).wrapInner(div/div).children(div).slideUp(function() {       tr.hide();     });   }); }); - Richard On Fri, Nov 14, 2008 at 12:21 PM, c.barr

[jQuery] Re: Animating table rows

2008-11-14 Thread c.barr
a bit strange sometimes. On Nov 14, 3:01 pm, Richard D. Worth [EMAIL PROTECTED] wrote: Slick! Thanks for sharing. - Richard On Fri, Nov 14, 2008 at 3:50 PM, c.barr [EMAIL PROTECTED] wrote: That's awesome man! I worked with it a bit to get it working with adding a row as well, and this seems

[jQuery] Re: Combining jQuery and jQuery UI

2008-11-14 Thread c.barr
I did a copy/paste from the site and I opened up the JS file in my browser and did a save-as and both times it was about 314k on disk. It looks like your server has GZIP, and thats why it's appearing as 76k. It's 76k of transfer, but deflated from GZIP it's about 314k: screenshot from YSlow:

[jQuery] Re: slideToggle on checkbox

2008-11-14 Thread c.barr
I don't think there's any need to tell a checkbox to be checked when you click it, the browser does this anyway. Plus the way you've got the code you can never uncheck it since whenever you click it, it's set to be checked. Also no need to blur the focus. I made a simple demo here:

[jQuery] Animating table rows

2008-11-13 Thread c.barr
I'm creating an admin section for a site where I need to dynamically add a new row to a table - which I know how to do just fine, but the problem is that when you do an animation like .slideDown() jQuery sets it to display:block; and for a table row this is incorrect, as it should be

[jQuery] Re: Animating table rows

2008-11-13 Thread c.barr
the tr height less than the text height, it doesn't work. Only block elements can use this effect :) On Nov 13, 9:06 pm, c.barr [EMAIL PROTECTED] wrote: I'm creating an admin section for a site where I need to dynamically add a new row to a table - which I know how to do just fine

[jQuery] Re: Combining jQuery and jQuery UI

2008-11-11 Thread c.barr
It's been a while without a response and I just wanted to bump this again to see if anyone found out why this was happening or how to get around this issue. On Oct 22, 8:37 am, c.barr [EMAIL PROTECTED] wrote: Also, I've got two plugins I'd like to combine together to save some space, but it's

[jQuery] Determining what element is clicked

2008-10-31 Thread c.barr
I'm working on a project where we have a table and each row is clickable (but only certain columns within that row), but we cannot use an a tag for other reasons. Currently I have to attach click events to the proper table cells, which works just fine, it's just inefficient. If I have a table

[jQuery] Re: More efficient animation for multiple elements

2008-10-27 Thread c.barr
Scratch that, madesome minor tweaks, new version is here: http://jsbin.com/isive I also had to check for IE and change the easing method since that one looked a bit jerky in IE for some reason. On Oct 27, 2:00 pm, c.barr [EMAIL PROTECTED] wrote: Thanks again guys.  I ended up using

[jQuery] Re: More efficient animation for multiple elements

2008-10-27 Thread c.barr
:28 am, c.barr [EMAIL PROTECTED] wrote: Cool, I've never seen that site before.  I made a small demo using   my code above:http://jsbin.com/abuxe Strangely enough it's not working properly, and that's a direct copy of what I wrote that works.  Basically they are all shrinking

[jQuery] Re: More efficient animation for multiple elements

2008-10-25 Thread c.barr
Awesome guys, thanks for the help here, both of these look more effiecient that what I was doing. I'm not in front of a Windows machine right now, so I can't test it in IE, but how does that seem to preform there? On Oct 25, 5:34 pm, Mauricio \(Maujor\) Samy Silva [EMAIL PROTECTED] wrote: Here

[jQuery] Re: More efficient animation for multiple elements

2008-10-24 Thread c.barr
. Not sure what I've done wrong here. Anyway, there's a 90% working demo... On Oct 24, 9:58 pm, ricardobeat [EMAIL PROTECTED] wrote: Maybe you could post a working sample to jsbin.com, that would make things a lot easier. On Oct 24, 4:00 pm, c.barr [EMAIL PROTECTED] wrote: Hate to bump

[jQuery] Re: Image Display with Brightness Control?

2008-10-23 Thread c.barr
I'm no expert on this, but I have a feeling you may have better luck in Flash for this purpose. Or maybe find a generic brightness setting that's good for all the images and just to a batch process on them and re-upload. Not an idea solutions, but I don't think any Javascript (that I know of

[jQuery] More efficient animation for multiple elements

2008-10-23 Thread c.barr
A cool effect I picked up from my Mootools days was the Elements.FX, see a demo here: http://demos111.mootools.net/Fx.Elements Basically it's a bunch of elements, you mouse over one and it gets larger while all the others shrink. A pretty cool effect for navigation menus. Here's what I wrote

[jQuery] Re: Combining jQuery and jQuery UI

2008-10-22 Thread c.barr
replicating exactly what you're doing. Thanks. --Karl On Oct 21, 2008, at 3:26 PM, c.barr wrote: Yes, it's being listed first. Can someone else please try and do this to verify it?  I just want to make sure I'm not missing something simple. On Oct 21, 12:16 pm, Karl Swedberg [EMAIL PROTECTED

[jQuery] Re: Combining jQuery and jQuery UI

2008-10-22 Thread c.barr
, but it always breaks on the Cluetip functions saying insertionType is not defined On Oct 21, 2:26 pm, c.barr [EMAIL PROTECTED] wrote: Yes, it's being listed first. Can someone else please try and do this to verify it?  I just want to make sure I'm not missing something simple. On Oct 21, 12:16 pm, Karl

[jQuery] Re: How do i use JQuery ?

2008-10-21 Thread c.barr
Are you using Safari? That's just a temporary file extension it uses until it finishes downloading. Just wait for it to finish. On Oct 18, 4:27 pm, nadavten [EMAIL PROTECTED] wrote: Im trying to download JQuery but its downloading a .download file ... what should i do ?

[jQuery] Re: Combining jQuery and jQuery UI

2008-10-20 Thread c.barr
They already have the semicolons straight from jQuery, so no changes were needed. Any other suggestions? On Oct 16, 5:16 pm, Mike Alsup [EMAIL PROTECTED] wrote: I'd like to combine and compress my jQuery and jQuery UI files into a single minified file, but I've noticed that every time I do

[jQuery] Combining jQuery and jQuery UI

2008-10-16 Thread c.barr
I'd like to combine and compress my jQuery and jQuery UI files into a single minified file, but I've noticed that every time I do this It just breaks and gives me $ is not defined. If I do a copy/paste of the two uncompressed files together, it works fine but it's a 100kb file! When I got to