Re: [jQuery] mp3player plugin

2006-10-10 Thread David Duymelinck
I did send a link yesterday evening but i think it got lost in space :) http://dlinck.d.googlepages.com/jquery I will add some examples later today. My main to do things are optimizing the code by reusing the flash object string and check if the flash object can be styled with the style

Re: [jQuery] Stopping animate() on command

2006-10-10 Thread Paul Bakaus
Good idea Stefan, this would help alot in further effects development. Maybe we can add a global object or method called something like $.queue, which does something like this:$.queue('click') = {0: {fx: animate params, state: '50%'}, 1: {animate params, state: '0%'}, 2: {animate params. state:

[jQuery] dimensions.js

2006-10-10 Thread Franck Marcia
Hi, What's the status of dimensions.js? I mean, in SVN, it's located where it should be built-in but the build process doesn't take it into account. On the other hand, if it's a plugin, it should reside in the directory plugins. Franck. ___ jQuery

[jQuery] Find the XPath of an element?

2006-10-10 Thread Phillip B Oldham
Hi guys If I were to pass a P tag to $(), is there a way I could find its location in the DOM and return an XPath _expression_? For example: xpath = $(this).getXPathLocation(); // equates to: /html/body/div[2]/p[1] Is this possible in the current source, or will I have to create a

Re: [jQuery] new jquery breaks $(document).load ?

2006-10-10 Thread Sebastian Busch
Hi, i'm currently developing a site for which jQuery has proven to be more than useful. the problem is that I updated the .js (I'm using the compressed one) since I was having problems with the Interface plugin (jQuery is not defined). however, now the page won't execute whats inside the

Re: [jQuery] Performance question

2006-10-10 Thread Christof Donat
Hi, It's as if when the id selector is passed then the $ method just uses a document.getElementById. Well IDs are supposed to be unique throughout the entire document (i.e. there can be one and only one element in the entire document with an ID of myId), so why shouldn't it simply use

Re: [jQuery] change img src

2006-10-10 Thread Mika Tuupola
On Oct 10, 2006, at 12:18, Hannah Gray wrote: This is probably a very simple question, and I may be going about the problem entirely the wrong way. Corrections and ideas are very welcome. Try something like: -cut- $(#toggle_name).toggle(function(e) {

Re: [jQuery] jQuery Browser Detection

2006-10-10 Thread Sam Collett
On 09/10/06, Brian Miller [EMAIL PROTECTED] wrote: Sam, if that's a problem with your user base, then there are issues that go beyond the technical. If my users were that hackish and black-hatted, I wouldn't be giving them any front-end code at all if I could avoid it. I mean, if people are

Re: [jQuery] change img src

2006-10-10 Thread Hannah Gray
Thanks for the suggestion.  I was avoiding this option because it assumes the layer is visible in the first place, or, rather, it requires you to hard code the toggle order to match the initial hidden/visible schema. This is part of a much larger CMS and I can't count on the div starting off as

Re: [jQuery] New Plugin: Xpander

2006-10-10 Thread Sam Collett
On 09/10/06, Jeffrey McClure [EMAIL PROTECTED] wrote: Here is a demo of the plugin in action: Example: http://labs.activespotlight.net/jQuery/Xpander.html Plugin Source: http://labs.activespotlight.net/resources/js/Xpander.js Overview Page: http://jquery.com/docs/Plugins/Xpander/ ---

Re: [jQuery] typeof color == array in interface/highlight.js

2006-10-10 Thread Webunity | Gilles van den Hoven
Eckhard Rotte wrote: Hi there, there seems to be a bug in the interface/highlight.js plugin. Setting the color option as an array doesn't work because the array detection Hi Eckhard, good catch! I fixed this in my SVN version, but do you have a test page, so i can test the fix before i

Re: [jQuery] change img src

2006-10-10 Thread Christian Bach
Hannah Gray wrote: This is probably a very simple question, and I may be going about the problem entirely the wrong way. Corrections and ideas are very welcome. Basically, the below code functions to hide and show divs very nicely, but it only changes the image source on hide, not show.

Re: [jQuery] Form plugin: default method

2006-10-10 Thread Webunity | Gilles van den Hoven
Sam Collett wrote: Is it the default on all browsers? If so, then perhaps that would be a good idea. I agree with Klaus, all resources i found point that GET is the default method. -- Gilles ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] Form plugin: default method

2006-10-10 Thread Klaus Hartl
Sam Collett schrieb: On 10/10/06, Klaus Hartl [EMAIL PROTECTED] wrote: Hi, the objective of the form plugin is to completely mirror the behavior of a standard form. Therefore I propose the default method should be 'GET' as it is the case for a form in HTML: line 50: var mth = mth ||

Re: [jQuery] Question on jQuery 1.0.2

2006-10-10 Thread Brandon Aaron
I would also like to know what the 2 is for. I didn't know getAttribute() could take a second param. -- Brandon Aaron On 10/9/06, Stephen Woodbridge [EMAIL PROTECTED] wrote: Hi all, I was testing and found some very strange behavior in IE6 and Opera 9 but works fine on FF 1.0.5. It looks

Re: [jQuery] Question on jQuery 1.0.2

2006-10-10 Thread Klaus Hartl
Brandon Aaron schrieb: I would also like to know what the 2 is for. I didn't know getAttribute() could take a second param. It's a microsoft extension indicating case-sensitivity. If set to 1 it forces case-sensitivity, so obviously setting it to 2 is the same as leaving it out. I wonder

Re: [jQuery] Question on jQuery 1.0.2

2006-10-10 Thread Antonio Collins
Second parameter is search type. vAttrValue = object.getAttribute(sAttrName [, iFlags]) sAttrName Required. String that specifies the name of the attribute. iFlags Optional. Integer that specifies one or more of the following flags: 0 Default. Performs a property search that is not

Re: [jQuery] GetAttribute mystery argument

2006-10-10 Thread Dave Methvin
Here's the Microsoft doc for it: http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/getattribu te.asp ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] IE7 and document.ready

2006-10-10 Thread Brian Miller
Yes, $(document).ready() should only happen once - when the document is first ready. What you're using for magic would infuriate developers on most other projects! :) You should have a separate function for an ajax callback to do whatever you're doing, even if it's the same code, and you're

Re: [jQuery] animate problem

2006-10-10 Thread Klaus Hartl
David Duymelinck schrieb: i know somewhere in the list there is a solution but i can't find it at the moment. I want to pass the animate hash as an option so i don't need to go into the plugin to change the animation effects. $('#test').plugin({anihide: {opacity: 'hide'}, anishow:

Re: [jQuery] Queueing of effects (fx)

2006-10-10 Thread Abdur-Rahman Advany
Thnx, I dived into the code and saw how nicely jQuery handled the queue. It was easy to extend it with a limit option. I made a plugin out of it * [http://jquery.com/docs/Plugins/limitQueue/] - it allows you to specify the limit of queue. This is especially useful when two opposite

Re: [jQuery] jQuery Browser Detection

2006-10-10 Thread Brian Miller
There's always the Ultimate Browser Sniffer. The most updated version does involve some object detection, but mostly still chops up the user agent string. It also detects the version of JS. http://www.webreference.com/tools/browser/javascript.html View source on the page to see the current

Re: [jQuery] Form plugin: default method

2006-10-10 Thread Mike Alsup
Therefore I propose the default method should be 'GET' as it is the case for a form in HTML: Good catch, Klaus. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] animate problem

2006-10-10 Thread David Duymelinck
Klaus Hartl schreef I ran into the same problem with the tabs plugin. The original object is modified for the animation, so as a workaround I copy the object each time before passing it to animate: $.fn.test = function(options){ var anihide = $.extend({}, options.anihide); // copy

Re: [jQuery] Question on jQuery 1.0.2

2006-10-10 Thread Stephen Woodbridge
As Klaus mentioned it looks like a Microsoft extension. http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/getattribute.asp http://www.w3.org/TR/2000/WD-DOM-Level-1-2929/DOM.txt And oddly enough, IE6 is throwing an error that points to line 702 in jQuery, which is this line.

Re: [jQuery] animate problem

2006-10-10 Thread Jörn Zaefferer
Hi David! I want to pass the animate hash as an option so i don't need to go into the plugin to change the animation effects. $('#test').plugin({anihide: {opacity: 'hide'}, anishow: {opacity: 'show'}, anitime: 3000}); $.fn.test = function(options){ var anihide = options.anihide;

Re: [jQuery] animate problem

2006-10-10 Thread Klaus Hartl
i was also thinking about copying the object but in a more basic version :) var anihide = options.anihide; var anihide2 = anihide; $(img).siblings(img:visible).animate(anihide2, anitime).end().animate(anishow, anitime); ; But that didn't work and i regret to say your workaround

Re: [jQuery] IE7 and document.ready

2006-10-10 Thread Mike Alsup
Can you post a test page because that sure doesn't happen for me. Mike Ok then jQuery is broken ;) $(document).ready() fires each time i load new ajax content in both FF and IE (lower than 7) ___ jQuery mailing list discuss@jquery.com

[jQuery] $document.ready NOT broken

2006-10-10 Thread Webunity | Gilles van den Hoven
Seems like the problem lies in another place, not in the document.ready part.. Going to investigate this further ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] IE7 and document.ready

2006-10-10 Thread Brandon Aaron
$(document).ready() will immediately fire functions passed in after the $(document).ready() function has already been called. Or at least that is what the code says it should do. -- Brandon Aaron On 10/10/06, Mike Alsup [EMAIL PROTECTED] wrote: Can you post a test page because that sure

Re: [jQuery] typeof color == array in interface/highlight.js

2006-10-10 Thread Eckhard Rotte
Hi Gilles, I fixed this in my SVN version, but do you have a test page, so i can test the fix before i commit something? Heres a modified copy of Stefans highlight demo page: http://test.webdebug.de/tmp/jquery/highlight_colorarray.html regards, Eckhard

Re: [jQuery] IE7 and document.ready

2006-10-10 Thread Webunity | Gilles van den Hoven
Mike Alsup wrote: Can you post a test page because that sure doesn't happen for me. Mike I've tracked down the problem to IE7 in standalone mode. I am almost certain that that is the problem. It sometimes just keeps hanging on (1 item remaining) and thus not firing the $(document).ready()

Re: [jQuery] animate problem

2006-10-10 Thread Brandon Aaron
If I understand the issue correctly changing this line (#318) in fx.js: this.curAnim = prop; to this; this.curAnim = jQuery.extend({}, prop); Should fix the problem. However, I have no test case to run this against. -- Brandon Aaron On 10/10/06, Klaus Hartl [EMAIL PROTECTED] wrote: i was

Re: [jQuery] typeof color == array in interface/highlight.js

2006-10-10 Thread Webunity | Gilles van den Hoven
Hi Eckhard, I've commited my fix to SVN, can you get the new ifxhighlight.js from SVN and test that with your page? Thanx Gilles ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] animate problem

2006-10-10 Thread Klaus Hartl
Brandon Aaron schrieb: If I understand the issue correctly changing this line (#318) in fx.js: this.curAnim = prop; to this; this.curAnim = jQuery.extend({}, prop); Should fix the problem. However, I have no test case to run this against. Yes, that looks good I think. Mike once pointed

Re: [jQuery] animate problem

2006-10-10 Thread Brandon Aaron
If someone can send me a test case I'd be more than happy to commit this to SVN. -- Brandon Aaron On 10/10/06, Klaus Hartl [EMAIL PROTECTED] wrote: Brandon Aaron schrieb: If I understand the issue correctly changing this line (#318) in fx.js: this.curAnim = prop; to this; this.curAnim

Re: [jQuery] typeof color == array in interface/highlight.js

2006-10-10 Thread Webunity | Gilles van den Hoven
Yep, works. Theres some debug code left: .constructor==Array Good catch, totally missed that one ;) Anyway, the new (fixxed) version is in SVN ___ jQuery mailing list

[jQuery] New Plugin: jMP3

2006-10-10 Thread Sean O
Hi, I've created a new jQuery plugin, jMP3, to easily make MP3s playable directly on most any web site. Information, demos and code: http://www.sean-o.com/jquery/jmp3/ Let me know what you think. It's my first plugin, so be gentle! SEAN O -- View this message in context:

Re: [jQuery] New Plugin: jMP3

2006-10-10 Thread Andy Matthews
Very nice. Good looking as well. A comment. - I know that this is probably a user thing, but you need to implement the IE Flash fix on your examples. You might even consider merging it in with your codebase. !//-- andy matthews web developer certified advanced coldfusion

Re: [jQuery] New Plugin: jMP3

2006-10-10 Thread Sean O
Hi Andy, Thanks for the compliments. The IE Flash Fix is a known issue -- the Eolas workaround I reference on the plugin page under Plugin Information. I've tried combinations of the suggestions on http://jquery.com/docs/Cookbook/, but nothing seems to work. There are a few .js files that

Re: [jQuery] New Plugin: jMP3

2006-10-10 Thread Kurt Mackey
Try replacing your eolas thing at the bottom of your loop with this: If(jQuery.browser.msie){ $(this).html($(this).html()); } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean O Sent: Tuesday, October 10, 2006 11:09 AM To: discuss@jquery.com

[jQuery] Slightly OT: How to organize your site's javscript?

2006-10-10 Thread Felix Geisendörfer
Hi everbody, I've been using jQuery for a while and am pretty much in love with it - as far as love for a JS library can go that is ; ). But one of the things I recently tried to figure out for myself, is how to organize ones _javascript_. I mean having a JS file with hundreds of stand-alone

Re: [jQuery] New Plugin: jMP3

2006-10-10 Thread Kurt Mackey
Oh wait, no, that won't work. You'd need: if(jQuery.browser.msie){ this.outerHTML = this.outerHTML; } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kurt Mackey Sent: Tuesday, October 10, 2006 11:16 AM To: jQuery Discussion. Subject: Re:

Re: [jQuery] New Plugin: jMP3

2006-10-10 Thread Sam Collett
On 10/10/06, Sean O [EMAIL PROTECTED] wrote: Hi, I've created a new jQuery plugin, jMP3, to easily make MP3s playable directly on most any web site. Information, demos and code: http://www.sean-o.com/jquery/jmp3/ Let me know what you think. It's my first plugin, so be gentle!

Re: [jQuery] New Plugin: jMP3

2006-10-10 Thread Kurt Mackey
Ok, rather than keep guessing, I actually tried things out until one worked. Put this in place of your current eolas thing: if(jQuery.browser.msie){ $(this).children('object').each(function(){ this.outerHTML =

Re: [jQuery] New Plugin: jMP3

2006-10-10 Thread Sean O
Kurt, That worked a treat, thanks. .html() is what I had tried before. I've updated the plugin to v0.2.1 (bugfix) based on yours Sam's suggestions. http://www.sean-o.com/jquery/jmp3/ ___ SEAN O Kurt Mackey wrote: Oh wait, no, that won't work. You'd need:

Re: [jQuery] animate problem

2006-10-10 Thread Jörn Zaefferer
Brandon Aaron schrieb: If someone can send me a test case I'd be more than happy to commit this to SVN. Just add something like this to animate: @test stop(); var hash = {opacity: 'hide'}; var hashCopy = $.extend({}, hash); $('#foo').animate(hash, 'fast', function() { ok( hash.opacity ==

[jQuery] Load problem

2006-10-10 Thread Glen Lipka
Just updated to 1.0.2. I am not sure what I am doing wrong on this page.http://glenlipka.kokopop.com/jQuery/slideMenu.htm - this one works. I explicitly put the divs on the page. http://glenlipka.kokopop.com/jQuery/slideMenu/slideMenu.htm - this one does not work. In this one, I am trying to make

Re: [jQuery] ajax bug or I am really confused?

2006-10-10 Thread Ian Struble
This fix is no longer needed. I tracked down the reason for why we have this work around and you are correct that it is because there is a work around for a firefox bug in Prototype. We lost the comment referencing it in the 89 - 93 checkin of src\ajax.js. Here is the FF bug that this code is

Re: [jQuery] Performance question

2006-10-10 Thread Jörn Zaefferer
Christof Donat schrieb: It's as if when the id selector is passed then the $ method just uses a document.getElementById. Well IDs are supposed to be unique throughout the entire document (i.e. there can be one and only one element in the entire document with an ID of myId), so why

Re: [jQuery] IE7 and document.ready

2006-10-10 Thread Jörn Zaefferer
Brandon Aaron schrieb: $(document).ready() will immediately fire functions passed in after the $(document).ready() function has already been called. Or at least that is what the code says it should do. Good point. Maybe this should be added to the documentation for the ready event. --

Re: [jQuery] Interface Elements Autocomplete no longer available in Interface lib download...

2006-10-10 Thread Jörn Zaefferer
Hi Stefan! OT: This changes in jQuery have impact in 3 major projects in my company. I'm one step away to switch to YUI. Could you explain what changes exactly were the problem? The goal of the 1.0.2 release was to provide bug fixes without changing the API and therefore not breaking

Re: [jQuery] Load problem

2006-10-10 Thread Karl Swedberg
Hi Glen,When I put "jQueryGlobalFunctions();" into FireBug, I got "False." I'm guessing that your "return false" inside toggle() is in the wrong place. Try putting it right after $("img.handle").src("images/barHandleup.gif"); and $("img.handle").src("images/barHandledown.gif"); and remove it from

[jQuery] Fix for IE XML nested each issues (Bug #164)

2006-10-10 Thread Peter Woods
The current version of jQuery has trouble when trying to access methods such as text() or parent() or attr() inside an each statement within the context of an XML document. For a test case, see Bug #164. The general assumption with this bug has been that the problem lies in methods such as

Re: [jQuery] animate problem

2006-10-10 Thread Brandon Aaron
Thanks Jörn! I finally took some time to play around with the test suite... good job! This is now fixed in SVN. -- Brandon Aaron On 10/10/06, Jörn Zaefferer [EMAIL PROTECTED] wrote: Brandon Aaron schrieb: If someone can send me a test case I'd be more than happy to commit this to SVN.

Re: [jQuery] Load problem

2006-10-10 Thread Karl Swedberg
On Oct 10, 2006, at 1:41 PM, Karl Swedberg wrote:When I put "jQueryGlobalFunctions();" into FireBug, I got "False." I'm guessing that your "return false" inside toggle() is in the wrong place. Try putting it right after $("img.handle").src("images/barHandleup.gif"); and 

Re: [jQuery] Queueing of effects (fx)

2006-10-10 Thread Brandon Aaron
On 10/10/06, Rexbard [EMAIL PROTECTED] wrote: Is this only true if the effects are specified on one line? In other words, would the following also queue? $(#foo).slideDown('slow'); $(#foo).slideUp('slow'); The queue is element based. If they are on the same element, then yes they are

Re: [jQuery] Performance question

2006-10-10 Thread Christof Donat
Hi, Well, you might whant to work with an element only if it is inside another one, which you already have: Unfortnuately, getElementById exists only for the document object, therefore you can't just say context.getElementById(...). I think this is the reason why jQuery can't help you

Re: [jQuery] Performance question

2006-10-10 Thread Brandon Aaron
IDs are supposed to be unique per the spec. jQuery shouldn't have to hack/deal with invalid markup. -- Brandon Aaron On 10/10/06, Christof Donat [EMAIL PROTECTED] wrote: Hi, Well, you might whant to work with an element only if it is inside another one, which you already have:

Re: [jQuery] Interface Elements Autocomplete no longer available in Interface lib download...

2006-10-10 Thread Stefan Petre
Jörn Zaefferer wrote: Hi Stefan! OT: This changes in jQuery have impact in 3 major projects in my company. I'm one step away to switch to YUI. Could you explain what changes exactly were the problem? The goal of the 1.0.2 release was to provide bug fixes without changing the

Re: [jQuery] animate problem

2006-10-10 Thread Jörn Zaefferer
Brandon Aaron schrieb: Thanks Jörn! I finally took some time to play around with the test suite... good job! This is now fixed in SVN. Cool. Is there a reason for not adding the test, too? The one big reason I put so much time into the test suite: By adding a test for every bug that

Re: [jQuery] Load problem

2006-10-10 Thread Glen Lipka
It's not obvious. I'm not that good. :) I need the fundamentals.So I tried putting return false after the img lines as you suggested, but that didn't change it.I also pulled it out completely and that had no change either. If I get rid of the call back I end up with: $(body).prepend(div

Re: [jQuery] Performance question

2006-10-10 Thread Christof Donat
Hi, IDs are supposed to be unique per the spec. jQuery shouldn't have to hack/deal with invalid markup. jQuery has a context-parameter: div id=IamAllreadyKnowndiv id=42asdf/div/div $('#42',known) - should find one element div id=IamAllreadyKnown/divdiv id=42asdf/div $('#42',known) - should

Re: [jQuery] Performance question

2006-10-10 Thread Jörn Zaefferer
Brandon Aaron schrieb: IDs are supposed to be unique per the spec. jQuery shouldn't have to hack/deal with invalid markup. The idea does not rely on invalid markup, but rather on a dynamic structure involving IDs: By searching for IDs within a context, you can apply stuff to them only when

Re: [jQuery] Load problem

2006-10-10 Thread Glen Lipka
Ok, I took out {test: true}, and now it works.What is the thing for? It's in the API, but the AJAXModule Wiki page did not have it.Maybe someone should check the API detail for Load and see if the specifics are not valid anymore? GlenOn 10/10/06, Glen Lipka [EMAIL PROTECTED] wrote: It's not

Re: [jQuery] ajax bug or I am really confused?

2006-10-10 Thread Ⓙⓐⓚⓔ
Great work.. I've not filed bugs or attempted to patch via svn.. so, if you would, it would be a service to the community. My original reason for poking in that area is my really really want xml patch: // Make sure we get the dom parsed. if ( xml.overrideMimeType

Re: [jQuery] Performance question

2006-10-10 Thread Christof Donat
Hi, But as it is quite easy to solve this without IDs, we shouldn't bother with a flawed workaround. I have not yet been in a situation where I would have needed that, but it is a question of least surprise. In case I would use a construct like $('#myid',context), I would be very surprised

Re: [jQuery] Interface Elements Autocomplete no longer available in Interface lib download...

2006-10-10 Thread Jörn Zaefferer
Hi Stefan! your guess is not even close. If it was about the 'internals' then you would not hear about it because is my job to fix it. Ok, sorry. If you take a look in the code you will see jQuery.ajax( { success: function(response)

Re: [jQuery] New Plugin: jMP3

2006-10-10 Thread Sean O
Hi Jörn, Jörn Zaefferer wrote: What I like about it: It works on Opera 8.54 9.02 and IE7RC1, too. Clean and structured code, good examples provided. There were some updates to the Plugins/Authoring guide which you may want to include. Thanks for the browser tests. I'm sure Safari

Re: [jQuery] IE7 May be Pushed out Tomorrow

2006-10-10 Thread Onno Timmerman
Webunity|Gilles van den Hoven schreef: Rey Bango wrote: If you don't want to upgrade, be very vigilant about what automatic updates you install during MS' normal patch cycle: Does anybody know if it is possible to run both IE 6.x and IE7 both on thesame system? An absolute must if you

Re: [jQuery] animate problem

2006-10-10 Thread Brandon Aaron
To true ... wouldn't want to see it pop back up. I'll add it in. -- Brandon Aaron On 10/10/06, Jörn Zaefferer [EMAIL PROTECTED] wrote: Brandon Aaron schrieb: Thanks Jörn! I finally took some time to play around with the test suite... good job! This is now fixed in SVN. Cool. Is

Re: [jQuery] New Plugin: jMP3

2006-10-10 Thread Yehuda Katz
Can I see the FLA file?-- YehudaOn 10/10/06, Sean O [EMAIL PROTECTED] wrote: Hi,I've created a new jQuery plugin, jMP3, to easily make MP3s playabledirectly on most any web site.Information, demos and code:http://www.sean-o.com/jquery/jmp3/ Let me know what you think.It's my first plugin, so be

Re: [jQuery] load + tickbox + document(ready) ???

2006-10-10 Thread Onno Timmerman
Onno Timmerman schreef: I got a easy problem if you know how to implement it. I call some info with the AHAH load function. In this info it should be possible to call TickBox. However my problem is that TickBox won't work. My guess is, because the DOM travesing needs to rerun when AHAH

[jQuery] Migrating from Flash + AMFPHP to jQuery + ???PHP

2006-10-10 Thread Your Name
Hi everyone! i'm new to the ajaxian world so after reading a lot about several javascript frameworks and libraries, i decided to begin with jQuery because it rocks!. What i need now is to know the best way to build the server side (with PHP), maybe something like AMFPHP (because it rocks too!).

Re: [jQuery] New Plugin: jMP3

2006-10-10 Thread Sean O
Yehuda, I believe the FLA source file is available in the player download: http://jeroenwijering.com/upload/flash_single_mp3_player.zip The author also has a player for multiple files/playlists: http://jeroenwijering.com/?item=Flash_MP3_Player Looks like he includes the source for this as

Re: [jQuery] Attach a Style Sheet

2006-10-10 Thread Steve Ivy
Glen, I use a couple methods: 1) Add an empty LINK and the set the href in the script: $('#mylinkid').attr('href', stylesheetpath); 2) probably better but a little longer: $('head').append('link id=mylinkid href=stylesheetpath rel=stylesheet') I'm sure someone will chime in here and tell me

Re: [jQuery] Interface Elements Autocomplete no longer available in Interface lib download...

2006-10-10 Thread Klaus Hartl
Jörn Zaefferer schrieb: Hi Stefan! your guess is not even close. If it was about the 'internals' then you would not hear about it because is my job to fix it. Ok, sorry. If you take a look in the code you will see jQuery.ajax( {

Re: [jQuery] Fix for IE XML nested each issues (Bug #164)

2006-10-10 Thread Klaus Hartl
Peter Woods schrieb: The current version of jQuery has trouble when trying to access methods such as text() or parent() or attr() inside an each statement within the context of an XML document. For a test case, see Bug #164 http://jquery.com/dev/bugs/bug/164/. The general assumption with

[jQuery] How to disable a form fields in jQuery

2006-10-10 Thread Eriksen Costa
Hello people,I was searching for a way to disable form in jQuery. I searched the API and dont found anything about the disabled attribute. How can I disable form fields in jQuery?I tried:$(textarea.news01 ).id().disabled = true;- return the ID - html attributeSo, how can I manage this in

Re: [jQuery] How to disable a form fields in jQuery

2006-10-10 Thread Glen Lipka
Try: $(textarea.news01).attr(disabled, true);GlenOn 10/10/06, Eriksen Costa [EMAIL PROTECTED] wrote:Hello people,I was searching for a way to disable form in jQuery. I searched the API and dont found anything about the disabled attribute. How can I disable form fields in jQuery? I

Re: [jQuery] Attach a Style Sheet

2006-10-10 Thread kenton.simpson
this may also help http://www.kelvinluck.com/article/switch-stylesheets-with-jquery -- View this message in context: http://www.nabble.com/Attach-a-Style-Sheet-tf2418733.html#a6744899 Sent from the JQuery mailing list archive at Nabble.com. ___

Re: [jQuery] How to disable a form fields in jQuery

2006-10-10 Thread Klaus Hartl
Sean O schrieb: Eriksen, Try: $(textarea.news01).attr(disabled, disabled); If you need to re-enable it later: $(textarea.news01).removeAttr(disabled); This does not work as expected, see my test page here (with checkboxes): http://stilbuero.de/demo/jquery/checkbox.html If you use

[jQuery] Appending option to select

2006-10-10 Thread Galen Palmer
Hi All, I'm new to jquery but like what I see so far. I have an array of strings that I'd like to add to a select element as option elements. HTML: select id=routeSelect /select JavaScript: for(var i = 0; i routes.length; ++i) { $(#routeSelect).append(option value=\

Re: [jQuery] How to disable a form fields in jQuery

2006-10-10 Thread Klaus Hartl
Sean O schrieb: Klaus Hartl wrote: Sean O schrieb: Eriksen, Try: $(textarea.news01).attr(disabled, disabled); If you need to re-enable it later: $(textarea.news01).removeAttr(disabled); This does not work as expected, see my test page here (with checkboxes):

Re: [jQuery] Attach a Style Sheet

2006-10-10 Thread Jörn Zaefferer
kenton.simpson schrieb: sorry you said stylesheet, but you get the idea. I haven't tested this yet, but it may work. jQuery(document.createElement(link)) .attr({type: text/css,href: my.css,rel:stylesheet}) .appendTo(head); To make it even more jQuerish: jQuery(link)

Re: [jQuery] Fix for IE XML nested each issues (Bug #164)

2006-10-10 Thread Jörn Zaefferer
Peter Woods schrieb: Seems to work for me in Firefox for a couple of test cases I made just now to test the new line functionality. I've also done a bit of testing in Safari just now, and the results are similar, namely everything's working fine with the changes applied to the latest SVN. I

[jQuery] unhover and untoggle revisited

2006-10-10 Thread Brandon Aaron
I've found a solution to adding and removing *multiple* hover and toggle events as well as removing them. It is a little cleaner than my previous attempt at adding an unhover and untoggle as it plugs into the main event system. Here is a very simple example page:

Re: [jQuery] Performance question

2006-10-10 Thread Jörn Zaefferer
Christof Donat schrieb: As I have shown, a solution does not need much code and doesn't make anything else noticably slower. I guess that with the existing infrastructure in jQuery the code would even be shorter. Right, I got that wrong. Your modifications concern only the special case,

Re: [jQuery] unhover and untoggle revisited

2006-10-10 Thread Brandon Aaron
As it shouldn't. The font colors are unhover and untoggle. :) -- Brandon Aaron On 10/10/06, Giuliano Marcangelo [EMAIL PROTECTED] wrote: Brandon, hover and toggle working fine, but font-color is not changing On 10/10/06, Brandon Aaron [EMAIL PROTECTED] wrote: I've found a solution

[jQuery] Append body

2006-10-10 Thread sdkester
I tried appending the body with a div using the following in a js file: $(body).append('div id=ajaxBusy class=ajaxBusyp ../../loading2.gif nbsp;nbsp;/p/div'); It is not working. Maybe I'm going about it wrong. I simply want to insert the above html anywhere in the body. Is my code wrong and/or

Re: [jQuery] Appending option to select

2006-10-10 Thread Rey Bango
Patrick, I tried using this plugin but it didn't seem to work with v1.0.1. Which version of JQuery are you using? Rey patrickk wrote: I´m using the plugin for DOM creation to accomplish that. see http://mg.to/2006/02/27/easy-dom-creation-for-jquery-and-prototype patrick Am

Re: [jQuery] Attach a Style Sheet

2006-10-10 Thread kenton.simpson
Thanks for the info. i did not realize that. -- View this message in context: http://www.nabble.com/Attach-a-Style-Sheet-tf2418733.html#a6746281 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] Load problem

2006-10-10 Thread Glen Lipka
This works perfect. Thank you.What is the difference between having the test and not having the test the way I wrote previously?GlenOn 10/10/06, Karl Swedberg [EMAIL PROTECTED] wrote: On Oct 10, 2006, at 2:30 PM, Glen Lipka wrote: It's not obvious. I'm not that good. :) I need the fundamentals.So

Re: [jQuery] Attach a Style Sheet

2006-10-10 Thread Brandon Aaron
On 10/10/06, Glen Lipka [EMAIL PROTECTED] wrote: I tried to make it jQuery(link) but that didn't seem to work (was looking in IE). The other one with jQuery(document.createElement(link) did work. What is the difference between jQuery() and $(). Why should you use one over the other? If

[jQuery] form plugin updates

2006-10-10 Thread Mike Alsup
Based on recent discussions I've made some updates to the form plugin. Today's discussion prompted some mods to the ajaxSubmit method. I also updated many of the comments and then discovered that the coordinates for image submit elements are not posted correctly in all browsers (FF in my case).

Re: [jQuery] form plugin updates

2006-10-10 Thread Renato Formato
Mike Alsup ha scritto: Based on recent discussions I've made some updates to the form plugin. Thanks Mike, I would like to remind that there is still a very annoying bug on IE. Fil filled a bug report about that for jQuery (http://jquery.com/dev/bugs/bug/160/) In short, if you have an input

Re: [jQuery] form plugin updates

2006-10-10 Thread Mike Alsup
Thanks for the heads-up, Renato. I put your fix in there and posted the updated js. It worked fine with all the browsers I have. Mike In short, if you have an input named action or method, this code var url = url || f.action || ''; var mth = mth || f.method || 'GET'; will retrieve the

Re: [jQuery] form plugin updates

2006-10-10 Thread Matt Grimm
Nice work Mike. How should I go about deleting the FastSerialize wiki page I created on jQuery.com now? A request to John I suppose? m. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Alsup Sent: Tuesday, October 10, 2006 3:10 PM To: jQuery

Re: [jQuery] Queueing of effects (fx)

2006-10-10 Thread Abdur-Rahman Advany
Well, the scoping works fine now, you just need to define the same scope(name) for all elements that share the same queue. example: $('#testa').click(function(){ $('#testdiv1').scope('meta').slideDown(); $('#testdiv2').scope('meta').slideDown(); }); Abdur-Rahman Advany wrote: Well, I

[jQuery] I have a problem with XPATH on IE6 with ajax response jQuery 1.0.2

2006-10-10 Thread Stephen Woodbridge
OK, I am obviously missing something here. My code works on FF 1.0.5, Opera 8.5.4 and 9.0.2 but is throwing an error in IE6. I have located the line generating the error (no thanks to the IE error message line that is really bogus): http://imaptools.com:8081/maps/demo.html just double click

  1   2   >