[jQuery] Re: Quite big performance issue

2007-09-07 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 t

[jQuery] Re: Quite big performance issue

2007-09-07 Thread Michael Geary
> > From: polyrhythmic > > Also, I don't recommend splitting your .'s... jQuery code is more > > often written like so: > > > > $(obj).fn({ > > //function code here > > }).fn2(options).fn3(); > > > > Not splitting your ) and . makes JSLint happy as well. The first > > thing I did was run the

[jQuery] Re: Quite big performance issue

2007-09-07 Thread Michael Geary
> From: polyrhythmic > Also, I don't recommend splitting your .'s... jQuery code is > more often written like so: > > $(obj).fn({ > //function code here > }).fn2(options).fn3(); > > Not splitting your ) and . makes JSLint happy as well. The > first thing I did was run the code through JSLint

[jQuery] Re: Quite big performance issue

2007-09-07 Thread polyrhythmic
You're welcome Piotr, By demo I mean demonstration. Since you're showing the world what to do with your code/program, the demonstration could use more explanation as well. If I understood better what you're trying to accomplish, I could be more helpful. Here's what I see are the main areas to

[jQuery] Re: Quite big performance issue

2007-09-07 Thread polyrhythmic
You're welcome Piotr, By demo I mean demonstration. Since you're showing the world what to do with your code/program, the demonstration could use more explanation as well. If I understood better what you're trying to accomplish, I could be more helpful. Here's what I see are the main areas to

[jQuery] Re: Quite big performance issue

2007-09-07 Thread Piotr Petrus
Hi Charles, Thanks for taking your time to investigate my issue However, the site you see is not a demo, it's "fully" functional calculator for css dimensions. :) When you start typing, you fire different events, and - yes - they affect whole tree & that's intentional. But the thing that only b

[jQuery] Re: Quite big performance issue

2007-09-07 Thread polyrhythmic
First off, I really like the design of your demo site, although it is light on documentation and I'm not sure I grasp the entire purpose. I think the problem is somewhere in the .filter statements. jQuery seems to be searching farther than the parent 'clicked' node...when I added several sibling

[jQuery] Re: code not working in IE... don't know why

2007-09-07 Thread Equand
wow thanks, that did the trick... On Sep 7, 11:54 pm, "Piotr Petrus" <[EMAIL PROTECTED]> wrote: > Have you tried replacing > > window.onload = function() {} > > with > > $(window).bind('load', function() {}) > > ? > -- > Piotr Petrushttp://riddle.pl

[jQuery] Re: 1.1.4 Bug: IE7, TD, & append element

2007-09-07 Thread polyrhythmic
wade wrote: > Honestly, I don't think display information should be mixed in with > the data anyway. I have a separation of data and display mentality > about that sort of thing... I agree, SuperFlyDOM's templating function exists for that specific purpose. You have a blank JSON DOM-structure t

[jQuery] Re: IE vs FF with height: issues

2007-09-07 Thread Klaus Hartl
Pops wrote: I have a tree with I noticed that when the UL are collapsed, with IE there is "visible space" where with FF there is none. The solution for me was to add logic in my initialization code: function prepareTree(idTree) { ... // // IE Needs this

[jQuery] IE vs FF with height: issues

2007-09-07 Thread Pops
I have a tree with I noticed that when the UL are collapsed, with IE there is "visible space" where with FF there is none. The solution for me was to add logic in my initialization code: function prepareTree(idTree) { ... // // IE Needs this to remove "whi

[jQuery] Re: Expanding a sub-tree - obtaining the path to a node/tag

2007-09-07 Thread Pops
On Sep 7, 6:31 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > Some random helpful hints. (or not) All comments are helpful even if it may not apply. These do apply! :-) > $("ul:visible") gives you just the ones that are not display:none. Ok! I was using .is(":hidden") > $("ul.open") might b

[jQuery] Re: New plugin - Lazy Load

2007-09-07 Thread Rafael Santos
I havent try it yet, but it works with tabs plugin? On 9/7/07, Erik Beeson <[EMAIL PROTECTED]> wrote: > > Hi Mika, > > Great stuff, as always. I'm looking over the source and had a couple of > thoughts. It looks like you bind an event handler for each matching element, > so 100 images will result

[jQuery] Re: Expanding a sub-tree - obtaining the path to a node/tag

2007-09-07 Thread Glen Lipka
Some random helpful hints. (or not) $("ul:visible") gives you just the ones that are not display:none. $("ul.open") might be better than state=1. Its not an expando and also can be used for CSS purposes. $(this).addClass("on") might be useful to define the one that is ON. (This is part of the "cl

[jQuery] Re: Expanding a sub-tree - obtaining the path to a node/tag

2007-09-07 Thread Pops
Ok, got it! $("[EMAIL PROTECTED]").show().parents("ul").show(); Duh! It reads so logical from left to right! That gives me the exact number of elements and show() events! With my real tree many list, its a major different in speed! -- HLS On Sep 7, 5:14 pm, Pops <[EMAIL PROTECTED]> wrote: >

[jQuery] Re: jQueryCamp '07 (Boston)

2007-09-07 Thread Felix Geisendörfer
I'm in the states for 3 months now so I'll try to come as well. Any recommendations for places to stay in Boston? -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de Rey Bango wrote: Can we get a webcam so folks can log in and see/h

[jQuery] Quite big performance issue

2007-09-07 Thread [EMAIL PROTECTED]
Hi guys, I've been developing small tool for em values (CSS) for quite time. To cut unnecessary descriptions, go check it out on http://riddle.pl/emcalc/ Now, the problem lays in performance. Try adding 10 nodes, one under another and notice that 8th, 9th, 10th (and further) addition works terri

[jQuery] Re: code not working in IE... don't know why

2007-09-07 Thread Piotr Petrus
Have you tried replacing window.onload = function() {} with $(window).bind('load', function() {}) ? -- Piotr Petrus http://riddle.pl

[jQuery] Re: Expanding a sub-tree - obtaining the path to a node/tag

2007-09-07 Thread Pops
Ok, actually the real trick was in the selector. I still need the first-child, but with your parents("ul") filter, it reduced the redundancy: This worked: var $v = $("[EMAIL PROTECTED] :first-child").parents('ul'); $v.show(); This didn't open the level only its parents: var $v = $("[EMAIL PROT

[jQuery] Re: Unavoidable Duplicate DOM IDs?

2007-09-07 Thread Su
On 9/7/07, Collin Allen <[EMAIL PROTECTED]> wrote: > > working on this project with some PHP engineers at work, and they're > completely OK with using multiple DOM IDs on a page simply because "it > works" already, and they can access the IDs by being more specific There's a subtle difference bet

[jQuery] Re: Expanding a sub-tree - obtaining the path to a node/tag

2007-09-07 Thread Pops
That worked! Perfect! Thanks! I did get an idiom to work but it was returning too many recursive elements: var $v = $("[EMAIL PROTECTED] :first-child").parents(); $v.show(); I knew there had to be something better. I did try parent and parents but I guess I didn't understand that .parents(filt

[jQuery] Re: Unavoidable Duplicate DOM IDs?

2007-09-07 Thread Michael Geary
Argh... I wonder what part of "This name [the ID] must be unique in a document" your PHP developers do not understand? http://www.w3.org/TR/html401/struct/global.html#adef-id (I should ask their forgiveness for putting it so rudely, but really, this is something that is just Not Done.) What i

[jQuery] Re: jQueryCamp '07 (Boston)

2007-09-07 Thread Rey Bango
Can we get a webcam so folks can log in and see/hear? John Resig wrote: Hard to say - unless we get some video equipment, it's rather unclear. --John On 9/7/07, YoctoGram <[EMAIL PROTECTED]> wrote: Will you broadcast video of those conferences for us that live far far away? :) --- Yocto

[jQuery] Re: Is it possible to catch keypress events to a div?

2007-09-07 Thread hydra12
Thanks! $(document).keypress was exactly what I needed! On Sep 7, 3:11 pm, seedy <[EMAIL PROTECTED]> wrote: > Ive used the shortkeys plugin for doing > thishttp://rikrikrik.com/jquery/shortkeys/ > > I'm not sure if it can be used on a specific div, but Ive used it on > $(document) > > hydra12 w

[jQuery] Re: jQueryCamp '07 (Boston)

2007-09-07 Thread Tane Piper
Podcasting shouldn't be a challenge though so we can hear the talks. On 9/7/07, John Resig <[EMAIL PROTECTED]> wrote: > > Hard to say - unless we get some video equipment, it's rather unclear. > > --John > > On 9/7/07, YoctoGram <[EMAIL PROTECTED]> wrote: > > > > > > Will you broadcast video of t

[jQuery] Re: Is it possible to catch keypress events to a div?

2007-09-07 Thread seedy
Ive used the shortkeys plugin for doing this http://rikrikrik.com/jquery/shortkeys/ I'm not sure if it can be used on a specific div, but Ive used it on $(document) hydra12 wrote: > > > I'm playing with the idea for a game, and I want to use the keyboard > for control. I need to catch keypr

[jQuery] Re: Expanding a sub-tree - obtaining the path to a node/tag

2007-09-07 Thread Glen Lipka
How about this? (in the open function) $(this).parents("ul").show(); Glen On 9/7/07, Pops <[EMAIL PROTECTED]> wrote: > > > I have a tree list and when I toggle a deep item to expand/show, I > want all its parents to expand as well. What selector or method will > give me this? > > I guess this

[jQuery] Re: jQueryCamp '07 (Boston)

2007-09-07 Thread John Resig
Hard to say - unless we get some video equipment, it's rather unclear. --John On 9/7/07, YoctoGram <[EMAIL PROTECTED]> wrote: > > > Will you broadcast video of those conferences for us that live far far away? > > :) > --- > Yocto > > > - Original Message - > From: "John Resig" <[EMAIL PR

[jQuery] Re: Unavoidable Duplicate DOM IDs?

2007-09-07 Thread Collin Allen
After sitting and thinking about it over lunch, that was my thinking, too. The purpose of classes is for styles/behaviors/identifiers that are spread across multiple occurrences of an item. (Full detail: I'm working on this project with some PHP engineers at work, and they're completely OK with

[jQuery] Re: jQueryCamp '07 (Boston)

2007-09-07 Thread YoctoGram
Will you broadcast video of those conferences for us that live far far away? :) --- Yocto - Original Message - From: "John Resig" <[EMAIL PROTECTED]> To: Sent: Thursday, September 06, 2007 11:10 AM Subject: [jQuery] Re: jQueryCamp '07 (Boston) > >> Yikes...you weren't kidding about

[jQuery] Re: jQuery getElementsByName Equivalent ?

2007-09-07 Thread Gabriel Lovison
thank you i forgot this selector :) 2007/9/7, Klaus Hartl <[EMAIL PROTECTED]>: > > > Gabriel Lovison wrote: > > but if I put one name for element, like this: > > > > how can I take this element with this name? > > The answer is already in this thread elsewhere, but here's a solution > for that

[jQuery] Re: Is it possible to catch keypress events to a div?

2007-09-07 Thread Gabriel Lovison
yes, you have the possibility to use keypress, for exemple, on $(document.) try $(document).keypress(function(e){ if( e.keyCode == 13 ) alert("Oi"); }); 2007/9/7, hydra12 <[EMAIL PROTECTED]>: > > > I'm playing with the idea for a game, and I want to use the keyboard > for control. I ne

[jQuery] Expanding a sub-tree - obtaining the path to a node/tag

2007-09-07 Thread Pops
I have a tree list and when I toggle a deep item to expand/show, I want all its parents to expand as well. What selector or method will give me this? I guess this is expanding the sub-tree which I can do natively, but would like to do it via jQuery. TIA -- HLS

[jQuery] Re: "No such interface supported" error in Internet Explorer

2007-09-07 Thread John Resig
You need to define your variables, you must put a 'var' in front of them, otherwise IE could throw an error. Thus, lines like this (where you're defining a variable for the first time): username = $("#txtUserName").val(); Should become this: var username = $("#txtUserName").val(); A more compl

[jQuery] Re: code not working in IE... don't know why

2007-09-07 Thread Equand
ok it's the window.onload event which doesn't fire what could that be? On Sep 7, 3:26 pm, Equand <[EMAIL PROTECTED]> wrote: > ok this site > > jppromo.ru > > everything works correctly in opera and firefox... but when in ie... > it is stuck... don't know why > i presume window.onload doesn't

[jQuery] Is it possible to catch keypress events to a div?

2007-09-07 Thread hydra12
I'm playing with the idea for a game, and I want to use the keyboard for control. I need to catch keypress events without using a textarea or a text input box. Can you bind keypress to a div or to ? I haven't been able to get it working, but I'm new to jquery. Thanks for the help! hydra12

[jQuery] Re: jQuery getElementsByName Equivalent ?

2007-09-07 Thread Klaus Hartl
Gabriel Lovison wrote: but if I put one name for element, like this: how can I take this element with this name? The answer is already in this thread elsewhere, but here's a solution for that special example: $('a[name=]') And that is a basic CSS attribute selector by the way: http:

[jQuery] Re: Unavoidable Duplicate DOM IDs?

2007-09-07 Thread Benjamin Sterling
Collin, You should be able to get away with using classes instead $('.service') and you can grab each instance like (I could be wrong on this option) $('.service')[0] or $('.service')[1] or you can do $('service:eq(0)') and $('service:eq(1)') and then you have the slice method which is a little ha

[jQuery] Re: jquery autocomplete plugin with php

2007-09-07 Thread Jörn Zaefferer
Giovanni Battista Lenoci schrieb: Saidur ha scritto: Hello , I am a new bie in jquey. I need tutorial to work on jquery auto complete plugin with php . I need code. That i will test . Thanks I used this one, it has documentation and examples. http://www.dyve.net/jquery/?autocomplete

[jQuery] Re: Validation plugin site down, Jörn?

2007-09-07 Thread Jörn Zaefferer
Suni schrieb: Very interesting. It does indeed work with Opera. On Firefox I just get a blank page, and IE 7 shows me the "Page can't be displayed" - error. The pagesize is huge (cause of all the numerous comments) but that shouldn't cause a blank page. I really have no idea what might be causi

[jQuery] Re: New jQuery Docs require more work to use

2007-09-07 Thread Frank Peterson
ok, thanks, i wasnt aware of what was planned, sounds cool. :) Until then I'll just use the history for the older version.

[jQuery] Unavoidable Duplicate DOM IDs?

2007-09-07 Thread Collin Allen
I'm currently working on a project where different areas of the user interface (an AJAX-loaded "Service") are intended to be re-usable, potentially with more than one "instance" of a given Service on a page. The issue I'm running into, and am asking for some input on, is the following: When I lo

[jQuery] "No such interface supported" error in Internet Explorer

2007-09-07 Thread 0xCAFE
Hi, I have a CheckUsername function where using Ajax and jQuery, I check if the supplied username is already in use in the database. It works fine with Firefox, but with IE, I always get this JavaScript error : "No such interface supported" And it always falls in the error: part of the code.

[jQuery] Re: jQuery getElementsByName Equivalent ?

2007-09-07 Thread Gabriel Lovison
but if I put one name for element, like this: how can I take this element with this name? 2007/9/7, Andy Matthews <[EMAIL PROTECTED]>: > > > Yes... > > $('a') > > Would return an array of all A tags on the page. > > $('div') > > Would return an array of all DIV tags on the page. > > > andy > >

[jQuery] Refactoring href, src in Ajax retrieved HTML

2007-09-07 Thread joelarson
Is there a tool or library that can take HTML and realign the URLs contained within that HTML so that they work properly in a new context? For instance, imagine 1) http://wherever/one/homepage.htm uses Ajax to retrieve HTML from / two/somepage.htm 2) http://wherever/two/somepage.htm has some co

[jQuery] Re: My freelance site, a question about redundant code...

2007-09-07 Thread Joan Piedra
I like this idea, but I find pretty annoying to slide between sections all over again, if the whole page is up there, just use the fades. That's my opinion. Here it's some code I could thought about. Oh btw, you should add the # symbol in your links, it's an accessibility issue :) portfolio $('#

[jQuery] Re: jQuery getElementsByName Equivalent ?

2007-09-07 Thread 0xCAFE
Well, I know ID should be unique and they are, it's just that in the case of an input radio, the name attribute has to be the same for all n radio buttons so they toggle automatically. I was looking for a way to do document.getElementsByName("customerType") and get an array containing all three ra

[jQuery] PopupWindow Plug-in Not working on AJAX output

2007-09-07 Thread [EMAIL PROTECTED]
I have a quick question -- I'm using the plug-in "PopupWindow" (http://rip747.wordpress.com/ 2007/03/02/the-return-of-popupwindow-jquery-plugin/) to open new windows and it works great. However, I can't seem to get it to work on AJAX output. I have some data coming from my database which have li

[jQuery] jQuery Autocomplete Plugin Efficiency in AutoSuggest Brand Spanking New

2007-09-07 Thread Alexsandro_xpt
Hello everybody, I need/would like get (jQuery Autocomplete) http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ efficiency and make a new AutoSuggest(http://www.brandspankingnew.net/ archive/2006/08/ajax_auto-suggest_auto-complete.html) because it AutoSuggest is a nice design, someb

[jQuery] Re: jquery pageloader

2007-09-07 Thread Renaud
On 7 sep, 11:38, Aaron <[EMAIL PROTECTED]> wrote: > Has anyone have a detailed solution for this or an example page i > could take a look at? > > Thanks! > Here's one. This one waits for all the embedded images to load (the image inside takes 5 seconds to generate), but you could do what's in the

[jQuery] Re: How to fade only the background?

2007-09-07 Thread Karl Swedberg
On Sep 7, 2007, at 11:13 AM, Andy Matthews wrote: Are you serious? I wouldn't joke around about something so important, Andy. ;-) You'd have to have a plugin to animate a CSS property? Only some of them. jQuery core's .animate() works for any numeric CSS property (such as top, left, wid

[jQuery] Re: New jQuery Docs require more work to use

2007-09-07 Thread Glen Lipka
I agree. I think the powers that be are working on an "iframe" that will compile those tabs into a single "running" demo. It should also have all that information compiled together. Additionally, it will be a working demo to show how it translates into action. I've been working on making the dem

[jQuery] Re: jQuery functionalities

2007-09-07 Thread polyrhythmic
Hash tracking is available through the History/Remote Plugin (though I have not used it yet): http://stilbuero.de/jquery/history/ Charles On Sep 7, 6:23 am, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > What is it that you think is missing? > > JSON is just a native javascript object...you just h

[jQuery] Re: My freelance site, a question about redundant code...

2007-09-07 Thread Josh Nathanson
Really like that interface Andy. My only beef is that the top of the logo gets cut off when the page slides up. More of a design preference on my part I guess. Super cool UI. -- Josh - Original Message - From: "Scott Sauyet" <[EMAIL PROTECTED]> To: Sent: Friday, September 07,

[jQuery] New jQuery Docs require more work to use

2007-09-07 Thread Frank Peterson
I noticed the docs changed, but now require more clicking than necessary. I liked the old docs which everything was on the page and it was faster to find things. Now I have to click on the area, then the function, then on CODE, HTML, RESULTS back and forth to get all the information.

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

2007-09-07 Thread Michael Geary
Use a closure. Whatever method this code is inside, add one line at the top of the method: var self = this; Then, every place where you would use "this" in the method, use self instead: $(".button").bind("click", function(event) { self.handleEvent(); return false; }); Whe

[jQuery] Re: jQuery getElementsByName Equivalent ?

2007-09-07 Thread Klaus Hartl
Andy Matthews wrote: Ah...thank you for clarifying Klaus...so he wants all elements that have a name attribute. Yes, that DOM method translates to: document.getElementsByName('foo'); => $('*[name=foo]') // jQuery 1.2, maybe 1.1.4 already $('[EMAIL PROTECTED]') // pre jQuery 1.2 The latte

[jQuery] Re: jQuery getElementsByName Equivalent ?

2007-09-07 Thread Andy Matthews
Ah...thank you for clarifying Klaus...so he wants all elements that have a name attribute. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Hartl Sent: Friday, September 07, 2007 11:07 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re:

[jQuery] Re: OT: No form submit without JavaScript?

2007-09-07 Thread Pete
Ok. That makes perfect sense. Thank you. On Sep 7, 3:35 am, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Pete wrote: > > I have some forms that I perform validation on using the Validation > > plugin for jQuery. My sole purpose for this, is that I'd like to > > reduce spam (and my company gets qu

[jQuery] Re: jQuery getElementsByName Equivalent ?

2007-09-07 Thread Klaus Hartl
Michael Stuhr wrote: 0xCAFE schrieb: Is there a jQuery equivalent for getElementsByName that will return an array ? Thanks! 0xCAFE well id's generally should be only used once per site. that's what they are made for. it's an identificator. what you look for is probably a class He's not t

[jQuery] Re: jQuery getElementsByName Equivalent ?

2007-09-07 Thread Michael Stuhr
0xCAFE schrieb: Is there a jQuery equivalent for getElementsByName that will return an array ? Thanks! 0xCAFE well id's generally should be only used once per site. that's what they are made for. it's an identificator. what you look for is probably a class so you'd do '$('.myclass')' and y

[jQuery] Re: How to fade only the background?

2007-09-07 Thread Glen Lipka
One thing I have done in the past for the same problem is to use absolute positioning. I put two divs as siblings inside a parent div. They are both top: 0px; left: 0px; position: absolute. The parent is position: relative. The first sibling is the background and the second one is the logo. Then

[jQuery] Re: jquery pageloader

2007-09-07 Thread Equand
http://nosite.ru/HU try this... the code is in #overlay #overlaytext are the working examples of loading screen On Sep 7, 5:38 pm, Aaron <[EMAIL PROTECTED]> wrote: > Has anyone have a detailed solution for this or an example page i > could take a look at? > > Thanks! > > On Sep 7, 9:19 am, Simpe

[jQuery] Re: jQuery getElementsByName Equivalent ?

2007-09-07 Thread Glen Lipka
There seems to be two threads with the same question. Repeating answer: Yes, jQuery supports xPath like expressions like: $("div[name=foo]") You can put any attribute/value in there. Its pretty flexible. The 1.2version also has neat variations on this. See detail: http://docs.jquery.com/JQuer

[jQuery] Re: N00b => jQuery getElementsByName Equivalent ?

2007-09-07 Thread Equand
http://docs.jquery.com/Core/get try this On Sep 7, 3:43 pm, 0xCAFE <[EMAIL PROTECTED]> wrote: > I know I can use $("#elementid"), but is there something that will > return me an array of object like getElementsByName does ? > > Thanks!

[jQuery] Re: N00b => jQuery getElementsByName Equivalent ?

2007-09-07 Thread Glen Lipka
Yes, jQuery supports xPath like expressions like: $("div[name=foo]") You can put any attribute/value in there. Its pretty flexible. The 1.2version also has neat variations on this. See detail: http://docs.jquery.com/JQuery_1.2_Roadmap#Move_from_.5B.40attr.5D_to_.5Battr.5D Also, check out this

[jQuery] Re: jquery pageloader

2007-09-07 Thread Aaron
Has anyone have a detailed solution for this or an example page i could take a look at? Thanks! On Sep 7, 9:19 am, Simpel <[EMAIL PROTECTED]> wrote: > hmm...I quess sometimes stuff is a lot easier than you think > > thanks for the info though! > > On 6 Sep, 17:21, Renaud <[EMAIL PROTECTED]>

[jQuery] Re: jQuery getElementsByName Equivalent ?

2007-09-07 Thread Andy Matthews
Yes... $('a') Would return an array of all A tags on the page. $('div') Would return an array of all DIV tags on the page. andy -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 0xCAFE Sent: Friday, September 07, 2007 9:08 AM To: jQuery (En

[jQuery] jQuery getElementsByName Equivalent ?

2007-09-07 Thread 0xCAFE
Is there a jQuery equivalent for getElementsByName that will return an array ? Thanks! 0xCAFE

[jQuery] N00b => jQuery getElementsByName Equivalent ?

2007-09-07 Thread 0xCAFE
I know I can use $("#elementid"), but is there something that will return me an array of object like getElementsByName does ? Thanks!

[jQuery] Re: jquery pageloader

2007-09-07 Thread Simpel
hmm...I quess sometimes stuff is a lot easier than you think thanks for the info though! On 6 Sep, 17:21, Renaud <[EMAIL PROTECTED]> wrote: > Quickly looking at the sources, what they do is having one > 'pageloading' div, and one 'real body' div. > The real body div is hidden by default by c

[jQuery] Re: My freelance site, a question about redundant code...

2007-09-07 Thread Scott Sauyet
Andy Matthews wrote: http://www.commadelimited.com/ Very pretty! Ooh, shiny toys! ;-) There's a code block in there that I'm not happy with. It works, but it's redundant and ugly. I'm wondering if you guys can look at it and let me know where I could improve it. The code can be found in

[jQuery] Re: How to fade only the background?

2007-09-07 Thread Andy Matthews
Are you serious? You'd have to have a plugin to animate a CSS property? Is it just because it's the body background or does that apply to any background in any element? andy _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl Swedberg Sent: Friday, September 0

[jQuery] Re: [NEWS] Lazy Load Plugin on Ajaxian

2007-09-07 Thread Tane Piper
Also, it looks like the plugin has been popular enough for someone to convert it to Prototype too: http://eddcouchman.com/notebook/lazy-load-images-with-prototype/ On 9/7/07, Rey Bango <[EMAIL PROTECTED]> wrote: > > Mika Tuupola's awesome lazy load plugin got a nice write up over on > Ajaxian.co

[jQuery] Re: How to fade only the background?

2007-09-07 Thread Karl Swedberg
On Sep 7, 2007, at 9:20 AM, Andy Matthews wrote: Or you could animate the backgroundColor property. Yes, but you'll need the Interface plugin for that (at least iuitil.js and ifx.js, IIRC). http://interface.eyecon.ro Unfortunately, however, Interface overwrites jQuery's .animate() metho

[jQuery] Re: My freelance site, a question about redundant code...

2007-09-07 Thread Andy Matthews
Hmmm... Didn't know that tabs could do this. I'll check into it Glen, and thanks for the compliment. andy _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Glen Lipka Sent: Friday, September 07, 2007 9:43 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re

[jQuery] Re: My freelance site, a question about redundant code...

2007-09-07 Thread Glen Lipka
Its an interesting effect. I like it. A little weird at first, like "Where is the page?" but I got it pretty quickly. Have you tried to use a custom implementation of Tabs to do this? The benefit is that the "back button" would continue to work. Plus it already has the animation to do what you w

[jQuery] Changing the interface plugin "iToolTip" slows it down

2007-09-07 Thread Eli
Hey Guys, I'm trying to play around with the iToolTip plug that comes with interface plugins, but even if I load the source (untouched) file (itooltip.js) it takes me a a good second and a half to show the tootip in firefox. If I'm not loading the itooltip.js and downloading it compressed from int

[jQuery] Re: 1.1.4 Bug: IE7, TD, & append element

2007-09-07 Thread traunic
The JSON I have to work with will look like the examples on http://oss.metaparadigm.com/jsonrpc-cvs/manual.html#class-hinting The Java devs I am working with have never done JSON work before, so they saw JSON-RPC-Java, liked it, and that is what I am going to be stuck with. I will bypass the jav

[jQuery] [NEWS] Lazy Load Plugin on Ajaxian

2007-09-07 Thread Rey Bango
Mika Tuupola's awesome lazy load plugin got a nice write up over on Ajaxian.com. http://ajaxian.com/archives/lazy-load-plugin-for-jquery Great work Mika!! Rey...

[jQuery] Re: OT: No form submit without JavaScript?

2007-09-07 Thread Andy Matthews
Not if the input type is button. That does nothing. Only type="submit " will submit a form by hitting enter. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Hartl Sent: Friday, September 07, 2007 8:27 AM To: jquery-en@googlegroups.com Subje

[jQuery] Re: OT: No form submit without JavaScript?

2007-09-07 Thread Andy Matthews
Crap...you're right...I just tested it. Thought for sure there had to be at least one 'type="submit"' in there to be able to use the enter button. Move along...never mind me. andy -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Hartl Sent

[jQuery] Re: OT: No form submit without JavaScript?

2007-09-07 Thread Klaus Hartl
Andy Matthews wrote: Change your type="submit" button to a type="button" button and trigger the form submission via javascript. you can still always submit the form by hitting enter. --klaus

[jQuery] code not working in IE... don't know why

2007-09-07 Thread Equand
ok this site jppromo.ru everything works correctly in opera and firefox... but when in ie... it is stuck... don't know why i presume window.onload doesn't fire... don't know why... please help guys. i thought it might be because of two plugins i wrote there...

[jQuery] Re: jQuery functionalities

2007-09-07 Thread Andy Matthews
What is it that you think is missing? JSON is just a native javascript object...you just have to create the string yourself (or use a JSON plugin). AJAX couldn't get too much more robust, cookies has a plugin and I've never used Hash so I can't speak on that one. -Original Message- From:

[jQuery] Re: OT: No form submit without JavaScript?

2007-09-07 Thread Andy Matthews
Change your type="submit" button to a type="button" button and trigger the form submission via javascript. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pete Sent: Friday, September 07, 2007 1:52 AM To: jQuery (English) Subject: [jQuery] OT: N

[jQuery] Re: How to fade only the background?

2007-09-07 Thread Andy Matthews
Or you could animate the backgroundColor property. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Erik Beeson Sent: Friday, September 07, 2007 12:20 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: How to fade only the background? Changing opacity affec

[jQuery] My freelance site, a question about redundant code...

2007-09-07 Thread Andy Matthews
I just relaunched my freelance website: http://www.commadelimited.com/ There's a code block in there that I'm not happy with. It works, but it's redundant and ugly. I'm wondering if you guys can look at it and let me know where I could improve it. The code can be found in http://www.commadeli

[jQuery] Re: jQuery functionalities

2007-09-07 Thread Juha Suni SC
At least a quick note: jQuery itself has terrific ajax-capabilities builtin. Add the forms-plugin and you have pretty much all you need. For more JSON-stuff, check the JSON-plugin (dug the part below from old jquery discussions, originally posted by Mark Gibson): --- I hacked the original j

[jQuery] Re: Simple list don't work in IE

2007-09-07 Thread Renaud
On 7 sep, 08:15, mrjoops <[EMAIL PROTECTED]> wrote: > Hi all, > > I expect from the following code to display only the submenu of the > active menu. It works like a charm under Firefox and Opera but not > under IE (at least under version 7). > If someone could help, I would appreciate. > > Here i

[jQuery] Re: New plugin - Lazy Load

2007-09-07 Thread Erik Beeson
Hi Mika, Great stuff, as always. I'm looking over the source and had a couple of thoughts. It looks like you bind an event handler for each matching element, so 100 images will result in 100 event handlers firing on every scroll. That seems like it wouldn't scale as well as just have one event han

[jQuery] Re: jquery autocomplete plugin with php

2007-09-07 Thread Giovanni Battista Lenoci
Saidur ha scritto: Hello , I am a new bie in jquey. I need tutorial to work on jquery auto complete plugin with php . I need code. That i will test . Thanks I used this one, it has documentation and examples. http://www.dyve.net/jquery/?autocomplete Bye

[jQuery] Re: Simple list don't work in IE

2007-09-07 Thread Klaus Hartl
mrjoops wrote: Hi all, I expect from the following code to display only the submenu of the active menu. It works like a charm under Firefox and Opera but not under IE (at least under version 7). If someone could help, I would appreciate. Here is the code: $(document).ready(function() { $("ul

[jQuery] Re: How to solve problem with zindex and active elements

2007-09-07 Thread Mario Moura
Hi Other solution could de CSS overflow: http://www.w3schools.com/css/pr_pos_overflow.asp Regards Mairo 2007/9/4, Dan Evans <[EMAIL PROTECTED]>: > > > You could add a click event that only gets fired once to the the mask. > Something like: > $('#maskID').one('click', function(){ > $(th

[jQuery] Re: Validation plugin site down, Jörn?

2007-09-07 Thread Suni
Very interesting. It does indeed work with Opera. On Firefox I just get a blank page, and IE 7 shows me the "Page can't be displayed" - error. The pagesize is huge (cause of all the numerous comments) but that shouldn't cause a blank page. I really have no idea what might be causing this... On 5

[jQuery] Simple list don't work in IE

2007-09-07 Thread mrjoops
Hi all, I expect from the following code to display only the submenu of the active menu. It works like a charm under Firefox and Opera but not under IE (at least under version 7). If someone could help, I would appreciate. Here is the code: $(document).ready(function() { $("ul").hide(); $("u

[jQuery] Re: New plugin - Lazy Load

2007-09-07 Thread Flesler
The idea is perfect! I'd only say you could combine your plugins, and once the whole page is loaded, you could start loading the lazy images sequentially, so that the user won't have to wait FOR SURE for those images. It would be like "balanced" loading. On Sep 7, 4:59 am, Dan Atkinson <[EMAIL PR

[jQuery] MM AC_RunActiveContent & jQuery

2007-09-07 Thread studiobl
I want to use the Interface library's Accordian on a page that already has a Flash piece wrapped in Macromedia's AC_RunActiveContent javascript for avoiding the IE security glitch. If I remove the Flash and the

[jQuery] jQuery functionalities

2007-09-07 Thread [EMAIL PROTECTED]
Will add the jQuery team more functionalities integrated in the framework, like working with cookies, hash, json, ajax in next versions? Sometimes, it's very frustrating don't find a good plugin to work and I don't want use obligatory other frameworks, like Mootools. It's only a question. Tha

[jQuery] [OT] CoScripter: super simple firefox automation

2007-09-07 Thread Erik Beeson
Hello all, Not specifically jQuery related, or even JavaScript related, but I thought the community might find it interesting. It's a FireFox addon for automating web site interactions, backed by a wiki/database thing for sharing automation "recipes". Ostensibly, it's for things like "add your pho

  1   2   >