[jQuery] cycle plugin scrollLeft has flickering white line if boxes have a background color colour

2009-01-28 Thread the cliff
Although I did manage to fix it by changing this line opts.cssBefore.left = next.offsetWidth; becomes opts.cssBefore.left = next.offsetWidth-1; so does move everything along by 1 pixel but no more bug & client is happy.

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-01-23 Thread Cliff
On Dec 8 2008, 5:25 am, Nicolas R wrote: > Greetings! > > I've put together a plugin that creates a mac-style finder out of a > list. The plugin is still in development (ALPHA) and it needs some > testing, especially on IE. > > The purpose of this plugin is to provide an alternative to treeview

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-01-23 Thread Cliff
Can you give me any hints on how I could modify this to read in the various levels from an existing on the page? Or form a set of nested 's or from provided XML? The reason I ask is that I think it is much easier to navigate this way from other tree based data, and if JS was disabled for a giv

[jQuery] Re: :last & :first not working??

2009-01-15 Thread the cliff
then start small...   copy the example HTML > from the link above and have a page with nothing but that, so you see > it works in your environment.   something else codewise (wrong > selector, some conflict, whatever) is causing an issue > > On Jan 15, 11:32 am, the cliff wrote:

[jQuery] Re: :last & :first not working??

2009-01-15 Thread the cliff
last(or :first) for the first row only as it > will return 1 single object > > you need to do something like > > $("tr").each(function() { $(this).find("td:last").css("border", > "none"); }); > > which will loop across each row and

[jQuery] :last & :first not working??

2009-01-15 Thread the cliff
Hi there, I am doing some table row colouring with :odd (this works as expected), but: $("tr td:last").css("border", "none"); does nothing! I did some further testing on other selectors with other more obvious classes and the selector :last and :first don't seem to select anything. I have tried

[jQuery] How to keep focus on input field after change?

2008-02-15 Thread cliff
I would like to keep the cursor in an input field after a change. I tried the following, but it doesn't work. The change even is activated, and "do stuff" works, but the focus does not go back to the input field. Does anyone have suggestions? $(function() { $(":input).change(function() {

[jQuery] Possible solution to IE7 opacity and cleartype

2007-12-20 Thread Cliff
It's probably common knowledge that changing opacity in IE7 disables cleartype. Someone seems to have come up with a workaround: http://mattberseth.com/blog/2007/12/ie7_cleartype_dximagetransform.html Is this a viable fix? If so, how likely is it that this solution would be incorporated into jQu

[jQuery] .trigger() behaviour revisited

2007-11-15 Thread Cliff
e resolved? Or is it something that will be left as-is? FYI, I am using jQuery 1.2.1. Thanks, Cliff

[jQuery] How do you tie sortables into the back-end with ajax?

2007-09-17 Thread cliff
List sorter functionality is way cool, but isn't very useful unless I can tie it into the back-end. How do I couple it with an ajax call to make sure the change is conveyed to the server? Seems to me you need to detect the drop and have it launch an ajax call with the dropped object id and the id

[jQuery] Focus Disappears After Effect Ends

2007-08-17 Thread Cliff Spence
I have a login box that slides down when the 'login' link is clicked. It also is set to automatically focus on the first input in the login box when it slides down. The problem is that the focus only happens for a brief second until the toggle effect is complete. Then the focus is gone. Here's

[jQuery] Re: Need help 're-stripping' a table

2007-08-06 Thread cliff
:even").addClass("alt"); rowOver(); } function rowOver() { $(".stripeMe tr").mouseover(function() {$ (this).addClass("over");}).mouseout(function() {$ (this).removeClass("over");}); } On Aug 6, 5:44 pm, "Benjamin Sterling" &l

[jQuery] Need help 're-stripping' a table

2007-08-06 Thread cliff
I am trying to remove a row from a table and then re-strip it as follows: $('#rowid').remove(); stripeMe(); But I can't get this to work. Either re-striping isn't working or the row isn't being completely remove. Help!

[jQuery] Re: Conventional JS/DOM to jQuery conversion help

2007-05-23 Thread cliff
That's it, just $('[EMAIL PROTECTED]) I don't need form or input in front of it? > Do you mean something like: > $("input").next().remove(); > or > $("input").siblings("div.error").remove(); Interesting. Either of these would be a start. But I'd still need to loop over next to remove all siblin

[jQuery] Conventional JS/DOM to jQuery conversion help

2007-05-23 Thread cliff
} } Is there a shorter jQuery way to do this function. Ideally, it could start with a reference to the source element object instead of an elementid so I can avoid the use of ids in form elements. And of course, what's the advantage to the jQuery way? Less code? Slickers? Cliff