Re: [jQuery] Re: A different approach to parsing XML, and a little help on processing attributes more efficiently

2010-02-02 Thread Michael Geary
I don't know why Google Groups keeps inserting those semi-random blank lines in the code! Now I'm curious, so I'm trying something a bit different - let's see what happens.. function parseXml( xml ) { var html = []; html.push( '' ); $(xml).find('sites').$each( function( $site ) {

Re: [jQuery] Re: A different approach to parsing XML, and a little help on processing attributes more efficiently

2010-02-02 Thread Michael Geary
Cool, it will be good to see your continued work. We may be among the last holdouts in this mailing list - but I figure since the thread started here we can carry on. BTW you may notice one bit of annoying repeated boilerplate in that last version. See how the callback functions for all the .each(

[jQuery] Re: A different approach to parsing XML, and a little help on processing attributes more efficiently

2010-02-02 Thread augur
OK, so this is much better than a lesson in parsing XML. Showing the errors that I had made in my process, you have also shown sound jQuery which I was having a hard time picking up from the documentation. I tend to learn best by doing and getting feedback. Mike, thank you. I am going to keep this

[jQuery] Traversing to next class?

2010-02-02 Thread Photonic
I am trying to toggle content based on toggling links. Here is the code: DESCRIPTION SPECIFICATIONS Test 1 Test 2 Now when I click the link for Specifications, I want it to show the next specifications text and hide the description text. Same thing with Descriptions, only in reverse. Here is

[jQuery] Re: A different approach to parsing XML, and a little help on processing attributes more efficiently

2010-02-02 Thread augur
That is really nice. 100K lines really fast no script time outs. I need to get back and study a little more. I was so terribly close, but missed some really basic principles.

[jQuery] Re: A different approach to parsing XML, and a little help on processing attributes more efficiently

2010-02-02 Thread augur
I was headed in this direction I was trying to get to the function (i,parent),function(j,child) I had not quite figured that part out which is obvious. Let's see what this does. Thanks Chad

[jQuery] Ass kicked by IE7 with mega menu

2010-02-02 Thread Erik
I'm getting my ass kicked by this mega menu. IE 7 doesn't like it! It works everywhere else! I've tried everything! The menu items when hovered appear behind my body content! If I increase the z-index, then my links in the body are blocked and won't work. #navbar #topnav etc Has any one ha

[jQuery] Re: jQuery Cycle: two cycles with different effect & one pager

2010-02-02 Thread Mike Alsup
$('#slideshow').cycle({ fx: 'fade,cover' }); On Feb 1, 8:14 pm, Florushj wrote: > I'm having some trouble adjusting jQuery Cycle to my wishes. Unfortunately > I'm no jQuery hero :-( > > This is what I want in short: > It's basically this > example:http://www.malsup.com/jquery/cycle/pager-do

[jQuery] jEditable, uncontrollably growing cells

2010-02-02 Thread intiqam
Hey, I am using the following jQuery code snippet: $("td").editable("islem.php", { indicator : "wait...", onblur : 'submit', select : true, }); to make table cells editable. There are multiple columns in a row. Inside , cells getting bigger each time I click on different cell. Does anyone k

Re: [jQuery] jquery.form.js, Opera and file uploads.

2010-02-02 Thread hong chuen lee
I used to suffer from the problem in Opera when using ajaxfileupload.js error occur sometime due to the following piece of code xml.responseText = io.contentWindow.document.body?io.contentWindow.document.body.innerHTML:null; xml.responseXML = io.contentWindow.document

Re: [jQuery] Re: A different approach to parsing XML, and a little help on processing attributes more efficiently

2010-02-02 Thread Michael Geary
No worries on the XML vs. JSON. It's been interesting to watch your progress in refactoring the code. I hope it's useful for other people too. A few notes on the latest version... * Avoid using ALLCAPS or PARTIALcaps in a variable name. Many JavaScript programmers will think you intend such varia

[jQuery] Re: A different approach to parsing XML, and a little help on processing attributes more efficiently

2010-02-02 Thread augur
Let's me have multiple children: function parseXml(xml) { $(xml).find('sites').each(function(){ var PARENTarr = jQuery.makeArray($(this).find('>element')); $(PARENTarr).each(function(i){ $("div").append(""+

[jQuery] Dialog, Clone and Live

2010-02-02 Thread jm
I have a form that I am using in a dialog modal box. This form is submitted via AJAX to a backend PHP script that inserts a record into the database. Next the item that has been inserted into the database (a list of tasks) that task is added to the end of an unordered lists. I also have this unor

[jQuery] Re: A different approach to parsing XML, and a little help on processing attributes more efficiently

2010-02-02 Thread augur
This is better. The arrays are much more efficient, and I cut the code by more than half. I know, I know JSON, I will get there, this is teaching me way more though. I still would like to be able to determine my level of nesting abstractly, and also getting out non- standard attributes. BTW proces

[jQuery] Re: A different approach to parsing XML, and a little help on processing attributes more efficiently

2010-02-02 Thread augur
This is better. The arrays are much more efficient, and I cut the code by more than half. I know, I know JSON, I will get there, this is teaching me way more though. I still would like to be able to determine my level of nesting abstractly, and also getting out non- standard attributes. function

[jQuery] Re: A different approach to parsing XML, and a little help on processing attributes more efficiently

2010-02-02 Thread augur
OK this is some progress. Still want more abstraction where I can, though this is much improved. I also need to be able to get arrays of attributes abstractly. function parseXml(xml) { $(xml).find('sites').each(function(){ var PARENTarr = jQuery.makeArray($(this).

[jQuery] jQuery+Cycle - IE 7 & 8 png images in rotation getting black border - applied truetype & bg - not working

2010-02-02 Thread rc cola
any help would be greatly appreciated.

[jQuery] Re: Is there have any JQuery plugin that can sort 1A,2A,3A,... 10A, 11A, 12A, 13A, 14A?

2010-02-02 Thread JamaicaMan
See this link: http://db4free.blogspot.com/2006/06/sorting-of-numeric-values-mixed-with.html

[jQuery] Re: slide show contains 24bit pngs - using cleartype & bg -true - still getting black border on transition

2010-02-02 Thread rc cola
wrong place to post - sorry - using jquery cycle - On Feb 2, 9:45 am, rc cola wrote: > Any help would be greatly appreciated. I can send screen shot - site > is still in dev.

[jQuery] slide show contains 24bit pngs - using cleartype & bg -true - still getting black border on transition

2010-02-02 Thread rc cola
Any help would be greatly appreciated. I can send screen shot - site is still in dev.

Re: [jQuery] Is there have any JQuery plugin that can sort 1A,2A,3A,... 10A, 11A, 12A, 13A, 14A?

2010-02-02 Thread Randall Morgan
Hi, I'm not sure what DBMS you are using but most can sort many ways. You may want to read your DBMS manuals and look for a natural sort method. MySQL uses something like ORDER BY NATURAL ASC or ORDER BY NATURAL DESC. Somewhere on the net should be an old thread about sorting mixed numbers and a

Re: [jQuery] Is there have any JQuery plugin that can sort 1A,2A,3A,... 10A, 11A, 12A, 13A, 14A?

2010-02-02 Thread aquaone
Sort as in a tablesorter parser, an array, or what? On Tue, Feb 2, 2010 at 07:37, HenryRock wrote: > I facing a problem in sorting : > > 1A,2A,3A,... 10A, 11A, 12A, 13A, 14A > > Sample data. > > I using the SQL to sort ASC but it return result as below: > > 12A > 13A > 14A > 10A > 11A > 1A > 2A >

Re: [jQuery] Reduce Image Quality

2010-02-02 Thread German Bortoli
2010/1/20 Jonathan Vanherpe (T & T NV) > German Bortoli wrote: > > 2010/1/18 Jonathan Vanherpe (T & T NV) > >> German Bortoli wrote: >> >> >> >> 2010/1/18 Jonathan Vanherpe (T & T NV) >> >>> German Bortoli wrote: >>> >>> Hello everybody, I'm getting a problem in my server, for example when >

[jQuery] Is there have any JQuery plugin that can sort 1A,2A,3A,... 10A, 11A, 12A, 13A, 14A?

2010-02-02 Thread HenryRock
I facing a problem in sorting : 1A,2A,3A,... 10A, 11A, 12A, 13A, 14A Sample data. I using the SQL to sort ASC but it return result as below: 12A 13A 14A 10A 11A 1A 2A 3A 4A 5A 6A 7A 8A 9A May I know is there have any plugin that can sort the sample data above to 1A until 14A? Thanks...

[jQuery] Re: jQuery 1.4 & LiveQuery

2010-02-02 Thread pastel.pro
A fix has been posted here : http://github.com/brandonaaron/livequery/issues/#issue/2 On 17 jan, 15:00, "pastel.pro" wrote: > I'm not using blockUI and livequery doesn't work well with jquery 1.4 > (with 1.3 it's perfect). > Livequery often work activates when I lunch firebug (strange...). So