I'm not sure but I think that .not(obj) is currently implemented to
exclude singular DOM elements, meaning arrays of elements and jQuery
element sets wouldn't do anything. That could maybe be an API change for
jQuery 1.1?
-blair
Oliver Boermans wrote:
Hi all
It would be useful to be able
...since the spec requires name and ID to be
identical, it's technically illegal to have a name with [
and an ID as well (since IDs cannot contain [).
Um, where does it say the name and id have to be the same?
-Mike
___
jQuery mailing list
SnakeO schrieb:
I am experiencing a flicker when the div is sliding down (opening). This is
occuring in Firefox and Safari (untested in IE). Has anyone else ran into
this problem or am I just overlooking something very simple?
Is your CSS, look:
.show .info {
background: #09f
Hi Karl, I was using return false; but still had no luck. I'm wondering if
you can't stop the page from jumping back to the top since the browser's
scrollbars expand/contract when you slide the content down/up.
It woudl seem odd if that was the case, but it also seems a bit odd that I
couldn't
When i save my sortables as serialized data, is there a way of restoring it
using the a sortable (sort?) function i jQuery?
Say a list like:
left = '1|3|2';
right = '3|1|2';
then when the page loads it sorts it into that order automagically?
Thanks in Advanced.
--
View this message in context:
Jeremy Epstein schrieb:
Any help would be appreciated. If I can iron out this annoyance, I
would like to contribute this script as a plugin. If it can't be
fixed, I'll have to just replace the fadeIn/fadeOut calls with
hide/show calls (which don't suffer from the pileup issue).
This is a
David wrote:
Kelvin Luck schreef:
Hi all,
I've just released my new plugin - it is called jScrollPane and replaces
the browser's scrollbars where a container has an overflow of auto and a
fixed height:
http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html
nice, the
HTML 4.01, section 12.2.3:
The id http://www.w3.org/TR/html401/struct/global.html#adef-id and
namehttp://www.w3.org/TR/html401/struct/links.html#adef-name-Aattributes
share the same name
space. This means that they cannot both define an anchor with the same name
in the same document. It is
Do you mean without any server-side script? If so, you might try using the
cookie plugin to store the data and pull it back out on page-load.
-- Yehuda
On 12/31/06, Philip Pryce [EMAIL PROTECTED] wrote:
When i save my sortables as serialized data, is there a way of restoring
it
using the a
Abel Tamayo wrote:
Thanks very much. You just saved my life. I spent the last week
unsuccesfully trying to implement Interface's scrollbar, then yesterday
I gave up and started looking into YUI's solution but I was unhappy
because (although it's a great elemment) it's not jQuery and it made
Yehuda Katz schrieb:
HTML 4.01, section 12.2.3:
Yes, but this refers to anchors only. Obviously following construct
makes no sense:
h2 id=the-anchor.../h2
p
... a name=the-anchorAn anchor/a ...
/p
Now there are two anchors in the document with the same namespace. Which
one should the
I'm not sure I read it that way:
The following example illustrates that
idhttp://www.w3.org/TR/html4/struct/global.html#adef-idand
name http://www.w3.org/TR/html4/struct/links.html#adef-name-A must be the
same when both appear in an element's start tag:
PA name=a1 id=a1 href=#a1.../A
The
i've already found a way to remember the serialized code for the lists, just
how to restore the serialized numbers back into lists?
thanks.
On 31/12/06, Yehuda Katz [EMAIL PROTECTED] wrote:
Do you mean without any server-side script? If so, you might try using the
cookie plugin to store the
Yehuda Katz schrieb:
I'm not sure I read it that way:
The following example illustrates that id
http://www.w3.org/TR/html4/struct/global.html#adef-id and name
http://www.w3.org/TR/html4/struct/links.html#adef-name-A must be the
same when both appear in an element's start tag:
PA
Hey, I wish you all we all, web fans, programmers, code line lovers like me,
a really great 2007.
Lets make jQuery dominates the world! lol
Im doing my part, spreading the word in Brazil. (=
ha, im not good with words, especially in english hehe, so watch this
production:
Hi Jamie,
this is pretty easy :)
jQuery uses CSS Selectors, so this will work:
$(input, select).click(function() {
jamester wrote:
Hi all,
I've just entered the wonderful world of jquery, and being from a mainly
php only background the whole JS thing is very new and exciting to me, but
Do each of the nodes have an ID? Or are you basing it on their initial
order?
-- Yehuda
On 12/31/06, Philip Pryce [EMAIL PROTECTED] wrote:
i've already found a way to remember the serialized code for the lists,
just how to restore the serialized numbers back into lists?
thanks.
On 31/12/06,
Klaus Hartl schrieb:
Yehuda Katz schrieb:
I'm not sure I read it that way:
The following example illustrates that id
http://www.w3.org/TR/html4/struct/global.html#adef-id and name
http://www.w3.org/TR/html4/struct/links.html#adef-name-A must be the
same when both appear in an element's
each node has and id, and i have it listed, i just need to reorder them once
the page loads again.
On 31/12/06, Yehuda Katz [EMAIL PROTECTED] wrote:
Do each of the nodes have an ID? Or are you basing it on their initial
order?
-- Yehuda
On 12/31/06, Philip Pryce [EMAIL PROTECTED] wrote:
slight typo,
Each node has an id, and i have it on a list, i just need the li's to be
reordered once the page is loaded again to this order.
On 31/12/06, Philip Pryce [EMAIL PROTECTED] wrote:
each node has and id, and i have it listed, i just need to reorder them
once the page loads again.
On
I'm having a problem with the .animate method.
I'm using it to slide some div's left and right. One part of the project
does not have alot of text but has some background images and some images,
the other is very textheavy. One of these effects is loaded asynchronously
and the other is loaded on
Yeah, Happy New Year for everyone in the board. As like with any new year, I
wish everyone that their dreams and projects (make smore much sense with
projects) come true.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
One more solution to try:
$('a.shownext').click(function(e) {
e.preventDefault();
// Code here
});
On 12/31/06, smoore [EMAIL PROTECTED] wrote:
Hi Karl, I was using return false; but still had no luck. I'm wondering if
you can't stop the page from jumping back to the top since the
so say you get 1|3|2 and your nodes have id li_1 etc.
something like the following should work:
var sortedList = 1|3|2.split(|)
var expr = #li_ + sortedList.join(, #li_)
jQuery(expr).appendTo(#container)
-- Yehuda
On 12/31/06, Philip Pryce [EMAIL PROTECTED] wrote:
slight typo,
Each node has
My guess is that it has to do with:
http://jquery.com/dev/bugs/bug/260/
-- Yehuda
On 12/31/06, Will Olbrys [EMAIL PROTECTED] wrote:
I'm having a problem with the .animate method.
I'm using it to slide some div's left and right. One part of the project
does not have alot of text but has
I set up a little test case but couldn't replicate your problem. See:
http://test.learningjquery.com/slidedown.htm
Let me know if my page works for you, as well. If it does work,
perhaps you could provide a link to the page that is causing the
problem. Then we'll have a better shot at
Dude, you've saved my life, thanks soo much, it worked with out too much
editting.
On 31/12/06, Yehuda Katz [EMAIL PROTECTED] wrote:
so say you get 1|3|2 and your nodes have id li_1 etc.
something like the following should work:
var sortedList = 1|3|2.split(|)
var expr = #li_ +
No problem :-D
-- Yehuda
On 12/31/06, Philip Pryce [EMAIL PROTECTED] wrote:
Dude, you've saved my life, thanks soo much, it worked with out too much
editting.
On 31/12/06, Yehuda Katz [EMAIL PROTECTED] wrote:
so say you get 1|3|2 and your nodes have id li_1 etc.
something like the
Karl, I tested yours successfully, so I'm not sure why I'm getting the jump
back to top. I'm handling the show/hide with the following:
$(a.show_all).click(function(){
var all_items = $(div.items);
var all_link = $(a.show_all);
if ( all_items.is(:hidden) ) {
Thanks for the response. Reading that bug ticket... does it mean the bug has
yet to be fixed in 1.1?
Will
wycats wrote:
My guess is that it has to do with:
http://jquery.com/dev/bugs/bug/260/
-- Yehuda
On 12/31/06, Will Olbrys [EMAIL PROTECTED] wrote:
I'm having a problem with
Yep :(
On 12/31/06, Will Olbrys [EMAIL PROTECTED] wrote:
Thanks for the response. Reading that bug ticket... does it mean the bug
has
yet to be fixed in 1.1?
Will
wycats wrote:
My guess is that it has to do with:
http://jquery.com/dev/bugs/bug/260/
-- Yehuda
On 12/31/06, Will
I have a UL inside some form tags and a I want to be able to get the name or
id of that form.
$('#ul_opts').ancestors('form').id()
Works in IE but returns null in FF. Any thoughts?
Thanks, David
--
View this message in context:
Jquery is the first Javascript library that I found useful so I
actually use it.
Great job everyone who helped.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Hear hear!
On 12/31/06, Scottus [EMAIL PROTECTED] wrote:
Jquery is the first Javascript library that I found useful so I
actually use it.
Great job everyone who helped.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
--
Cheers! Happy New Year. 2007 is going to be an exciting year with jQuery!
wycats wrote:
Hear hear!
On 12/31/06, Scottus [EMAIL PROTECTED] wrote:
Jquery is the first Javascript library that I found useful so I
actually use it.
Great job everyone who helped.
On 31/12/06, Blair Mitchelmore [EMAIL PROTECTED] wrote:
I'm not sure but I think that .not(obj) is currently implemented to
exclude singular DOM elements, meaning arrays of elements and jQuery
element sets wouldn't do anything. That could maybe be an API change for
jQuery 1.1?
-blair
Sounds
Does anyone know where there is a good tutorial on coding a Please wait..
sign to appear in the middle of the page whenever ajax commands are being
processed?
I've tried, but so far haven't had much success.
--
View this message in context:
What about something like: $([EMAIL PROTECTED]).parents(li)
The first expression will return ol's with any kids attribute, and then grab
all parent nodes that are lis.
Does that help?
-- Yehuda
On 1/1/07, Oliver Boermans [EMAIL PROTECTED] wrote:
On 31/12/06, Blair Mitchelmore [EMAIL
That will select both the lis as they both contain at least one ol
with an attribute of kids.
I need it to select only the lis in which every ol has the attribute of kids.
Only the second li in my example should be selected.
On 01/01/07, Yehuda Katz [EMAIL PROTECTED] wrote:
What about something
Hi friends,
I ran into a problem using the bind and unbind events. I have a function
that triggers when $(document).ready. The function name is begin. This
function iterates through all the span elements in the DOM and find an id
that begins with 'eip-' then assign 3 events, contextmenu,
No need to test if the element begins with eip- manually, just use a
selector:
$([EMAIL PROTECTED]'epi-']) will select all 'span' elements with id's that
begin
with epi-
Sorry i cant help too much with your problem though.
On 1/1/07, xmrcivicboix [EMAIL PROTECTED] wrote:
Hi friends,
I ran
Cool! I just gave up mootools and made a jump over jQuery because of the
so-so documentations and forum help. So far, I find jQuery to be EXCELLENT.
Thanks for your help again!
Matt Stith wrote:
No need to test if the element begins with eip- manually, just use a
selector:
$([EMAIL
The issue is that what you're trying to do is currently
(unfortunately) not supported by the jQuery selector engine. The
selector isn't that bad:
$(li:not([ol:not([EMAIL PROTECTED])]))
The problem is that you have both nested () and nested [] - both of
which fail in jQuery (it's quite fickle
43 matches
Mail list logo