[jQuery] Migrating from Flash + AMFPHP to jQuery + ???PHP
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!). Please, visit http//www.comaexperimental.com/jquery, there you'll find my very first ajax attempt. saludos desde Venezuela!!! _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] jQuery Magazine #1 "FR"
Hello--bonjour! jQuery Magazine #1 vient d'être traduit en français jQuery Magazine #1 has just been translated into French http://www.jquery.info/spip.php?article20 Many thanks to Leah who accepted to redo the page layout Merci à Leah qui a accepté de refaire la mise en page with the translations made by Allergie, BoOz, cy_altern, Fil & toggg à partir des traductions de Allergie, BoOz, cy_altern, Fil et toggg vive jQuery! viva! -- Fil _______________________________________________ jQuery mailing
[jQuery] load + tickbox + document(ready) ???
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 loads a piece of information on the page. Is this assumption correct and most important how do I solve it? So that the clicked content will load in a tickbox? thx _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] animate problem
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: {opacity: 'show'}, anitime: 3000}); $.fn.test = function(options){ var anihide = options.anihide; var anishow = options.anishow; var anitime = options.anitime; $(img).siblings("img:visible").animate(anihide, anitime).end().animate(anishow, anitime);
[jQuery] IE7 May be Pushed out Tomorrow
If you don't want to upgrade, be very vigilant about what automatic updates you install during MS' normal patch cycle: http://blog.washingtonpost.com/securityfix/2006/10/microsoft_to_push_out_internet.html Rey... _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
IE7 and document.ready
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Tahoma">Hi Guys, Just found another document.ready bug at least i hope it is a bug :) The document.ready is not firing in IE7 when loading content via ajax into a DIV. Is this a common problem which is allready known? Someone might have a fix for this? The current
[jQuery] Slightly OT: How to organize your site's javscript?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-15" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> 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
[jQuery] New Plugin: jMP3
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 programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Sean O Sent:
[jQuery] Question on jQuery 1.0.2
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 case-sensitive, and returns an interpolated value if the property is found. 1 Performs a case-sensitive property search. To find a match, the uppercase and lowercase letters in sAttrName must exactly match those in the
[jQuery] typeof color == array in interface/highlight.js
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 ------------------------------------------------- if (typeof color == 'array') { ------------------------------------------------- fails (typeof is always "object"). I would suggest this check: ----------------------------------------------------------------------------- if (color.constructor.toString().indexOf("Array") != -1) { -----------------------------------------------------------------------------
[jQuery] Bug in show()
My buddy asked for some help in troubleshooting some JQuery code and I think he discovered a bug. I created a quick and dirty sample of the issue here: http://www.intoajax.com/filldiv.htm It seems that if you hide a div, empty it, fill it and then try to show it, the show() will not display the appended values unless you specify a speed param for the show() method. The issue only occurs in FireFox. This is with JQuery v1.0.2. Prior to upgrading to v1.0.2, it was occuring only in IE it seems as if
[jQuery] $document.ready NOT broken
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/
[jQuery] Form plugin: default method
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 || f.method || 'POST'; should be changed to: var mth = mth || f.method || 'GET'; Agreed? -- Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] String concatenation optimization
Great test suite. I'm sure that will come in handy for many of the people on this list. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Tombo Sent: Monday, October 09, 2006 1:21 PM To: discuss@jquery.com Subject: [jQuery] String concatenation optimization i like to mess
[jQuery] jQuery Browser Detection
Currently, jQuery does a browser detect by checking the user agent. However, I think object detection would probably be a better way. This code does that by detecting unique obects on the window object. However, I am not sure what is unique to Safari. // Figure out what browser is being used jQuery.browser = { safari: /webkit/.test(b), opera: !!window.opera && !!window.opera.defineMagicFunction, msie: !!window.clipboardData, mozilla: !!window.XPCNativeWrapper }; The chance of someone
[jQuery] GetAttribute mystery argument
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/
[jQuery] Question on jQuery 1.0.2
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 like the problem is pointing to: line: 704 return elem.getAttribute( name, 2 ); in this block of code: ... } else if ( elem.getAttribute != undefined ) { alert(name + " = " + value); if ( value != undefined ) elem.setAttribute( name, value ); return elem.getAttribute( name, 2 ); } else { ... Is this correct? What does the 2nd argument do? -Steve _______________________________________________
[jQuery] New Plugin: Xpander
Here is a demo of the plugin in action: Example: <a href="http://labs.activespotlight.net/jQuery/Xpander.html">http://labs.activespotlight.net/jQuery/Xpander.html</a> Plugin Source: <a href="http://labs.activespotlight.net/resources/js/Xpander.js"> http://labs.activespotlight.net/resources/js/Xpander.js</a> Overview Page: <a href="http://jquery.com/docs/Plugins/Xpander/">http://jquery.com/docs/Plugins/Xpander/</a> --- Jeffrey _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] new jquery breaks $(document).load ?
hello everyone, 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 $(document).load function. is it deprecated? oh, and one more thing. it seems the new jQuery version also won't execute the AJAX (.load) calls I'm using inside other (common, not jQuery) javascript
[jQuery] Find the XPath of an element?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Helvetica, Arial, sans-serif">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
[jQuery] DOM-Traversing and Text_Nodes
hi all! i wonder how i could do this using jquery's dom-traversing: in IE6 i do: 1. select one word in text with the mouse 2. get selection and create range 3. clone this range twice, collapse one copy to left and the other to right 4. insert span (id='left_boundary) at left, and span (id='right_boundary' at right 5. try $('#left_boundary').next()[0].nodeName, get "SPAN" -> it skips the text but $('#left_boundary')[0].nextSibling.nodeName gives me "#TEXT_NODE" why cant i use jquery to access TEXT_NODES?
[jQuery] Stopping animate() on command
Hi there, I'm currently searching for a good solution to stop jQuery's interal function animate() when a new event occurs. A very basic example: 1. You have a moving div container which has a duration of 10 seconds, it moves from left: 0px; to left: 500px. 2. Somewhere in your page there's a "stop" button, if you press it, the animation will end before duration has ended. I need it for a special case where I start a animation using a click, and if I click again, the new animation should begin right
[jQuery] mp3player plugin
hey, I updated my mp3player plugin with an option to play a file on start up and choice of flash player. I also documented the options in the source file. to counter the flickering in IE please use the hack found in the discussion list or another solution. I would like some feedback, thank you. Enjoy David _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
jQuery 1.0.2
Hi Everyone - jQuery 1.0.2 is now ready for consumption! This release is a huge bug fix release - and it is highly recommended that you upgrade right away. As always, if you spot a bug, please add it to the bug tracker. In addition to having a better test suite, a big push for this release was to have better cross-browser compatibility for common tasks (such as AJAX operations). Functionally, however, no major features have been added to this release (although, expect some new code come 1.1). I'd
[jQuery] IE7 May be Pushed out Tomorrow
Just to set expectations on timetables, MS said they would eventually push IE7 out as a high-priority patch "a few weeks after general release". So although tech-savvy users may be able to download the final IE7 within a week or two--and many already have IE7 RC2--Aunt Abby probably won't have it for at least several weeks longer. According to Microsoft, you'll see a different alert window for the update when it arrives. They have a picture of it here: http://blogs.msdn.com/ie/archive/2006/07/26/678149.aspx
[jQuery] How to implement file upload using AJAX?
Hi, Does anybody know how a file pload using AJAX can be implemented in JQuery? If so, please give me an example. I intend to use PHP for the data receiving, but the problem is the sending actually. Thanks in advance Emilian -- View this message in context: http://www.nabble.com/How-to-implement-file-upload-using-AJAX--tf2408953.html#a6714606 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Performance question
> From: Brendan O'Brien
[jQuery] Sifr jQuery hack
So I had the need today to use jQuery selectors in SIFR (whose selectors are pretty weak). Unfortunately, sifr only takes selectors, so I did a little hacking: Added the following on line 454 of sifr.js /* Check if we can find any nodes first */ if(sSelector.parentNode) { listNodes = [sSelector]; } else { var listNodes = parseSelector(sSelector); if(listNodes.length == 0){ return false }; } replacing: var listNodes
[jQuery] Comparison of jQuery and dojo?
Has anyone posted a comparison of the pros and cons of jQuery and dojo? Sam _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] New plugin: sparkline
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 Jeremy Ruston for his work and his permission. Here is the link to the test page: http://fmarcia.info/jquery/sparkline/sparkline.html It's tested successfully on Windows XP with FF1.5.07, IE5.5, IE6, IE7RC1
[jQuery] IE7 May be Pushed out Tomorrow
> Does anybody know if it is possible to run both IE 6.x and
[jQuery] jquery update causes js error
> > Thank you very much! That was it.
[jQuery] ajax login
I have updated to this with the return false. I am still getting the same error. Any suggestions? Thanks! <script type="text/javascript" language="JavaScript"> $(document).ready(function(){ $('form').submit(function(){ element = $('input[@name=user]').get(0); myusername = element.value; mypassword = $('input[@name=password]').get(0).value; $.post('process.php', {username: myusername, name: mypassword}); element.value = ''; return false; }); }); </script> <form>
[jQuery] Queueing of effects (fx)
And it occurs from left to right correct John? <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of John Resig Sent: Monday, October 09, 2006 1:38 PM To: jQuery Discussion. Subject: Re: [jQuery] Queueing of effects (fx)
[jQuery] IE7: Anything you want to share (things you found?)
Just wondering if there are any things you guys would like to share, of things you found by testing with IE7. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] String concatenation optimization
i like to mess around with javascript optimization lately. i wrote this little page to show the different speeds of string concatenation code. i tested in firefox and IE7. just looking for any feedback or suggestions. thx http://www21.brinkster.com/tomhere/test/test36.htm -- View this message in context: http://www.nabble.com/String-concatenation-optimization-tf2411788.html#a6722790 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing
[jQuery] New Plugin: Xpander
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=406205718-09102006><FONT face=Arial color=#0000ff size=2>Ooooh.</FONT></SPAN></DIV> <DIV><SPAN class=406205718-09102006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=406205718-09102006><FONT face=Arial color=#0000ff size=2>That's TOTALLY
[jQuery] jQuery Browser Detection
Brian. Aren't there cases though where the browser tells you the incorrect string? For example, I believe that older versions of IE for Mac said that they were actually a different browser than they really were. The AOL browser also does this same thing I think. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On
[jQuery] NEWS: JQuery and ColdFusion
Cool Rey. Maybe Rob will start using jQuery instead of AJAXCFC. Wouldn't that be a kicker! <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Rey Bango Sent: Monday, October 09, 2006 12:10 PM To: jQuery Discussion. Subject: [jQuery] NEWS: JQuery and ColdFusion Some of you
[jQuery] Queueing of effects (fx)
I believe that jQuery has a sort of built in queue in that effects are chainable. So you'd simply write all of the effects in one long chain and each of them would happen in the order you specify in your chain. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Abdur-Rahman
Next Page