Re: [jQuery] Question on bookmarklets

2006-10-26 Thread Patrick Hall
Hi, I'm not sure if this is what you mean, but this is sort of useful: javascript:(function(){var s,d=document,a=function(o){d.body.appendChild(o)}; s=d.createElement('script'); s.type='text/javascript'; s.src='http://example.com/jquery.js';a(s)})(); Nuke the newlines, of course, and turn that

Re: [jQuery] BUG: Rebinding an event in IE

2006-10-26 Thread Brice Burgess
John Resig wrote: I /think/ this has to do with the fact that if you bind events inside of an event, in IE, then the new events will fire again too, causing the browser to go into a never-ending loop. You just need to be really careful about binding duplicate event handlers in IE (at

Re: [jQuery] Question on bookmarklets

2006-10-26 Thread Klaus Hartl
Truppe Steven schrieb: Hello everyone, i would find it usefull to use jQuery for bookmarklets (because jQuery code is so short) but also on pages that do no include jQuery in their pages. Is there a way to do that ?? Is there a way to just add jQuery into the head of the document loaded

Re: [jQuery] Sortables, new approach

2006-10-26 Thread John Resig
This is some great code, Stefan and Paul - implementing nested Drag-and-Drop lists is never easy, and I like the end result. Can't wait to use it! --John On 10/23/06, Stefan Petre [EMAIL PROTECTED] wrote: Hi there, Me and Paul are thinking to change the way sortables are working right now.

[jQuery] jQuery Global Events Slightly Askew

2006-10-26 Thread Blair Mitchelmore
So I noticed something recently when I found out about, and played around with, those zany global event triggers. If you add two different events of the same type to the same element, when you call the global event trigger for that type, each event will get called twice. Example: func1 =

Re: [jQuery] Sortables, new approach

2006-10-26 Thread Paul Bakaus
We both had some fresh ideas, but the credits for the code go to Stefan :)Great work!I will help out Stefan in testing and smoothing the result with some effects, then we'll come back with a somewhat final version. Paul2006/10/26, John Resig [EMAIL PROTECTED]: This is some great code, Stefan and

Re: [jQuery] tableSorter - where has that guy gone...

2006-10-26 Thread SDisk SDisk
First, I think that it is cool, I used this plugin in my project and it is very simple, develop time ( in seconds) I like it :D.But only one thing, in header click you need return false if you don't want scroll up to the start of the page (normally click in a link with href="" scroll up the

[jQuery] new plugin: unobtrusive CRIR (Checkbox And Radio Image Replacement)

2006-10-26 Thread gilles
So i've made yet another plugin. I prefer that this plugin will be a part of Interface, since they are interface plugins. As for now i have it working for Checkboxes in both FF 1.5.0.7 and MSIE 6.x, but i want to do some more testing. *What's new?* I've made quite a few improvements upon the

Re: [jQuery] new plugin: unobtrusive CRIR (Checkbox And Radio Image Replacement)

2006-10-26 Thread Paul Bakaus
Seems to be a nice addition for Interface. I'm looking forward to your Window plugin as well. Slowly interface seems to grow into a full featured gdi replacement ;-)2006/10/26, [EMAIL PROTECTED] [EMAIL PROTECTED]: So i've made yet another plugin. I prefer that this plugin will be a partof

Re: [jQuery] new plugin: unobtrusive CRIR (Checkbox And Radio Image Replacement)

2006-10-26 Thread Stefan Petre
Nice, I need this for a project. I don't like such things, but the client really likes it .About windows: i made a change in resizeables to drag resized element with the same rules as resizing (minTop, minLeft,maxBottom, maxRight). You can use a handler to drag it, or the element itself. At this

Re: [jQuery] PLUGIN: In place AJAX editing of TableSorter

2006-10-26 Thread Brice Burgess
OK! Plugin has been updated to; A) Only update changed columns B) Work with HTML Form elements (input[checkbox/radio/text],select,textarea) C) Not crash IE If anyone has any comments or suggestions, I'm all ears. Demo page: http://dev.iceburg.net/jquery/tableEditor/demo.php ~ Brice --

Re: [jQuery] Sortables, new approach

2006-10-26 Thread Felix Geisendörfer
Great work! I already liked the previous sortable functionality and I use it in a project right now to manipulate the navigation tree in the admin panel, but this is outstanding! I can't await to use it either! I don't have Safari / Linux to test, but I gave it a try in Swift which uses the

Re: [jQuery] Sortables, new approach

2006-10-26 Thread Patrick Hall
Works great in Firefox 1.5.0.7 under Linux as far as I can tell. Awesome! (Random thought: Hooking this up to keyboard commands would be an interesting basis for a hierarchichal list editing/outlining app... ) -p@ ___ jQuery mailing list

Re: [jQuery] Sortables, new approach

2006-10-26 Thread [EMAIL PROTECTED]
Really like the look of this, I'll test in safari when my colleague gets in with his Mac. Works a treat on Firefox/Linux :D Great work. Original Message: - From: Stefan Petre [EMAIL PROTECTED] Date: Thu, 26 Oct 2006 08:16:25 +0300 To: discuss@jquery.com Subject: Re: [jQuery]

Re: [jQuery] Sortables, new approach

2006-10-26 Thread [EMAIL PROTECTED]
I realise it's just a draft but in IE6, when dragging nodes, the text is selected. To fix that, change: ul class=test to ul onselectstart = return false That can also be set using javascript too. Original Message: - From: Stefan Petre [EMAIL PROTECTED] Date: Thu, 26 Oct 2006

[jQuery] Has anybody done this?

2006-10-26 Thread Linan Wang
Here is my little plugin to create dom element:http://204.13.69.149/~wang/My questions are:1, Has anybody done this before?2, As it's my first crack on jQuery, anything wrong with the api call? 3, Is there any more elegant solutions?-- Best regardsLinan Wang

[jQuery] conflict iTooltip and ifx.js in IE

2006-10-26 Thread Eckhard Rotte
Hi jQueries, I found a bug: if itooltip.js comes with the ifx.js in the same document, the tooltip only appears once in IE. Here's an simplified example: http://test.webdebug.de/tmp/jquery/itoolfx.html does anybody have an solution or an idea to fix it? --

Re: [jQuery] Has anybody done this?

2006-10-26 Thread Klaus Hartl
Linan Wang schrieb: Here is my little plugin to create dom element: http://204.13.69.149/~wang/ My questions are: 1, Has anybody done this before? 2, As it's my first crack on jQuery, anything wrong with the api call? 3, Is there any more elegant solutions? -- Best regards Linan

Re: [jQuery] conflict iTooltip and ifx.js in IE

2006-10-26 Thread Stefan Petre
Eckhard Rotte wrote: Hi jQueries, I found a bug: if itooltip.js comes with the ifx.js in the same document, the tooltip only appears once in IE. Here's an simplified example: http://test.webdebug.de/tmp/jquery/itoolfx.html does anybody have an solution or an idea to fix it? --

Re: [jQuery] Sortables, new approach

2006-10-26 Thread Stefan Petre
I know about this, will be fixed. [EMAIL PROTECTED] wrote: I realise it's just a draft but in IE6, when dragging nodes, the text is selected. To fix that, change: ul class=test to ul onselectstart = return false That can also be set using javascript too. Original Message:

[jQuery] stopPropagation case

2006-10-26 Thread Марат
Hello,I've got a question:In simple js applying of stopPropagation looks like !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//ENHTMLHEADTITLE New Document /TITLE META NAME=Generator CONTENT=EditPlusscript type=text/_javascript_ function stopBubble(e) { var e = e || window.event;

Re: [jQuery] stopPropagation case

2006-10-26 Thread Klaus Hartl
Is there anyway to apply stopPropagation in more beautiful way to #square in jQuery than that $('#wrapper').click(function(){alert( this.id http://this.id);}); // shows wrapper id $('#square').click(function(e){e.stopPropagation();}); ??? Hi, what is wrong with

Re: [jQuery] Has anybody done this?

2006-10-26 Thread Dave Methvin
Here is my little plugin to create dom element: http://204.13.69.149/~wang/ My questions are: 1, Has anybody done this before? 2, As it's my first crack on jQuery, anything wrong with the api call? 3, Is there any more elegant solutions? As Klaus said, the name is a bit off but I do

[jQuery] ajax start/stop/error - what I'm doing wrong?

2006-10-26 Thread Stamen Georgiev
Hi there! I'm having some troubles with ajaxStart/Stop/Error etc. I can't make them work. Here's a small test page: http://stamen.lasvegas-nevada.com/jq/ajtest.html If you look at the code you'll see what I mean. Seems that this block: $(#loader) .ajaxStart (function ()

Re: [jQuery] stopPropagation case

2006-10-26 Thread Марат
Yeah! Just thought maybe there'se more elegant way to bubble event? Something like that:$('#wrapper').not(#square).click(function(){alert(this.id );}); And of course I know that not() doesn't work in such a case.Do you understand what I mean?2006/10/26, Klaus Hartl [EMAIL PROTECTED]:Hi,what is

Re: [jQuery] siblings() expression bug?

2006-10-26 Thread Brian Miller
Perhaps you're right. But, in the mean time, you could always use $('label').siblings().find('input,textarea').addClass('blah'); - Brian Hey, this is my first post to discuss@ and I'm new to jQuery though I'm loving it. I don't know if this is a bug or not... Shouldn't

[jQuery] Scroll document if draggable leaves viewport

2006-10-26 Thread Eckhard Rotte
Hi jQueries, i've posted this mail 2 times ago, but it didn't appear in the mailing list. Only the web frontend did get it, nothing in my inbox. Did you get it? I'll try it once again:

Re: [jQuery] jQuery on mozilla

2006-10-26 Thread Karl Swedberg
On Oct 26, 2006, at 12:00 AM, Will Jessup wrote: Wanted to point out this jQuery implementation I was lucky enough to do : http://www.digg.com/software/ Mozilla_releases_Friends_of_Firefox_followup_to_worldfirefoxday2006 How totally cool! Way to go, Will! Congrats to Will, and also to

Re: [jQuery] ajax start/stop/error - what I'm doing wrong?

2006-10-26 Thread Jan Sorgalla
Hi, thats a bug in 1.0.2 http://jquery.com/dev/bugs/bug/265/ Its fixed in SVN. Jan Stamen Georgiev wrote: Hi there! I'm having some troubles with ajaxStart/Stop/Error etc. I can't make them work. Here's a small test page: http://stamen.lasvegas-nevada.com/jq/ajtest.html If you

[jQuery] Events are not cloned together with the object

2006-10-26 Thread Kush Murod
Hi, Is there a way to clone events of an object that is being cloned in one go. Because right now when I clone an object its events are not copied across. Cheers ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Sortables, new approach

2006-10-26 Thread bbuchs
Do you expect to release this as a new SortableTree plugin, or would this replace the existing Sortables? More to the point, if this *did* replace Sortables, is it backwards compatible with the existing version? Stefan Petre wrote: Hi there, Me and Paul are thinking to change the way

Re: [jQuery] Opera 9.02 and events

2006-10-26 Thread Aaron Ullom
Sorry. Yes, I did get that. I was just intent on getting it to work the way I wanted it to. And thanks for the explanation of what goes on with p in the DOM. Aaron Ullom Netphoria, Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Hartl Sent:

[jQuery] performance optimizations?

2006-10-26 Thread John Napiorkowski
Hi, I've just been using Jquery for a few days and WOW, this has been very productive for me. This is fantastic work all around. I do have two questions I'm hoping someone might know something about: 1) Where can I find a searchable archive of this mailing list, because I'd hate to ask

Re: [jQuery] performance optimizations?

2006-10-26 Thread Sam Collett
On 26/10/06, John Napiorkowski [EMAIL PROTECTED] wrote: Hi, I've just been using Jquery for a few days and WOW, this has been very productive for me. This is fantastic work all around. I do have two questions I'm hoping someone might know something about: 1) Where can I find a searchable

Re: [jQuery] I need help with the jQuery .click event

2006-10-26 Thread Jörn Zaefferer
Hi Mike! But watch out for page load time when you are setting up this many event handlers. I was doing this for a poup calendar widget, and the load time was noticeable on a slow machine. I ended up installing a single event handler for the entire calendar and doing my own hit testing on

Re: [jQuery] Improved Event system new Accordion

2006-10-26 Thread Franck Marcia
2006/10/26, Jörn Zaefferer [EMAIL PROTECTED]: Hi folks, Hi, Jörn, I just commited a few changes to jQuery's event system. I fixed the target property of the event.target for both IE and Safari, and modified bind: It now accepts an optional third parameter that specifies the number of

Re: [jQuery] siblings() expression bug?

2006-10-26 Thread Jörn Zaefferer
Perhaps you're right. But, in the mean time, you could always use $('label').siblings().find('input,textarea').addClass('blah'); I guess that should be rather: $('label').siblings().filter('input,textarea').addClass('blah'); -- Jörn Zaefferer http://bassistance.de -- Der GMX SmartSurfer

[jQuery] How to cache jQuery

2006-10-26 Thread Truppe Steven
Hello, i use jQuery on multiple pages of my site so it would be nice to make sure that this file is only loaded once and not on every menu change. Is there a cross-browser way (for jQuery supported browsers) to cache the file and make it load only once ? best regards, Truppe Steven

Re: [jQuery] performance optimizations?

2006-10-26 Thread Dave Methvin
2) I'm getting about a 1.5 second pause when the page loads up, even when on my local system, which appears to be when my jquery commands execute. It's just a little too long, my client noticed right away. Are there any tricks to help this out? For example is it better to use xpath or css

Re: [jQuery] performance optimizations?

2006-10-26 Thread Christof Donat
Hi, Are there any tricks to help this out? For example is it better to use xpath or css type searches for better performance? You may speed your code up ba choosing the selector. Usually just searching for the id ahould be the fastest: $('#myid'). Number Two is searching for the tag type:

Re: [jQuery] How to cache jQuery

2006-10-26 Thread David Duymelinck
Truppe Steven schreef: Hello, i use jQuery on multiple pages of my site so it would be nice to make sure that this file is only loaded once and not on every menu change. Is there a cross-browser way (for jQuery supported browsers) to cache the file and make it load only once ? Maybe a

Re: [jQuery] How to cache jQuery

2006-10-26 Thread Christof Donat
Hi, i use jQuery on multiple pages of my site so it would be nice to make sure that this file is only loaded once and not on every menu change. Is there a cross-browser way (for jQuery supported browsers) to cache the file and make it load only once ? Yes: Make it a normal file. The browser

Re: [jQuery] How to cache jQuery

2006-10-26 Thread Su
Truppe Steven wrote: i use jQuery on multiple pages of my site so it would be nice to make sure that this file is only loaded once and not on every menu change. Is there a cross-browser way (for jQuery supported browsers) to cache the file and make it load only once ? Your browser should be

Re: [jQuery] I need help with the jQuery .click event

2006-10-26 Thread Christopher Jordan
Mike, I've reread your response by the light of day, and I'm curious about what you said at the bottom; But watch out for page load time when you are setting up this many event handlers. I was doing this for a poup calendar widget, and the load time was noticeable on a slow machine. I ended

Re: [jQuery] Improved Event system new Accordion

2006-10-26 Thread gilles
Hi folks, I just commited a few changes to jQuery's event system. I fixed the target property of the event.target for both IE and Safari, and modified bind: It now accepts an optional third parameter that specifies the number of times the handler has to executed. When that amount is reached,

Re: [jQuery] performance optimizations?

2006-10-26 Thread Jörn Zaefferer
If your page contains many elements, then using a context might speed up the search for classes: $('.myclass',$('#commonAncestor')[0]). Thats actually the same as: $('#commonAncestor .myclass') But less cryptic :-) -- Jörn Zaefferer http://bassistance.de -- Der GMX SmartSurfer hilft bis

Re: [jQuery] Improved Event system new Accordion

2006-10-26 Thread Jörn Zaefferer
Your version relies on the way the menu is described. In extenso, it must be a definition list. Couldn't it be more independant? Is that about semantic? I started with your version and modified it to use a definition list. I'm not sure what would be the best approach. But as it is so very

[jQuery] Non-destructive jQuery

2006-10-26 Thread Jörn Zaefferer
Hi folks, I'd really like to see John's modifications to pushStack included in the jQuery core. Details here: http://www.nabble.com/Non-Destructive-jQuery-tf2482924.html I'm actually wondering if that modification would break any existing code, as end() works like before. I guess the only

Re: [jQuery] Events are not cloned together with the object

2006-10-26 Thread Yehuda Katz
How are you cloning the object?On 10/26/06, Kush Murod [EMAIL PROTECTED] wrote: Hi,Is there a way to clone events of an object that is being cloned in one go. Because right now when I clone an object its events are not copied across.Cheers___jQuery

Re: [jQuery] Improved Event system new Accordion

2006-10-26 Thread Jörn Zaefferer
By the way, is there interest to put the accordion into the jQuery repository? If you create a subdirectory in SVN/plugins this would be really good. Since Klaus and I also made an accordion plugin, we might need to change that to /plugins/accordion1/ and /plugins/accordion2/. I'd rather

Re: [jQuery] Events are not cloned together with the object

2006-10-26 Thread Kush Murod
yes, actually I am getting an object by id $('#someID').clone().appendTo(...), trying to duplicate specific div that has id=someID and within that div#someID there is an event attached which is not being copied across. Sorry can't show the exact example because it is at work :( Yehuda Katz

Re: [jQuery] performance optimizations?

2006-10-26 Thread Christof Donat
Hi, search for classes: $('.myclass',$('#commonAncestor')[0]). Thats actually the same as: $('#commonAncestor .myclass') For that example that ist true, but you might have cached your context: var mycontext = $('#commonAncestor')[0]; $('.menuitems',mycontext).hide();

Re: [jQuery] siblings() expression bug?

2006-10-26 Thread Gavin M. Roy
Thanks Brian and Jörn, that indeed does work, but I still wonder if the siblings() expression should match the functionality of find() or $(). Would be nice to find a definitive answer to that. Thanks again, Gavin On Oct 26, 2006, at 7:15 AM, Jörn Zaefferer wrote: Perhaps you're right.

Re: [jQuery] Non-destructive jQuery

2006-10-26 Thread Kurt Mackey
I use multiple destructive functions all the time: $('#share').children().not('h2').hide().end().end().slideUp('normal'); They're very useful when you need to set up specific elements within a container before doing something with the container itself. -Original Message- From: [EMAIL

Re: [jQuery] Non-destructive jQuery

2006-10-26 Thread Jörn Zaefferer
I use multiple destructive functions all the time: $('#share').children().not('h2').hide().end().end().slideUp('normal'); They're very useful when you need to set up specific elements within a container before doing something with the container itself. Ok, but that will still work with

Re: [jQuery] Non-destructive jQuery

2006-10-26 Thread Kurt Mackey
Hmm... ok, I guess I don't understand what the difference between the destructive and non-destructive one is then. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer Sent: Thursday, October 26, 2006 10:30 AM To: jQuery Discussion. Subject:

Re: [jQuery] Improved Event system new Accordion

2006-10-26 Thread Alex Cook
An accordian widget would be a nice addition. I know of a few places I myself would use it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer Sent: Thursday, October 26, 2006 6:52 AM To: jQuery Discussion. Subject: [jQuery] Improved Event

Re: [jQuery] Non-destructive jQuery

2006-10-26 Thread Yehuda Katz
Someone who didn't understand jQuery's destructiveness might have done something like that by accident (cached a jQuery object, used a destructive operation, and then reused the cached object under the assumption that it wasn't destructive. It might not matter, or someone in this situation might

[jQuery] Oooh! These are pretty!

2006-10-26 Thread Stephen Woodbridge
Anyone up to porting some of this to jQuery? http://archive.dojotoolkit.org/nightly/demos/gfx/circles.html http://archive.dojotoolkit.org/nightly/demos/gfx/clock.html http://www.mxgraph.com/demo/mxgraph-web/web/mxWorkflow-Demo.html -Steve ___ jQuery

Re: [jQuery] Events are not cloned together with the object

2006-10-26 Thread Dave Methvin
trying to duplicate specific div that has id=someID and within that div#someID there is an event attached which is not being copied across. When you clone the div, do you change the cloned ID before inserting so it won't create a duplicate ID? The W3C doesn't whether cloneNode is supposed to

Re: [jQuery] How to cache jQuery

2006-10-26 Thread Truppe Steven
Su schrieb: Your browser should be doing this on its own. Do you have actual evidence it's not happening, or are you just asking? I'm new to HTTP protocol but i've seen options for caching. So i thought i can pass the jquery file with an option for caching to the browser (from my php file).

Re: [jQuery] Improved Event system new Accordion

2006-10-26 Thread Klaus Hartl
Jörn Zaefferer schrieb: By the way, is there interest to put the accordion into the jQuery repository? If you create a subdirectory in SVN/plugins this would be really good. Since Klaus and I also made an accordion plugin, we might need to change that to /plugins/accordion1/ and

Re: [jQuery] performance optimizations?

2006-10-26 Thread Klaus Hartl
If your page contains many elements, then using a context might speed up the search for classes: $('.myclass',$('#commonAncestor')[0]). And if you know that the elements with the class myclass are only of one type, you can speed that up a little more: $('p.myclass',

Re: [jQuery] How to cache jQuery

2006-10-26 Thread Christof Donat
Hi, I have one file that do all my sitemanagment, it's a very simple php that i use like this: index.php?menu=filelang=deoption=xyz. Inside index.php i just include the files needed (of course with a test to only proceed menupoints available). So the jquery.js file is allways loaded in head

Re: [jQuery] Non-destructive jQuery

2006-10-26 Thread Dave Methvin
I'd really like to see John's modifications to pushStack included in the jQuery core. Details here: http://www.nabble.com/Non-Destructive-jQuery-tf2482924.html I'm actually wondering if that modification would break any existing code, as end() works like before. I guess the only

Re: [jQuery] Improved Event system new Accordion

2006-10-26 Thread Gavin M. Roy
Might as well throw my 2 cents in. Here is my accordion code for a ul with an id of navItems with a nested ul: $('#navItems li ul').hide(); $('#navItems li a').click(function(){ var ul = $(this).parent().children('ul'); if ( ul.is(':hidden') ){

Re: [jQuery] Has anybody done this?

2006-10-26 Thread Linan Wang
Thanks to Klaus and Dave.It's improved and more interesting, at least I feel :)http://204.13.69.149/~wang/Pleae leave your comments and see if it can be better. On 10/26/06, Dave Methvin [EMAIL PROTECTED] wrote: Here is my little plugin to create dom element: http://204.13.69.149/~wang/ My

Re: [jQuery] Non-destructive jQuery

2006-10-26 Thread Kurt Mackey
Ah, that makes sense. Given that I understand it now, that seems to be more how I'd expect things to work. Now that I think about it, I was bitten by that destructiveness thing at one time before. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave

Re: [jQuery] Has anybody done this?

2006-10-26 Thread Kurt Mackey
If you scroll on down to a comment by Olsow, youll find what I think is a better way to do DOM creation: http://mg.to/2006/02/27/easy-dom-creation-for-jquery-and-prototype#comment-176 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Linan Wang Sent: Thursday, October

Re: [jQuery] performance optimizations?

2006-10-26 Thread John Napiorkowski
--- Dave Methvin [EMAIL PROTECTED] wrote: 2) I'm getting about a 1.5 second pause when the page loads up, even when on my local system, which appears to be when my jquery commands execute. It's just a little too long, my client noticed right away. Are there any tricks to help this out?

Re: [jQuery] performance optimizations?

2006-10-26 Thread Michael Geary
1) Where can I find a searchable archive of this mailing list, because I'd hate to ask questions that have already been answered. Here are a couple: http://www.google.com/search?q=site:jquery.com+optimize+OR+optimization http://www.nabble.com/JQuery-f15494.html 2) I'm getting about a 1.5

Re: [jQuery] Sortables, new approach

2006-10-26 Thread Raziel Alvarez
I have the same problem, and currently I'm using somewhat similar to approach one. I create hidden divs in my nested sortable container so they can accept new elements. I need to add two, otherwise I cannot drop below the first element (don't know why). I think this way is simpler since at the end

Re: [jQuery] How to cache jQuery

2006-10-26 Thread David
Truppe Steven schreef: I'm new to HTTP protocol but i've seen options for caching. So i thought i can pass the jquery file with an option for caching to the browser (from my php file). It's just a generall question because i'm new to http and i want to be sure not to load it every time i

Re: [jQuery] How to cache jQuery

2006-10-26 Thread Truppe Steven
Christof Donat schrieb: script type=text/javascript myconf = { bgcolor: '?= $bgcolor ?', color: '?= $color ?', haircolor: '?= $haircolor ?' } /script script src=jQuery.js type=text/javascript/script script src=mystuff.js type=text/javascript/script Then you can use the

[jQuery] getElementsByTagName('*') avoidance?

2006-10-26 Thread Dave Methvin
Is there any supported jQuery platform or situation where context.getElementsByTagName('*') does not get all the elements in the context? Right now the jQuery selector code avoids using it and instead does a recursive crawl of the tree, which has to be a lot more expensive. I know it wasn't there

Re: [jQuery] How to cache jQuery

2006-10-26 Thread Truppe Steven
That was the answer for my question, thank you ! best regards, Truppe Steven ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] getElementsByTagName('*') avoidance?

2006-10-26 Thread Choan C. Gálvez
On 10/26/06, Dave Methvin [EMAIL PROTECTED] wrote: Is there any supported jQuery platform or situation where context.getElementsByTagName('*') does not get all the elements in the context? Right now the jQuery selector code avoids using it and instead does a recursive crawl of the tree, which

Re: [jQuery] Sortables, new approach

2006-10-26 Thread Yehuda Katz
Just for usability, it'd help a lot in the demo if the cursor was default (the arrow) instead of the text selection tool.-- YehudaOn 10/26/06, bbuchs [EMAIL PROTECTED] wrote: Do you expect to release this as a new SortableTree plugin, or would thisreplace the existing Sortables?More to the point,

[jQuery] Problem with .left() return auto in Opera

2006-10-26 Thread Oskar E.
Hi Is there any way to force .left() to return pixel values for Opera 9? The element in question is absolute right positioned, while Opera 8.5 and Firefox return a pixel value, Opera 9 returns 'auto'. This is surely a correct value in this context but mostly if you want the left value, you

[jQuery] Trouble width height on slideDown

2006-10-26 Thread Cyril Demars
Hey, first, thanks a lot for the amazing librairy! ..but i have a little trouble width the slideDown effect. My p doesn't slide down enought, so the text overflow the tag and push violently the next tag out to the bottom... you can see it here: http://www.pixoil.com/1000visages/films.html and

Re: [jQuery] Sortables, new approach

2006-10-26 Thread David Olinsky
To echo the question about backwards compatibility...I'm currently working with jQuery and doing a complete rewrite of PHPGacl's admin console for a project at work. It involves the Sortables (specifically the push capabilities) and it'd be a big loss of time, to say the least, if I had to

Re: [jQuery] Sortables, new approach

2006-10-26 Thread Stefan Petre
I will keep both versions alive, because they behave quite different . David Olinsky wrote: To echo the question about backwards compatibility...I'm currently working with jQuery and doing a complete rewrite of PHPGacl's admin console for a project at work. It involves the Sortables

Re: [jQuery] How to cache jQuery

2006-10-26 Thread Andy Matthews
Your browser should cache the file automatically. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [jQuery] Trouble width height on slideDown

2006-10-26 Thread David
Cyril Demars schreef: Hey, first, thanks a lot for the amazing librairy! ..but i have a little trouble width the slideDown effect. My p doesn't slide down enought, so the text overflow the tag and push violently the next tag out to the bottom... you can see it here:

Re: [jQuery] Scroll document if draggable leaves viewport

2006-10-26 Thread Blair McKenzie
The list server sends your emails on to everyone else - not back to you.BlairOn 10/26/06, Eckhard Rotte [EMAIL PROTECTED] wrote:Hi jQueries,i've posted this mail 2 times ago, but it didn't appear in the mailing list. Only the web frontend did get it, nothing in my inbox.Did you get it?I'll try it

Re: [jQuery] Trouble width height on slideDown

2006-10-26 Thread Mats Lindblad
This is reported as bug #219On 10/26/06, David [EMAIL PROTECTED] wrote: Cyril Demars schreef: Hey, first, thanks a lot for the amazing librairy! ..but i have a little trouble width the slideDown effect. My p doesn't slide down enought, so the text overflow the tag and push violently the next tag

[jQuery] Adding class to dynamic element

2006-10-26 Thread smeranda
I am trying to add a class (.currenttotal) to a dynamically generated span element. How can I do this? Basically, I am pulling an xml file and using the information to create an interface. I need to add the .currenttotal class to the registeredSpan. Any ideas? $(majorname,

Re: [jQuery] Improved Event system new Accordion

2006-10-26 Thread Wil Stuckey
I wrote an accordion plugin as well... I also wanted something that was structurally flexible.I recently re-factored what i had, so this is not that well tested or optimized. Here it is anyway:/*** Utility function to swap className on a jQuery object. * * @example $('p.foo').swapClass('foo',

Re: [jQuery] Problem with .left() return auto in Opera

2006-10-26 Thread Blair McKenzie
Have you had a look at the dimensions plugin?BlairOn 10/27/06, Oskar E. [EMAIL PROTECTED] wrote: HiIs there any way to force .left() to return pixel values for Opera 9? The element in question is absolute right positioned, while Opera 8.5and Firefox return a pixel value, Opera 9 returns 'auto'.

Re: [jQuery] Trouble width height on slideDown

2006-10-26 Thread Cyril Demars
Mats Lindblad a écrit : This is reported as bug #219 On 10/26/06, *David* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Cyril Demars schreef: Hey, first, thanks a lot for the amazing librairy! ..but i have a little trouble width the slideDown effect.

Re: [jQuery] Improved Event system new Accordion

2006-10-26 Thread Benjamin Sterling
Can you supply an example on how you would implement this? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wil Stuckey Sent: Thursday, October 26, 2006 5:56 PM To: jQuery Discussion. Subject: Re: [jQuery] Improved Event system new Accordion I wrote an

Re: [jQuery] Tabs plugin 2.0

2006-10-26 Thread Klaus Hartl
Rey Bango schrieb: Some feedback on this. In IE7 final, there's some odd behavior. When I click on a tab, the page shoots up and then resets itself to its original position. Here's what I mean by this. Say that that I'm looking at the section of your demo page that says Slide and Fade

Re: [jQuery] Trouble width height on slideDown

2006-10-26 Thread Glen Lipka
I had the exact same problem. It doesn't happen when you use show() or change the timing to zero, slideDown(0). That 219 bug is important. I heard it was fixed in 1.0.2 but it wasn't.I also tried to change the height after it finished the slideDown and that didn't work either. Any ETA on bug

[jQuery] Visual jQuery Announcement

2006-10-26 Thread Yehuda Katz
I just updated Visual jQuery so it uses docs that include the plugins in the svn.I'm going to be adding inline docs to Interface over the next few days, so Interface docs will be available on visualjquery.com in the next few days.If there's a plugin that you have in the svn repository, but it's

[jQuery] Sortable interface issues

2006-10-26 Thread Raziel Alvarez
Hi, I'm building an application using jQuery, heavily based on the Sortable/Draggable interface. The interface is helping me a lot, however I've found some issues that heavily affect the performance and usability of my application, to the point where its deployment is at highrisk. I'll appreciate

Re: [jQuery] Visual jQuery Announcement

2006-10-26 Thread Gavin M. Roy
Nice :-)  Any chance you're going to make it work with Safari in the future?  Would probably be a good thing to have it support all of the same browsers jQuery itself supports.  Keep up the good work, I use visualjquery often!GavinOn Oct 26, 2006, at 4:23 PM, Yehuda Katz wrote:I just updated

Re: [jQuery] Visual jQuery Announcement

2006-10-26 Thread Yehuda Katz
I hear this often; Visual jQuery works on Safari, but you sometimes need to refresh once to get it working. I'm trying to work out why that is.I use vjQ on Safari all the time.-- Yehuda On 10/26/06, Gavin M. Roy [EMAIL PROTECTED] wrote: Nice :-) Any chance you're going to make it work with Safari

Re: [jQuery] Events are not cloned together with the object

2006-10-26 Thread Khurshid MUROD
Hi, Just got back to work, and got the snippet below -xhtml div id=fileqa_submit div class=fileset divlabelFile/labelinput size=96 type=file//div divlabelDescription/labeltextarea/textarea/div a href=javascript:; style= class=cloneMeClone me/a

Re: [jQuery] Sortables, new approach

2006-10-26 Thread Karl Swedberg
Hi Stefan, I tested on Safari 2.0.4 and Firefox 1.5 (Deer Park). You've done a great job with this! The only issue I see is that the ghosted text appears about 30px to the right and 30px below the cursor when I drag an item, which could be a bit confusing. Is that the way it's supposed to

Re: [jQuery] Visual jQuery Announcement

2006-10-26 Thread Dave Cardwell
Yehuda Katz wrote: I just updated Visual jQuery so it uses docs that include the plugins in the svn. From helping people on #jquery, one thing I'd love is to be able to link directly to a particular function. Something like http://visualjquery.com/#Core-Attributes-rel would be fantastic.

  1   2   >