[jQuery] Re: Vertical Tabs

2007-09-08 Thread fambizzari
Thanks for your help guys.

[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

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

2007-09-08 Thread [EMAIL PROTECTED]
Hey, thanks for the tip! I would still need someone to do some graphics work, but this looks like a really good starting place. You know, I was really excited about reinventing the wheel ;) On Sep 9, 12:06 am, "Michael Geary" <[EMAIL PROTECTED]> wrote: > Randy, what about using an existing HTML

[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('') > }}) So you can wrap() this.firstC

[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 Bap

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

2007-09-08 Thread [EMAIL PROTECTED]
I am a student at The Southern Baptist Theological Seminary (www.sbts.edu) and I am looking for some volunteer help on putting together a gospel presentation using JQuery and a web browser. I currently have a PowerPoint presentation that I have worked on together with one of my professors, but ou

[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 f

[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) Missi

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

2007-09-08 Thread Michael Geary
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 for the second SPAN I suggest pasting the markup into the body of an HTML 4.01 document and running it through the W3C validator: http://

[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('') } }) -- Piotr Petrus http://riddle.pl

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

2007-09-08 Thread Equand
it doesn't matter... i tried it without that... it's just the last version of my tries to fix this issues ) so with or withous / it doesn't render when ctr+a i only get the last span text, On Sep 9, 3:50 am, Eridius <[EMAIL PROTECTED]> wrote: > I am not sure if it is cause the problem but why do

[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 > $('').html('Введите > Логин и > Пароль type="

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

2007-09-08 Thread Equand
i have a code like $('').html('Введите Логин и Пароль  <\/form><\/span>Отправить<\/a>').appendTo('body'); s = windowsize(2); k = (+$('.magic').css("width").replace(/px$/,'')); s = (s[0] - k) / 2;

[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. Here

[jQuery] Re: Gallery Site: JustFutonCovers.com

2007-09-08 Thread Rey Bango
Hi Ty, No worries my man. Telling us about a jQuery-powered site is actually encouraged as it helps us build the list of sites powered by jQuery. For example, today I found this: https://sellercentral.amazon.com/gp/homepage.html It looks like a pretty plain login huh? Well, if you actually

[jQuery] Re: selected html include the selector tag?

2007-09-08 Thread Piotr Petrus
$element.html is a shorthand for element.innerHTML and you're looking for element.outerHTML which is unfortunately doesn't supported by Gecko. Try googling it, it will perfectly suit your needs (actual element's HTML + inner elements' HTML). -- Piotr Petrus http://riddle.pl

[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 section calls. Elegant ecommerce too bad they > don't have any with patterns, just plain colors. > Check it out: > http://www.justfutonco

[jQuery] Gallery Site: JustFutonCovers.com

2007-09-08 Thread Ty
Very interesting shopping cart concept brimming with Jquery features judging by the 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: 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 it

[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

[jQuery] selected html include the selector tag?

2007-09-08 Thread Eridius
lets say i have this code: test1 test2 test3 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 way to also select the tag from th selector(so i would get test1, etc...)? -- View this

[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] 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 #he

[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 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: 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) >Subje

[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] 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: 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 micoros

[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 s

[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 th

[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] 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

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

2007-09-08 Thread Giovanni Battista Lenoci
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 sensible images are loaded. I foun

[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: title ... ... My CSS and tree code handles it nicely when the text wrapped with a

[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

[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)