> You can fix this very easily without doing all wierd stuffies like
> changing tab index.
> $(document).focus(function(oEvent) {
> return ((oElement = oEvent.srcElement || oEvent.target)
> && jQuery(oElement).ancestors(*YOURPARENTHERE*).length);
> });
With latest
Jörn Zaefferer schrieb:
>> You can fix this very easily without doing all wierd stuffies like
>> changing tab index.
>> $(document).focus(function(oEvent) {
>> return ((oElement = oEvent.srcElement || oEvent.target)
>> && jQuery(oElement).ancestors(*YOURPARENTHERE*).length
So, than just take a look waht happens if i comment the line $(".menu li").unbind('click'); from example
See waht happens: http://127-creative.ru/tmp/jquery/site-jq.html02.11.06
, Yehuda Katz <[EMAIL PROTECTED]> написал(а):
You don't need to unbind event handlers before reapplying them. jQuery t
$().jquery;
Stephen Woodbridge wrote:
>
> Laurent Yaish wrote:
>> The packed version of jQuery 1.0.3 is missing the file header, 1.0.2 had
>> it.
>> I know it makes the file slightly smaller but then there is no way to
>> know what version you're using.
>
> Actually, it would be nice if jQu
Ahh... Where would we be without quirksmode?!
That's a great resource for DOM.
Brandon Aaron wrote:
>
> This is as close as I got:
> http://www.nabble.com/Style-sheet-modification-snippet-tf2484859.html#a6928891
>
> I use quirksmode as my main reference:
> http://www.quirksmode.org/dom/w3c_c
Hi guys,
I'm having some trouble with a hidden div showing
under IE 7.
In FF, when the thickbox link is clicked the hidden
div is displayed fine.
However, in IE it remains hidden.
Anyone encountered the same
problem and might have solved it ?
Thanks
Alexander
http://msdn.microsoft.com/workshop/author/css/css_node_entry.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/IETechCol/cols/dnexpie/ie7_css_compat.asp
--
View this message in context:
http://www.nabble.com/IE-Stylesheet-API-tf2563740.html#a7157806
Sent from the JQuery mailin
On 11/3/06, Brent Pedersen <[EMAIL PROTECTED]> wrote:
> $().jquery
>
> gives the version.
That's right, but it used to return the revision number. While having
access to the version number is useful for everybody, I think having
access to the revision number would be useful for some of us. At
leas
This is
VERY exciting! I make extensive use of submodal windows in my current
web apps. I'm really glad to see that the author is porting it over to
jQuery! Count me as third in line!! :o)
Rey Bango wrote:
You'll be #2 behind me!
Rey...
Blair McKenzie wrote:
If the functionality
Hi Klaus,
Not sure if this is exactly what you're after, but I think Gilles was
working on something like this back in Sept. Don't know what the
status of it is, but here is an email that you can reference to see
if a follow-up is in order:
http://www.nabble.com/ThickBox---closing-without-u
It's just like the trick that the example Del.icio.us has for using
their JSON feeds uses. They grab the favicon.ico image from the url
with the following:
url.split('/').splice(0,3).join('/')+'/favicon.ico';
Then then have the img hidden, and use an onload event handler to show
the image, which
Hey guys,has someone seen this at ajaxian? Check it out: http://berniecode.com/writing/animator.htmlThis is probably the most sexiest animate lib I've ever seen in my life. Porting this to jQuery would be the PERFECT addition to jQuery's css parsing possiblities.
What do you think?-- Paul BakausWeb
What's wrong with having the file header in the packed version???/* * jQuery 1.0.3 - New Wave _javascript_ * * Copyright (c) 2006 John Resig (jquery.com) * Dual licensed under the MIT (
MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * $Date: 2006-10-27 11:15:44 -0400 (Fri, 27 Oct 2006) $
That's
marvelous! Reminds me of a tween.as library that someone wrote for
Flash.
-Original Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Paul
BakausSent: Friday, November 03, 2006 10:32 AMTo: jQuery
Discussion.Subject: [jQuery] New way of
animat
That's effective!
Cheers!
Paul McLanahan wrote:
>
> It's just like the trick that the example Del.icio.us has for using
> their JSON feeds uses. They grab the favicon.ico image from the url
> with the following:
>
> url.split('/').splice(0,3).join('/')+'/favicon.ico';
>
> Then then have the
Is there a plugin or effect that I am not seeing in the documentation
to animate a change in margin? I have a series of images contained
inside of divs with a certain margin-left setting. I would like to be
able to create an effect where the images slide over to the side
without disappearing.
--
I agree. Especially with a large group of people all working in CVS (and overwriting each other's files with merges etc). It's nice to be able to just look at the file and see immediately through the browser. I often don't have access to the source.
It's also good advertising/communication fo
This is untested and off the top of my head but should point you in
the right direction ...
You should be able to call $().animate with a hash of properties
(styles) to change.
$().animate({ marginLeft: 20 }, 500);
--
Brandon Aaron
On 11/3/06, Bradford R. Bowman <[EMAIL PROTECTED]> wrote:
> Is
> has someone seen this at ajaxian? Check it out:
> http://berniecode.com/writing/animator.html
> This is probably the most sexiest animate lib I've ever seen in my life.
> Porting this to jQuery would be the PERFECT addition to jQuery's css parsing
> possiblities.
>
> What do you think?
I'm not c
Is there a way to check for cookies are enabled with jquery. and is there a
cookie pugin?
thanks
--
View this message in context:
http://www.nabble.com/checking-for-cookie-tf2570266.html#a7164717
Sent from the JQuery mailing list archive at Nabble.com.
__
Hi Everyone,
Just a reminder that today is the last day to post your submissions for
the JQuery Button Contest. Your entries need to be in before midnight
PST so don't delay!
http://jquery.com/blog/2006/10/26/jquery-button-contest-many-prizes
Rey...
___
Instead of a logo (s web 1.0 ;-) , how about recommending that any
page using jQuery should have the jQuery video embedded:
http://www.youtube.com/watch?v=LhDCXXvK0QE
Paul Caton.
Rey Bango wrote:
> Hi Everyone,
>
> Just a reminder that today is the last day to post your submissions for
On Fri, Nov 03, 2006 at 11:38:43AM -0600, Brandon Aaron wrote:
> This is untested and off the top of my head but should point you in
> the right direction ...
> You should be able to call $().animate with a hash of properties
> (styles) to change.
>
> $().animate({ marginLeft: 20 }, 500);
I playe
Here is the Cookie plugin, written by Klaus Hartl:
http://jquery.com/dev/svn/trunk/plugins/cookie/cookie.js?format=txt
Karl
___
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Nov 3, 2006, at 1:14 PM, bmsterling wrote:
>
> Is there a way to check for cookies are ena
bmsterling schrieb:
> Is there a way to check for cookies are enabled with jquery. and is there a
> cookie pugin?
>
>
> thanks
Yes there is a plugin:
http://jquery.com/dev/svn/trunk/plugins/cookie/cookie.js?format=txt
Does not check if cookies are enabled. You could use:
navigator.cookieEna
Baby steps Paul. Baby steps. :o)
We're ramping up promotion of JQuery on several different fronts. The
button contest is just the first step. I love your idea though!
Rey...
Paul Caton wrote:
> Instead of a logo (s web 1.0 ;-) , how about recommending that any
> page using jQuery should ha
Meta Plugin possible bug:
The meta plugin appears to assume that the old $().get function will
always return a jQuery object because it calls apply to the cached
function "_get" and calls "each" on the returned object. This doesn't
seem to be the case if get is called via the methods described in
I want to use events with jquery and tried the example:
//
Hello
But nothing happens, also with the other events (dblclick, mousedown etc.)
Can someone help me out??
--
View this
Did you get any JS errors?
--
Brandon Aaron
On 11/3/06, Muckinger <[EMAIL PROTECTED]> wrote:
>
> I want to use events with jquery and tried the example:
>
>
>
>
>
>
> //
> $("p").click( function() { alert("Hello"); } );
>
> // ]]>
>
>
>
> Hello
>
On Friday, November 03, 2006 9:50 AM Muckinger <> said:
> I want to use events with jquery and tried the example:
[snip]
>
> //
> $("p").click( function() { alert("Hello"); } );
>
> // ]]>
>
[snip]
> But nothing happens, also with the other events (dblclick, mous
You're very close.
The problem is that you're searching for tags before they exist.
You can do one of two things: either move the script to after the
tag in the markup (unreliable and old-and-busted), or wrap what you
have in $(function(){}); which is a shortcut for
$(document).ready(function(){
thanks for the responses, I will def try them both out.
--
View this message in context:
http://www.nabble.com/checking-for-cookie-tf2570266.html#a7166539
Sent from the JQuery mailing list archive at Nabble.com.
___
jQuery mailing list
discuss@jquery
bmsterling schrieb:
> thanks for the responses, I will def try them both out.
ha, they're both the same, don't try too much ;-)
thanks karl...
-- klaus
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Hi,
I think the documentation is in some parts erroneous. For functions like
$.get, $.ajax etc. there's said they return a jQuery object.
That should be "undefined", that is what functions without a return
statement return.
-- Klaus
___
jQuery mail
I made good use of the metadata talk, I selected the script option of
embedding parameters.
But I wasn't really ready to start adding
And just so you're not totally confused, these two snippets are
functionally the same. The first is just a short-hand version of the
second:
from Paul McLanahan:
> $(function(){
> $('p').click( function() { alert("Hello"); } );
> });
from Chris W. Parker:
> $(document).ready(function()
On Nov 3, 2006, at 2:55 PM, Paul McLanahan wrote:
> $(function(){}); which is a shortcut for
> $(document).ready(function(){});
Oops! Sorry, Paul. Now I see that you already explained the the one
is a shortcut for the other. That's what I get for skimming instead
of reading carefully. Oh wel
Or it might be a bug in the code, it seems to me that these functions
*should* return the jQuery object theyre operating on.
--Jacob
> Hi,
>
> I think the documentation is in some parts erroneous. For functions like
> $.get, $.ajax etc. there's said they return a jQuery object.
>
> That should be
Clem,
As far as I know this is still an open issue. I am hoping the one of the
developers that has some expertise in IE will take pity on us and try to
fix this bug sooner rather than later ;). This was not a problem pre
1.0.0, but I'm sure a lot of code has change since then which has
resulte
>> I'd would like to know if possible what is the
>> status on the bug 164 in jquery.
>
> As far as I know this is still an open issue. I am hoping
> the one of the developers that has some expertise in
> IE will take pity on us and try to fix this bug sooner
> rather than later ;).
If it's being
On 11/3/06, Dave Methvin <[EMAIL PROTECTED]> wrote:
> Was the problem the .getAttribute(..., 2) in .attr()? That was probably put
> in as a patch to the situation where IE fiddles with href attributes unless
> you call it like .getAttribute('href', 2). Maybe you could just take out the
> second ar
It's so jquery! But it will slow down pages and that will be bad ad for jq
- Original Message -
From: "Paul Caton" <[EMAIL PROTECTED]>
To: "jQuery Discussion."
Sent: Friday, November 03, 2006 7:29 PM
Subject: Re: [jQuery] Last Day for Submission for the JQuery Button Contest
> Instead
perhaps we need a standard link behind the button (other than the
obvious jquery.com), some total fluff page with a big link jquery.com
home
On 11/3/06, Dragan Krstic <[EMAIL PROTECTED]> wrote:
> It's so jquery! But it will slow down pages and that will be bad ad for jq
>
> - Original Message
On 11/3/06, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
> perhaps we need a standard link behind the button (other than the
> obvious jquery.com), some total fluff page with a big link jquery.com
> home
That has contributers names orbiting it like at worldfirefoxday.com.
__
I'd not do that. While it's neat, it did kill my browser and not
perform all that well. We don't want to give a bad impression to
people on non-high-end machines.
On Nov 3, 2006, at 3:24 PM, Paul McLanahan wrote:
> On 11/3/06, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
>> perhaps we need a standard li
How I can let the grabbeing xml in browser explain?
With the .html give me *[object XMLDocument]*
The Function are:
$.ajax({
type: "GET",
url: "url.xml",
dataType: "xml",
success: function(msg){
$("#content").html(msg);
}
});
--
Viele Grüße, Olaf
Success's parameter on an xml ajax call is not a string. it's a fully
parsed out representation of the xml. Normally people call the
parameter 'xml' not 'msg'.
You deal with it differently... if you get pieces of the xml with
standard jquery notation (plus you pass the xml, as in:
$("somenode",x
A recommended landing page is certainly a good idea. I'll run it by John.
Ret
Ⓙⓐⓚⓔ wrote:
> perhaps we need a standard link behind the button (other than the
> obvious jquery.com), some total fluff page with a big link jquery.com
> home
>
> On 11/3/06, Dragan Krstic <[EMAIL PROTECTED]> wrote:
>>
Has a star rating plugin like this:
http://www.masugadesign.com/the-lab/scripts/unobtrusive-ajax-star-rating-bar/
been developed?
Rey...
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
OK so can it be converted back into a string somehow (w/o knowing the
structure) and inserted inside a div for generating HTML display?
--Jacob
> Success's parameter on an xml ajax call is not a string. it's a fully
> parsed out representation of the xml. Normally people call the
> parameter 'xm
Is there a way to get the amount of "padding"-like space above text in a table cell that's there as a result of cell alignment. For example, if I align my cell to the bottom, it's useful to know how much space is above the text (specifically, for the corner plugin, which doesn't take this type of s
Looking for something to rate the JQuery Button submissions, Rey?
;)
___
SEAN O
Rey Bango-2 wrote:
>
>
> Has a star rating plugin like this:
>
> http://www.masugadesign.com/the-lab/scripts/unobtrusive-ajax-star-rating-bar/
>
> been developed?
>
> Rey...
>
> _
yeah... but what's the point? debugging? some folks (not me) use html
without trying to deal with it as xml, and just use some regexs and
other methods to insert directly into the current dom (page)
the beauty of the full ajax deal is to take what you need from the xml
and slip it just where you w
Dave Methvin wrote:
>>> I'd would like to know if possible what is the
>>> status on the bug 164 in jquery.
>> As far as I know this is still an open issue. I am hoping
>> the one of the developers that has some expertise in
>> IE will take pity on us and try to fix this bug sooner
>> rather than l
hey gang--
i'm seeing a new, related problem that thought i should bring to your
attention. this occurs in rev. 522 and 524.
I'm calling $(form.elements).customPluginThatIWrote().
as a test, before this statement, i alert(form.elements.length),
getting a value of 16 (the # of elements in thi
OK here's the point: suppose I want to return in one ajax call several
values to be displayed in different dom elements. I'd return an XML value
with .. and so on. Then I'll use
$("for-el1", xml) and so on to get each piece and stick it into the
corresponding element.
So how would I do it? Sin
Enquest wrote:
> I have the following problem, I'm not sure what is the best method to
> this.
>
> I got a basket. I save my items of the basket in a PHP $_SESSION ...
> You can enter some value's in the basket.
>
> I want these value's to be auto saved on change... For this I need to
> submit the
On 11/3/06, Pascal <[EMAIL PROTECTED]> wrote:
> hey gang--
>
> i'm seeing a new, related problem that thought i should bring to your
> attention. this occurs in rev. 522 and 524.
>
> I'm calling $(form.elements).customPluginThatIWrote().
>
> as a test, before this statement, i alert(form.elements.l
I barely know this stuff, but would something like this work:
$("#el1").html($("for-el1", xml).text());
$("#el2").html($("for-el2", xml).text());
$("#el3").html($("for-el3", xml).text());
or if you have a lot of elements, then making an array of them and
looping through the list might be cleane
I'd say the code would be like
$("#for-el1",xml).appendTo("#el1");
On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> OK here's the point: suppose I want to return in one ajax call several
> values to be displayed in different dom elements. I'd return an XML value
> with .. and so on.
That works for text, not HTML, right? Because the HTML would get parsed out.
Consider a return value of
...
Etc.
--Jacob
> I barely know this stuff, but would something like this work:
>
> $("#el1").html($("for-el1", xml).text());
> $("#el2").html($("for-el2", xml).text());
> $("#el3").html($(
Thats' 99% of the solution, I hope. But... appendTo replaces or adds? I
want to *remove* the old contents.
--Jacob
> I'd say the code would be like
> $("#for-el1",xml).appendTo("#el1");
>
>
> On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> OK here's the point: suppose I want to return
something like:
$("a.starRating").each(function(){
var $this = $(this);
var href = this.href;
var stars = $this.text();
switch it around using append & do an empty before it!
On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Thats' 99% of the solution, I hope. But... appendTo replaces or adds? I
> want to *remove* the old contents.
>
> --Jacob
>
> > I'd say the code would be like
> > $("#for-el1",xml).appe
Like this:
$('#el1').empty().append($("#for-el1, xml));
I guess. If thats it then wow I'm really impressed by the expressive power
of jQuery :)
--Jacob
> switch it around using append & do an empty before it!
>
> On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> Thats' 99% of the solu
jquery rocks! and http://visualjquery.com is my main reference!
your quotes are a bit off... but mine are too sometimes!
On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Like this:
>
> $('#el1').empty().append($("#for-el1, xml));
>
> I guess. If thats it then wow I'm really impressed by
This worked perfectly by the way. Thank you so much! :)
Glen
On 10/27/06, abba bryant <[EMAIL PROTECTED]> wrote:
Just a quick note. When you hit the "quick links" button I get an annoyinghorizontal shift in FF.
You can fix with the following css rulehtml { height:100%; margin-bottom:1px; }It wi
Yep, I forgot a close-" :)
Actually it sounds like I want to use xJS,
http://www.malsup.com/jquery/jxs/ dunno if everyone knows about it here,
its a plugin that parses XML and sends the DOM elements to their right
destination.
--Jacob
> jquery rocks! and http://visualjquery.com is my main refere
Dang I should just go to sleep, I'm off my quotes myself :)
The correct URL is http://www.brainknot.com/code/jxs.htm
Took me a while to figger out what he was on about.
--Jacob
> jquery rocks! and http://visualjquery.com is my main reference!
>
> your quotes are a bit off... but mine are too so
from first glance, xsj looks like a pretty specially formattted xml. a
little xslish. a good solution if you want the xml to have the rules
instead of just data.
On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Yep, I forgot a close-" :)
>
> Actually it sounds like I want to use xJS,
>
No, its a full page modification language. Pretty much all the effects and
dom methods of jQuery are supported. Its great if you want to let the
server drive whats shown on the page, like xajax
(http://www.xajaxproject.org/) except explicitly. In fact I know now how
to make xajax work with jquery,
that's what I meant...
1 file for the js & html 1 for the xml xjs script and 1 for the xml data.
the xjs does the rules instead of doing it directly in jq.
sure looks like a lot of code to choose from! keep us all posted!
On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> No, its a ful
72 matches
Mail list logo