[jQuery] Re: CSS problem with slideDown() in IE6

2007-09-07 Thread Giuliano Marcangelo
Jon, if you apply a background color to #nav ul ( for debugging purposes) the reason for the picture of the bagman shifting downwards becomes apparent, (check the difference between FF IE) and presents you with a nice easy solution apply a width to #nav uland the problem you have

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

2007-09-07 Thread polyrhythmic
You may also try SuperFlyDOM, in gamma awaiting a proper demo, but fully functional. It accounts for many IE-specific issues, and is very quick. This may save you much time on the translation, as SuperFlyDOM creates a DOM structure from a JSON Array/Object. The plugin is currently hosted at:

[jQuery] Re: Capture click on parent and prevent capture to child anchors

2007-09-07 Thread Joel Birch
Thanks for your input, everyone. Much appreciated. :) Joel.

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

[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

[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 script tag to include AC_RunActiveContent.js, the accordian works as expected.

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

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

[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

[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: No

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

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

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

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

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

2007-09-07 Thread Klaus Hartl
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 quite a bit). I understand the NOSCRIPT tag, but is there a way to prevent form submission if a user does not have

[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

[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 is the

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

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

[jQuery] jQuery getElementsByName Equivalent ?

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

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

[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: [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.com.

[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

[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

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

[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 quite a

[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

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

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

[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

[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

[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

[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

[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

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

[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] jquery autocomplete plugin with php

2007-09-07 Thread Saidur
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

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

2007-09-07 Thread [EMAIL PROTECTED]
I'm not sure if I've completely missed this in the docs, but I'm wondering if there is an easier way of achieving the following: $(.button).bind(click, {that:this}, function(event) { var that = event.data.that; that.handleEvent(); return false; }); I could do the same thing

[jQuery] OT: No form submit without JavaScript?

2007-09-07 Thread Pete
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 quite a bit). I understand the NOSCRIPT tag, but is there a way to prevent form submission if a user does not have Javascript? I

[jQuery] Re: event.target and switch statement...

2007-09-07 Thread gr00vy0ne
That's exactly what I needed. I actually ended up doing it in a roundabout way be getting the class attribute since it's always an a element. Thanks! On Sep 6, 2:16 pm, Josh Nathanson [EMAIL PROTECTED] wrote: If you know it's always going to be an a element, maybe this would work: switch

[jQuery] Re: New plugin - Lazy Load

2007-09-07 Thread Dan Atkinson
Thanks for checking it out. I was thinking about this last night. I thought about maybe writing something non-jQuery so that the page would hold off loading images until the page had been loaded to the bottom. But then, I don't want my guys doing that. I might just make an exception and put

[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, Simpel

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

[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: jquery-en@googlegroups.com

[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; }); When you

[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

[jQuery] Re: CSS problem with slideDown() in IE6

2007-09-07 Thread Jon
Wow! Thanks! So simple.. :-) I guess IE6 will change from float:left(position:static) to position:relative when the height is altered (by slide) and therefore doesn't recognize the display div, as display is float:right (also position:static). On 7 Sep., 08:52, Giuliano Marcangelo [EMAIL

[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 demos,

[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 have to

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

[jQuery] Re: jQuery getElementsByName Equivalent ?

2007-09-07 Thread Gabriel Lovison
but if I put one name for a element, like this: a name= 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] 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] Fade in alert freezes with Internet Explorer 7 - Help appreciated!!!

2007-09-07 Thread adamwust
Here's the site I'm working on: http://www.letsbuythecubbies.com/trading/register2.html . I have it setup so that when you click click here to pay a yellow box fades in directly underneath it that says just a moment... It works great in firefox, but for some reason it completely freezes up

[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

[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

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

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

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

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

[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

[jQuery] Re: jQuery getElementsByName Equivalent ?

2007-09-07 Thread Klaus Hartl
Gabriel Lovison wrote: but if I put one name for a element, like this: a name= 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

[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 body? I haven't been able to get it working, but I'm new to jquery. Thanks for the help! hydra12

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

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

[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: 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 a element, like this: a name= 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 need to

[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: jquery-en@googlegroups.com Sent: Thursday, September 06, 2007 11:10 AM Subject: [jQuery] Re: jQueryCamp '07 (Boston) Yikes...you

[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 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 PROTECTED] To:

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

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

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

[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 wrote:

[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: 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 is

[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 between it

[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

[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, 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: Ok,

[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 be better

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

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

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

[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

[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 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 and it

  1   2   >