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 tests
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:
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
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
least,
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
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:
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
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) $* $Rev:
That's
marvelous! Reminds me of a tween.as library that someone wrote for
Flash.
!//--andy matthewsweb
developercertified advanced coldfusion programmerICGLink,
Inc.[EMAIL PROTECTED]615.370.1530
x737--//-
-Original Message-From: [EMAIL
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 for
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
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 played
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
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.cookieEnabled
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
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:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
head
script type=text/javascript src=/js/jquery.js/script
script type=text/javascript
// ![CDATA[
$(p).click( function() { alert(Hello); }
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:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
head
script type=text/javascript src=/js/jquery.js/script
On Friday, November 03, 2006 9:50 AM Muckinger said:
I want to use events with jquery and tried the example:
[snip]
script type=text/javascript
// ![CDATA[
$(p).click( function() { alert(Hello); } );
// ]]
/script
[snip]
But nothing happens, also with the other
You're very close.
The problem is that you're searching for p tags before they exist.
You can do one of two things: either move the script to after the p
tag in the markup (unreliable and old-and-busted), or wrap what you
have in $(function(){}); which is a shortcut for
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
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
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 script tags before each a
href that I wanted to script...
so I went up the ancestor tree and look for the previous script tags,
then one gets extended into the
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
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
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 ignored
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
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. discuss@jquery.com
Sent: Friday, November 03, 2006 7:29 PM
Subject: Re: [jQuery] Last Day for Submission for the JQuery Button Contest
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 link
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:
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:
It's so
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/
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
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 later ;).
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
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 for-el1.../for-el1for-el2.../for-el2 and so on. Then I'll use
$(for-el1, xml) and so on to get each piece and stick it into the
corresponding
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 value
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.length),
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 cleaner.
It
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
That works for text, not HTML, right? Because the HTML would get parsed out.
Consider a return value of
for-el1tabletr.../tr/table/for-el1
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());
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 in one ajax
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).appendTo(#el1);
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 solution, I
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 the
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 will
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
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
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 full
64 matches
Mail list logo