I've found that I've had to add keydown to both document and body in order to detect ctrl and shift in both ie and ff.\$(document).add("body").keydown( function(e) { var ctrl = e.keyCode == 16 || e.ctrlKey
; var alt = e.keyCode == 18 || e.altKey;});BlairOn 10/5/06, Klaus Hartl <[EMAIL PROTECTED]
Feel free to use any code you want from mine, too. I haven't completely polished it up yet, but I'll be writing up something about it within the next couple weeks on learningjquery.com, so I'll be making it look a little prettier in the meantime.http://test.learningjquery.com/dropdown.htmCheers,Kar
A great starting point, but to date Myles has not added beyond the first
level. He does present some excellent work, though, yes?
FWIW , the menu items on TJ's example are cut off on Firefox as well.
I was playing around with this style of menu system this week as well,
using Myles's and a coup
have you seen this one?
http://be.twixt.us/jquery/suckerFish.php
In IE7, the menu items are cut off on yours.
Glen
On 10/7/06, TJ <[EMAIL PROTECTED]> wrote:
Hi, I am trying to make a drop down menu. I have half of it but I need a sub menu off to the left. I am using this jquery code.
$(document
yes, that would help quite a bit, since jquery would only need to look once.
On 10/7/06, Jacky <[EMAIL PROTECTED]> wrote:
> Would caching the jQuery object a help too? Sometimes you just can't
> keep the chain.
>
> e.g. var jqObj = $("#abc");
>
> On 10/8/06, Karl Swedberg <[EMAIL PROTECTED]> wrote
I just did a new checkout and did a make pack and everything seems to
be okay. I ran a few of my example pages with it and didn't get any
errors.
--
Brandon Aaron
On 10/7/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> the current build script seems to be broken: Only the ajax part
Would caching the jQuery object a help too? Sometimes you just can't
keep the chain.
e.g. var jqObj = $("#abc");
On 10/8/06, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> On Oct 7, 2006, at 3:39 PM, George Adamson wrote:
>
> > An easy performance booster is to use the second param in $() to set a
>
Hi all,
New to jquery and list, but I looked through the archives and didn't see
anything that help.
I have a page that is working under jquery.js
/* Built Fri May 12 13:01:23 2006 */
* $Rev: 29 $
but I upgraded to jquery-latest.js and todays jquery-svn.js and both of
these give me an error wh
Great code, lots of options, I could see extending it for every
thinkable graph format.
perhaps method:block|line|.. instead of useCanvas: true|false.
Not being an expert on canvas, I would assume there is a fill in the
polygon type command that could help instead of the span?
On 10/7/06, Fr
2006/10/7, John Resig <[EMAIL PROTECTED]>:
> Franck - Doing a quick check to see if the user is using IE, or not,
> you could be able to use the Canvas element no problem.
OK, I did it. Same address: http://fmarcia.info/jquery/sparkline/sparkline.html
However, just one color in this case as it do
Hi folks,
the current build script seems to be broken: Only the ajax part of the
complete jQuery file is parsed, resulting in a lite version with only
ajax docs removed and api docs and tests with only ajax docs/tests.
Doing some diff debugging by comparing revisions of the files involved
(bui
On Oct 7, 2006, at 3:39 PM, George Adamson wrote:
> An easy performance booster is to use the second param in $() to set a
> context for the search. Eg: $("DIV.myClass", myParentElement).
> Perhaps this
> is what you meant when you mentioned 'getting a parent element' ?
>
> Chaining methods is h
Yep... the page that has the autocompleter is on the same domain
as the XML source.
Rich
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Hi, I am trying to make a drop down menu. I have half of it but I need a sub
menu off to the left. I am using this jquery code.
$(document).ready(function(){
$("#nav-one li").hover(
function(){ $("ul", this).fadeIn("slow"); },
Saw you had no responses so here's a couple of suggestions...
An easy performance booster is to use the second param in $() to set a
context for the search. Eg: $("DIV.myClass", myParentElement). Perhaps this
is what you meant when you mentioned 'getting a parent element' ?
Chaining methods is
Awesome, thanks so much!On 10/7/06, Mike Alsup <[EMAIL PROTECTED]> wrote:
Todd,Just tack "?format=txt" on to the end of the url. For example,http://jquery.com/dev/svn/plugins/form/form.js?format=txt
Mike___jQuery mailing listdiscuss@jquery.comhttp://jque
Ah. Blame someone else. I see *grin*
It /is/ convenient that jQ can deal with this; I just found it strange
no one had at least pointed it out. Workarounds are nice, but the *real*
problem is that the HTML is just wrong, and that should be addressed
first, if at all possible.
Ⓙⓐⓚⓔ wrote:
> I w
Todd,
Just tack "?format=txt" on to the end of the url. For example,
http://jquery.com/dev/svn/plugins/form/form.js?format=txt
Mike
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
I wondered the same thing,,, I wouldn't have slashes in my ids... but
he is working with others who have disregarded standards... It's nice
that JQ can handle messy htmls, instead of just well formed xhtml. I
bet xsl would just plotz!
On 10/7/06, Su <[EMAIL PROTECTED]> wrote:
> I'm curious: Why
Please forgive my ignorance on this one. I'm embarassed to ask this, but here goes: Is there an easy way to download the plugins hosted on the jQuery site through a browser or do I need use an SVN client? All the formatting applied by TracBrowser makes it nice to look at, but not so nice when I jus
> From: Su
>
> I'm curious: Why is everybody trying to "fix" the selector
> problem, rather than pointing out the ID is invalid in the
> first place?
>
> Dexter: Get rid of the slash altogether. Problem solved.
>
> You might be able to work around this with the various
> suggestions others ha
I am a total sucker for images without files! I really like the use of
a tiny inline image with different bg colors. I experimented with
inline images in an atom feed... it didn't work for all feed readers!
I also like the canvas method that John used, I look forward to your
merged version!
On 10
> I agree, do you think .sort() and .reverse() could be added to core jQuery
> object in the future, or should I just add a plugin.
Sort, reverse, and splice are definitely possible - maybe for the 1.1 release.
--John
___
jQuery mailing list
discuss@jq
Oops, I meant to make that:
jQuery.fn.unshift = jQuery.fn.add;
The issue is, however, that fundamentally .push() or .unshift() won't
work as expected, since adding an item to a jQuery object isn't like
adding a item to a normal array. The jQuery object is more like a
'Set' than it is a true 'Array
I'm curious: Why is everybody trying to "fix" the selector problem,
rather than pointing out the ID is invalid in the first place?
Dexter: Get rid of the slash altogether. Problem solved.
You might be able to work around this with the various suggestions
others have made, but if your document i
On 10/7/06, Michael Geary <[EMAIL PROTECTED]> wrote:
> > > jQuery.fn.reverse = function() {
> > >this.pushStack(this.get().reverse());
> > >return this;
> > > }
>
> > Nice. That is a better approach then just doing
> > jQuery.fn.reverse = [].reverse.
>
> I'm curious, what is the advantage o
> > jQuery.fn.reverse = function() {
> >this.pushStack(this.get().reverse());
> >return this;
> > }
> Nice. That is a better approach then just doing
> jQuery.fn.reverse = [].reverse.
I'm curious, what is the advantage of one approach over the other?
-Mike
> > From: Michael Geary
> >
> > Armed with this knowledge, one might be tempted to load
> > all the Array methods in one fell swoop:
> >
> >jQuery.fn.prototype = Array.prototype;
> >
> > But that does not work, presumably because jQuery is
> > already being a bit sneaky about its Array-like be
@ Karl: thank you for the info.
@ John: I will take a look at canvas; I missed your implementation but
now, I will certainly borrow some parts ;-)
Cheers,
Franck.
2006/10/7, John Resig <[EMAIL PROTECTED]>:
> Back in the day I wrote some sparkline code myself:
> http://ejohn.org/apps/jspark/
>
>
am i the only one that read that as "revision not found"?...
anyways, great job!
On 10/7/06, Brandon Aaron <[EMAIL PROTECTED]> wrote:
> My site was down ... but it is back up now ... sorry about that. I
> seem to be having issues with Mongrel and/or Typo :/
>
> BTW ... you can just grab the full
My site was down ... but it is back up now ... sorry about that. I
seem to be having issues with Mongrel and/or Typo :/
BTW ... you can just grab the full jQuery revision 404 with the patch
from here: http://brandonaaron.net/jquery/opacity/jquery.opacitypatch.js
to make sure it works for you befor
I still could use some help with this guys - does anyone know how I would
call the ScrollTo plugin from one page to another?
Thanks -
AR
zelda2 wrote:
>
> I?ve been trying to figure this out for days and no luck. I?m trying to
> use the ScrollTo (Interface) plugin to control the scrolling b
I agree, do you think .sort() and .reverse() could be added to core jQuery
object in the future, or should I just add a plugin.
--
View this message in context:
http://www.nabble.com/.each-backwards---tf2399145.html#a6694292
Sent from the JQuery mailing list archive at Nabble.com.
Awesome! Thanks Karl!
Karl Swedberg wrote:
> On Oct 6, 2006, at 11:41 PM, Rey Bango wrote:
>
>>I recall a JQuery cheat sheet floating around. Anyone have the link
>>to that?
>
>
> Hi Rey,
>
> They came from Nilesh Patel.
>
> PDF
> http://www.define-web.com/jquery_cheat_sheet/
> jquery_chea
Hi John!
> jQuery.fn.unshift = jQuery.fn.unshift;
>
What is that supposed to do?
-- Jörn
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Back in the day I wrote some sparkline code myself:
http://ejohn.org/apps/jspark/
This particular one uses the Canvas element (giving it a nice
antialias). My code looks kind of scary, in retrospect, but it seems
like it wouldn't be too bad to give it a jQuery facelift.
Franck - Doing a quick che
> jQuery.fn.reverse = function() {
> this.pushStack(this.get().reverse());
> return this;
> }
Huh, at first I though that that code would infinitely recurse, I
totally forgot that .get() returns a "clean" array of elements - good
call! Just a quick simplification:
jQuery.fn.reverse = function()
On Oct 7, 2006, at 6:56 AM, Franck Marcia wrote:
> I've released a new plugin: sparkline. A sparkline is an inline
> graphic (http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?
> msg_id=0001OR&topic_id=1).
>
> I borrowed the idea (and most of the code) from the TiddlyWiki
> project, a very good
Jan Rosa schrieb:
> Hello,
> I think there i no need to replace $ in next release. You can employ
> server search&replace
>
> Look at example:
> http://www.freshconcept.cz/uschovna/jQueryIsolate.phps
>
> then you use:
>
> src="...pathto/jQueryIsolate.php?js=jquery-latest.js,pause.js,hovertip.js">
On Oct 6, 2006, at 11:41 PM, Rey Bango wrote:
> I recall a JQuery cheat sheet floating around. Anyone have the link
> to that?
Hi Rey,
They came from Nilesh Patel.
PDF
http://www.define-web.com/jquery_cheat_sheet/
jquery_cheat_sheet_080306_v1.pdf
http://www.define-web.com/jquery_cheat_sheet/
kenton.simpson schrieb:
> Thanks for the Idea. This works
>
> jQuery.fn.reverse = function() {
> this.pushStack(this.get().reverse());
> return this;
> }
>
Nice. That is a better approach then just doing jQuery.fn.reverse =
[].reverse.
-- Jörn
__
Thanks for the Idea. This works
jQuery.fn.reverse = function() {
this.pushStack(this.get().reverse());
return this;
}
a long that thread a lot more resorting function may be useful.
--
View this message in context:
http://www.nabble.com/.each-backwards---tf2399145.html#a6693603
Sent from th
Hello,
I think there i no need to replace $ in next release. You can employ
server search&replace
Look at example:
http://www.freshconcept.cz/uschovna/jQueryIsolate.phps
then you use:
Jan Rosa
___
jQuery mailing list
discuss@jquery.com
http://jq
> Looks better, Christian. Great work. You might want to get rid of the
> padding-left: 25px from .largeHeaders, and instead do something like
> this:
> a.sorter {
> padding-left: 25px;
> color: #006;
> text-decoration: none;
> }
>
> That way, the images will appear clickable as well
[EMAIL PROTECTED] schrieb:
> var a = $("[EMAIL PROTECTED]'content/mytest']");
>
That should be $('[EMAIL PROTECTED]'content/mytest']).
#input would select an element with the id input.
-- Jörn
___
jQuery mailing list
discuss@jquery.com
http://jquery
Michael Geary schrieb:
>> From: Dossy Shiobara
>>
>> I'm surprised there's no .reverse(). i.e.:
>>
>> $(collection).reverse().each(...)
>>
>
> Great idea!
>
> How about the world's smallest plugin:
>
>jQuery.fn.reverse = [].reverse;
>
That's some really great stuff! It took me some ti
Hi all,
I've released a new plugin: sparkline. A sparkline is an inline
graphic
(http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001OR&topic_id=1).
I borrowed the idea (and most of the code) from the TiddlyWiki
project, a very good one-page wiki (http://www.tiddlywiki.com). Thanks
to
> From: Dossy Shiobara
>
> I'm surprised there's no .reverse(). i.e.:
>
> $(collection).reverse().each(...)
Great idea!
How about the world's smallest plugin:
jQuery.fn.reverse = [].reverse;
Try it out at http://jquery.com/ by entering these lines into the FireBug
console:
jQuery.fn.
Rich Manalang wrote:
Hi. I just started using the Interface Elements
Autocomplete plugin (http://interface.eyecon.ro/docs/autocomplete)
for a web app I support. It works great on IE/Firefox (win) under most
circumstances. However, on Firefox, when document.domain is set, it
fails to work. I
49 matches
Mail list logo