Re: [jQuery] Any regular expression gurus here?

2007-03-28 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Hey. Check out regex coach. It's a debugging tool that let's you run your expression against sample text and see what's happenning. I can't overstate how much this can help, and I'd recommend it in addition to any help you get from books (and online). -N

Re: [jQuery] Gurus - best Javascript references?

2007-03-23 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Hi. I hope I'm not stepping into the role of guru by replying to this message!! Here's a great article on closures, references, scope, etc: http://jibbering.com/faq/faq_notes/closures.html --N .:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.: ||:. Nathan Young

Re: [jQuery] How can I find out if a style class exists?

2007-03-19 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Hi. if (ElementInQuestion.style.fontSize == 13px){whatever} That will only work if font-size has been declared in the style attribute of that element. My understanding is that if the element font-size is set to 13px, this will return true, no matter where the rule was declared (weather in

Re: [jQuery] php - web service (ajax/jscript)

2007-03-16 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Hoping to clarify: Having a page built up of parts that come from different domains adds value and power. Having a page built up of parts from different domains adds complexity, lack of control and security hazards. There are browser rules that determine what kind of things can be done between

Re: [jQuery] How can I find out if a style class exists?

2007-03-16 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Hi. IOW given the following: style #myDiv {background: blue;} /style div id=myDiv style=background: red The div's background would be red, correct? If you change background to background-color :) then yes, by the C in CSS. Also: style #myDiv {background-color: blue;}

Re: [jQuery] xsl sped up my xml over ajax

2007-03-15 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Hi. Kay's books are awesome but there are specific hurdles to learning XSL at the start that would make me want to recommend an intro book or tutorial before jumping into a full on descriptive/reference book like Kay's. By the same token, for this particular language a cookbook is less likely to

Re: [jQuery] the pitfalls of jquery

2007-03-15 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Hi. All of the accessibility issues and security issues can be solved. They are not inherent to Javascript usage, you just have to design for them like any other requirements. Since they are among the less visible and sometimes more technically challenging requirements to satisfy, they are more

Re: [jQuery] enhanced suckerfish-style menu plugin

2007-03-13 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Hi Joel. In addition to the layer problem with form elements we've had problems overlaying DHTML on top of flash movies, especially in firefox. Is this a scenario you've tested with? Nathan .:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.: ||:. Nathan

Re: [jQuery] jQuery newbies?

2007-03-13 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
I think knowing what this is and being able to use it appropriately is pretty critical. I think never having given a flying *** about self and having no idea what it is, is totally natural and not indicative of anything. N

Re: [jQuery] Selecting the active line (line under mouse)

2007-03-12 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
I'm not saying this is any less ugly but maybe easier to debug? What if you overlay your text with a table where each row is as tall as your calculated pixel height for a line of text? Then the rows could be highlighted as you over them. ---N It really is as hard as you make it out to be.

Re: [jQuery] Please add a basic debug function to the jQuery core...

2007-03-12 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Greasemonkey is also excelent for this. ---N Daemach, Why don't you just make a nice debug plug-in, that you can include at the top of your code to give you the functions you need, then when you're done you just remove the one script src=... line? That's not a half bad idea. Anyone

Re: [jQuery] Please add a basic debug function to the jQuery core...

2007-03-12 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Greasemonkey does exactly what you are asking for. You can use it to add the functions you want to your own browser. Nothing to remove when you publish your code, easy to enable/disable in your dev environment, and you personally get self sufficiency from asking for a code change to jQuery (a

Re: [jQuery] Please add a basic debug function to the jQuery core...

2007-03-12 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
!= undefined) { if (typeof window.jQuery.debug == undefined) { window.jQuery.fn.debug = function() {console.log(this); return this;} } } Nathan Young -X (natyoung - Artizen at Cisco) wrote: Greasemonkey does exactly what you are asking for. You can use

Re: [jQuery] vertical fisheye menu? OSX dock or tsunami

2007-03-08 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Hi. Another question about fisheye. Can I use it with this markup: div id=wrapper table tr td class=nav a href=#home/a/td td class=nav a href=#tools/a/td td class=nav a href=#profile/a/td td class=nav a href=#contacts/a/td

Re: [jQuery] jqueryplugins.com

2007-02-27 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
++ on standardizing information about plugins esp with respect to compatibility and browser support Rey is this something the jquery plugin repository will have, and/or a conversation I can contribute to? Nathan Great idea! it would be great that you standardize as much as possible

Re: [jQuery] Google's Summer of Code

2007-02-16 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Hi. jQuery, along with plugins, covers a lot of what other libraries do. I just went looking around in dojo and YUI, and while one can do most of what they do by combining plugins, what's missing is the kind of bullet-proofing that people Alex Russell and Eric Miraglia have gotten into

Re: [jQuery] Heads Up - I'll be giving a jQuery Presentation at Springbr / 2007...

2007-02-15 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
I thought the firebug/jQuery combination was pretty effective here: http://ejohn.org/blog/hacking-digg-with-firebug-and-jquery/ And it could be taken a lot further, especially if you have a technical audience. I've been using jQuery to create page upgrades... places on the page where existing

Re: [jQuery] wrapping or cloning problem

2007-02-13 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
); } }); return this.pushStack( match ); }; And now we can do this: $(div.accoridan h3).nextAll().wrapAll(div class='accordianInner'/div); I think that's a pretty nifty solution :-) Let me know if you want me to setup a demo. --John On 2/12/07, Nathan Young -X (natyoung - Artizen at Cisco

Re: [jQuery] wrapping or cloning problem

2007-02-13 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
:[EMAIL PROTECTED] On Behalf Of Nathan Young -X (natyoung - Artizen at Cisco) Sent: Tuesday, February 13, 2007 10:55 AM To: jQuery Discussion. Subject: Re: [jQuery] wrapping or cloning problem Hi John. Thanks for taking a stab at this! Your solution does fit my problem statement, and I agree

Re: [jQuery] wrapping or cloning problem

2007-02-13 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nathan Young -X (natyoung - Artizen at Cisco) Sent: Tuesday, February 13, 2007 10:55 AM To: jQuery Discussion. Subject: Re: [jQuery] wrapping or cloning problem Hi John

[jQuery] wrapping or cloning problem

2007-02-12 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Hi All. I want to accordion an existing content format, and I think that I need to insert a wrapper element. First I would love a sanity check on my general approach then maybe someone can critique the manipulation I'm trying. Here's my content: div class=accordion h3heading/h3 arbitrary

Re: [jQuery] image preloading

2007-02-06 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Hi. The http request will NOT always succeed under the conditions you describe in IE and I think sometimes in firefox (possible race condition?). If you are preloading images for user experience reasons the stakes are low, but if you need to track the requests from the server side (for example

Re: [jQuery] Make IE re-number an OL after adding elements?

2007-02-06 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
They must have pulled bulets and numbering over from word :) ---N Kinda makes you wonder what those microsoft engineers smoke, eh? I had a complex css scenario as well, but with some significant reworking was able to make it all work. I learned some new curse words in the process, but

Re: [jQuery] Securing AJAX/PHP against direct calls?

2007-02-05 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Hi Arne-Kolja. The short answer is that if you are running a site that requires users to authenticate, your ajaxable php URLs need to require the same kind of authentication that all your other pages do. If you are running a public site that does not require authentication there's nothing you