[jQuery] Re: Quite big performance issue

2007-09-08 Thread Pops
Hi, I took a moment to look are your stuff and I am not sure what you are expecting. Of course your jQuery version will be slower than your native version. I personally think it can reduced tremedously, there is alot of overhead in there for a rather simply application. I can see immediately

[jQuery] Vertical Tabs

2007-09-08 Thread fambizzari
Does anyone know of a vertical version of Klaus Hartl's tabs, similar in theory to, the micorosft home page (http://www.microsoft.com/en/us/ default.aspx)

[jQuery] Re: Vertical Tabs

2007-09-08 Thread Michel Brouckaert
2007/9/8, fambizzari [EMAIL PROTECTED]: Does anyone know of a vertical version of Klaus Hartl's tabs, similar in theory to, the micorosft home page (http://www.microsoft.com/en/us/ default.aspx) hello, I actually think that it is not that hard to do if you use you're head around it. In

[jQuery] Find textNodes and wrapping it with a tag

2007-09-08 Thread Pops
For my List tree plugin, it needs to handle situations where the structure contains LI tags with text and not text wrapped with a HTML tag (normally a A tag) For example: ul li title ul li...li li...li /ul /li /ul My CSS and tree code handles it nicely when

[jQuery] How i can get to show loading indicator in this situation?

2007-09-08 Thread munky
On page i have script which gets link id and loads content in div. function: function loadContent(id) { $(#dzivokli).load(dzivoklis-+id+/); } a tag: javascript:loadContent(2217); Link and it loads content with id dzivoklis-2217 into div #dzivokli. How i can add loading indicator to

[jQuery] Re: A definitive way to wait all images are loaded

2007-09-08 Thread Jörn Zaefferer
Giovanni Battista Lenoci schrieb: Is there a better way to do this? Just use oldschool window load: $(window).load(function() { // everything loaded }); -- Jörn

[jQuery] Re: Quite big performance issue

2007-09-08 Thread Piotr Petrus
Hello everyone I'd like to apologize for the way I presented my problem – as Charles wrote, it'd be nicer to see just the node addition. It spawns a lot of communication problems I think, because the keyup events working on whole tree and session handlers are actually fast as hell, and the only

[jQuery] Re: A definitive way to wait all images are loaded

2007-09-08 Thread Klaus Hartl
Giovanni Battista Lenoci wrote: Hi, I've searched in the list but didn't find the way to solve. I'm using jquery to change the position of different elements, but these positions depends on the image size of multiple images on the page. If I use document.ready jquery start to work before all

[jQuery] Re: Vertical Tabs

2007-09-08 Thread Sam Sherlock
Check this out http://www.sunsean.com/idTabs/ - see the freedom example. - S On 08/09/07, Michel Brouckaert [EMAIL PROTECTED] wrote: 2007/9/8, fambizzari [EMAIL PROTECTED]: Does anyone know of a vertical version of Klaus Hartl's tabs, similar in theory to, the micorosft home page

[jQuery] Is it possible to do something like Firebug `inspect` function with JQuery?

2007-09-08 Thread howa
When mouse over an object, say a DIV for simplicity, I can use JQuery to get its absolute position in DOM tree, e.g. div#header body html Any idea?

[jQuery] Re: A definitive way to wait all images are loaded

2007-09-08 Thread giovanni battista lenoci
Just use oldschool window load: $(window).load(function() { // everything loaded }); Thank you, it was very simple

[jQuery] Re: A definitive way to wait all images are loaded

2007-09-08 Thread Dan G. Switzer, II
The window.onload waits until everything on the page is done loading--including all images. -Dan -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Giovanni Battista Lenoci Sent: Saturday, September 08, 2007 8:54 AM To: jQuery (English) Subject:

[jQuery] Re: Quite big performance issue

2007-09-08 Thread polyrhythmic
Thanks Michael, good to know, I guess I should be reading more of y'all's code. I got into the habit of putting my () on different lines due to long nested functions. Piotr: Is your goal with this to enable users to create their own mock DOM tree, name each node to match an element in the tree,

[jQuery] Re: binding events and keep reference to the this object

2007-09-08 Thread Choan Gálvez
On 07/09/2007, at 18:35, Michael Geary wrote: Use a closure. Or bring your own `bindAsEventListener` into play. Something like Function.prototype.bindAsEventListener = function(o) { var _m = this; var args = [].slice.call(arguments, 0); var obj = args.shift();

[jQuery] Re: Quite big performance issue

2007-09-08 Thread Piotr Petrus
Charles, when you make CSS for webpage and you use em values instead of pixels, it's quite difficult to remember real (pixel) values, because of em's nature. body - you set font-size as 1em and it's 16px within that body you have div#header and you set font-size to 0.5em and that's 8px within

[jQuery] Re: jQueryCamp '07 (Boston)

2007-09-08 Thread Christof Donat
Hi, We're going to be having the first all-day jQuery mini-conference October 27th, here in Boston, MA. Hm. I'd like to come. I'll see if I can find the time and a cheap plane. Does the US still treat travellers from outside like criminals (taking fingerprints, etc.)? Christof

[jQuery] selected html include the selector tag?

2007-09-08 Thread Eridius
lets say i have this code: div id=test div class=inner_texttest1/div div class=inner_texttest2/div div class=inner_texttest3/div /div and then i do $('#text div.inner_text:eq(' + index + ')').html() but that will only select the text(ie test1, test2, test3) is there a

[jQuery] Re: Find textNodes and wrapping it with a tag

2007-09-08 Thread Pops
On Sep 8, 6:38 am, Pops [EMAIL PROTECTED] wrote: For my List tree plugin, it needs to handle situations where the structure contains LI tags with text and not text wrapped with a HTML tag (normally a A tag) ... So short of removeNode()/createNode, if there a jQuery way to do this? This

[jQuery] Re: Quite big performance issue

2007-09-08 Thread polyrhythmic
Thanks, I realized what you were going for after studying it, I think you should put that explanation on the website! I understand the troubles of px -- em conversion and also why em's are important, however you have a unique solution to those troubles that wasn't obvious to me. Glad to hear

[jQuery] Gallery Site: JustFutonCovers.com

2007-09-08 Thread Ty
Very interesting shopping cart concept brimming with Jquery features judging by the head section calls. Elegant ecommerce too bad they don't have any with patterns, just plain colors. Check it out: http://www.justfutoncovers.com/ Not meaning to spam the forum, it's not even my site.

[jQuery] Re: Gallery Site: JustFutonCovers.com

2007-09-08 Thread John Beppu
That's a really nice site. On 9/8/07, Ty [EMAIL PROTECTED] wrote: Very interesting shopping cart concept brimming with Jquery features judging by the head section calls. Elegant ecommerce too bad they don't have any with patterns, just plain colors. Check it out:

[jQuery] [REMINDER] jQuery Detection Script

2007-09-08 Thread Rey Bango
Hi everyone. I just wanted to ensure that folks were aware of jQuery team member Paul Bakaus' awesome Greasemonkey script which helps to detect jQuery-powered sites by showing a little jQuery logo in the lower right-hand corner of the viewport when a jQuery-powered page is encountered.

[jQuery] Re: .html not working in ie6/ie7 as expected

2007-09-08 Thread Eridius
I am not sure if it is cause the problem but why do you have \/ when you should only have /, i just point that out because IE does not render things well if it is invalid html markup. Equand wrote: i have a code like $('div class=magic/div').html('br \/Введите

[jQuery] Re: Find textNodes and wrapping it with a tag

2007-09-08 Thread Piotr Petrus
Wow, now that's big. I'd try just this: $('ul li').each(function() { if (this.firstChild this.firstChild.nodeType == 3) { $(this.firstChild).wrap('a href=/a') } }) -- Piotr Petrus http://riddle.pl

[jQuery] Re: .html not working in ie6/ie7 as expected

2007-09-08 Thread Equand
wow thanks... that fixed that, the second span miss... thanks for the tip ;) On Sep 9, 4:18 am, Michael Geary [EMAIL PROTECTED] wrote: There are a few problems in your markup: 1) action is missing the = 2) FORM is a block level element; you can't nest it inside a SPAN 3) Missing end tag

[jQuery] Selector w/ unknown function stalls browser

2007-09-08 Thread [EMAIL PROTECTED]
I've been playing around with selectors and XPath expressions, so I wrote $('element::text()). After error I tried this one: $('element text()') After that my Firefox stalled (without even unresponsive script warning) and I couldn't do anything except killing it. The problem is that unknown

[jQuery] Re: JQuery developer / graphic designer wanted for collaboration on Gospel project

2007-09-08 Thread Michael Geary
Randy, what about using an existing HTML slide show system such as S5? http://meyerweb.com/eric/tools/s5/ http://en.wikipedia.org/wiki/S5_file_format I think that's where I would start if I were doing something like this. -Mike From: [EMAIL PROTECTED] I am a student at The Southern

[jQuery] Re: Find textNodes and wrapping it with a tag

2007-09-08 Thread Pops
On Sep 8, 10:09 pm, Piotr Petrus [EMAIL PROTECTED] wrote: Wow, now that's big. I'd try just this: $('ul li').each(function() { if (this.firstChild this.firstChild.nodeType == 3) { $(this.firstChild).wrap('a href=/a') }}) So you can wrap()

[jQuery] Re: Find textNodes and wrapping it with a tag

2007-09-08 Thread Piotr Petrus
jQuery originally works on element nodes, but text nodes are rightful members of DOM too. :) Glad I could help. -- Piotr Petrus http://riddle.pl