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.
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
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
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:
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
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
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() {
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
e resolved? Or is it something
that will be left as-is? FYI, I am using jQuery 1.2.1.
Thanks,
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
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
: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
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!
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
}
}
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
15 matches
Mail list logo