[jQuery] Problem with .height/.css?

2006-08-24 Thread Mike Rubits
I've been out of the loop on the list here for a little while, and I've recently thrown on the latest SVN JQuery. Running into some odd problems. I've got something like the following: $(".edit").click(function(){ $("body").append(""); $(window).scroll(function(){

Re: [jQuery] $() & Iframes

2006-08-24 Thread Blair McKenzie
I mean self.MyIFrame.$('#MyDivInsideIframe'), and yes I had to load jquery into the iframe.Possibly it isn't necessary, you may be able to use $("#mydiv",self.MyIFrame.document), but I didn't go into any of that myself. On 8/25/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:I understand that from

Re: [jQuery] $() & Iframes

2006-08-24 Thread developer
I understand that from within the iframe, I could do a window.parent.$('#MyDivInsideIframe') to use the jquery loaded in the parent to manipulate the div in the iframe. However, I want to manipulate '#MyDivInsideIframe' from the parent. When you suggest iframeobject, is that browser dependent?

Re: [jQuery] $() & Iframes

2006-08-24 Thread Blair McKenzie
I've tried that before, and I ended up linking to jquery in the iframe page and using iframeobject.$().On 8/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I have a scenario where I am trying to get to a div located within aniframe from the parent using the jQuery $() selector. I have triedmul

[jQuery] $() & Iframes

2006-08-24 Thread developer
I have a scenario where I am trying to get to a div located within an iframe from the parent using the jQuery $() selector. I have tried multiple things but seem to have no luck. I was wondering if anyone had some suggestions or some past issues with this. Thanks in advance, Jeff

Re: [jQuery] needed: edit html plugin

2006-08-24 Thread Francisco Brito
Hmm... not that kind of selections/ranges. I meant within textareas or inputs. There's probably code within the autocomplete plugin that does something like that. I'll dive into it. On 8/24/06, Matt Stith <[EMAIL PROTECTED]> wrote: Check out interface for your second problem:http://interface.eyecon

Re: [jQuery] $('foo').css('min-width') fix for Internet Explorer

2006-08-24 Thread Dave Cardwell
Fantastic - thank you. Best wishes, Dave Cardwell ~ http://davecardwell.co.uk/ John Resig wrote: > You caught me in the middle of some updates, so it's now in rev 226, > slightly modified to be more generic: > http://jquery.com/src/jquery-svn.js > > var np = p.replace(/\-(\w)/g,function(m,c){r

Re: [jQuery] $('foo').css('min-width') fix for Internet Explorer

2006-08-24 Thread John Resig
You caught me in the middle of some updates, so it's now in rev 226, slightly modified to be more generic: http://jquery.com/src/jquery-svn.js var np = p.replace(/\-(\w)/g,function(m,c){return c.toUpperCase()}); r = e.currentStyle[p] || e.currentStyle[np]; --John On 8/24/06, Dave Cardwell <[EMAI

Re: [jQuery] Recommended version

2006-08-24 Thread John Resig
Klaus, > Good news! Any chance that the slide bug I mentioned two times will be > fixed until then? This is the only thing that holds me back from > switching to 1.0. You can see it here: > > http://stilbuero.de/jquery/tabs/ (see the slide example - the height is > somehow miscalculated...) > > Or

Re: [jQuery] Recommended version

2006-08-24 Thread Klaus Hartl
John Resig schrieb: >> I'd recommend the latest SVN version then: >> http://jquery.com/src/jquery-svn.js >> There has been a lot of API changes lately and with 1.0 in reach, it's >> unlikely that there will be any more to this version. Only bug fixes. > > I was going to say the same thing - jQue

[jQuery] Visual jQuery (An update)

2006-08-24 Thread Yehuda Katz
Hi guys,I've been retooling Visual jQuery for around a week now, working with John and his auto-generated documentation. I'm happy to announce that I will be releasing the new Visual jQuery at the end of the week, to coincide with the release of jQuery 1.0 gold.It's a brand spanking new system, wh

Re: [jQuery] 3d Universe in jQuery

2006-08-24 Thread Patrick Hall
Hey, doesn't this need to be updated? Removing Pluto should make things a lot faster. ☺ -- ᗷɭoℊẚᗰսɳᑯѲ⁈⁈⁈ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] 3d Universe in jQuery

2006-08-24 Thread Will Jessup
Patrick , Ahaha, or I could add on the other 3 sub-planets? Anyway I can't debug this in IE because of some swedish tendancies of mine tward certain large corporate software required for debugging. So if anyone has some freetime and wants to debug in IE that would rule. Will > Hey, doesn't thi

[jQuery] Production Rails site using jQuery

2006-08-24 Thread Andre Lewis
There's been a lot of discussion on jQuery for Rails development, especially with wycats' post on the blog. I've had my wifi cafes site (http://wifi.earthcode.com) up for a month or so running on Rails + jQuery. Most of the jQuery code on Wifi is in the Google maps interaction (adding a cafe partic

Re: [jQuery] Recommended version

2006-08-24 Thread Patrick Hall
> Stefan Petre wrote: > > Great news. I can finally release the Interface with the new changes, > > website and plugins. > > That's awesome! I can't wait to use it. I've struggled so much with the > buggy versions, I had to quit and wait for the proper release. Finally > it's the time :) Ditto! I'

Re: [jQuery] Recommended version

2006-08-24 Thread Roman
Stefan Petre wrote: > Great news. I can finally release the Interface with the new changes, > website and plugins. That's awesome! I can't wait to use it. I've struggled so much with the buggy versions, I had to quit and wait for the proper release. Finally it's the time :) ___

Re: [jQuery] needed: edit html plugin

2006-08-24 Thread Matt Stith
Check out interface for your second problem:http://interface.eyecon.ro/I think selectables is what your looking for.On 8/24/06, Francisco Brito <[EMAIL PROTECTED]> wrote: Does anyone know of a jQuery plugin for editing HTML?It's a mega pain in the plugin to deal with browser whims regarding ranges

[jQuery] $('foo').css('min-width') fix for Internet Explorer

2006-08-24 Thread Dave Cardwell
For some reason IE has decided to use e.currentStyle['min-width'] for min-width, max-width, min-height and max-height, while it uses the e.currentStyle['fontSize'] for everything else. As such, $.curCSS will simply treat them as undefined, unless you replace: p = p.replace(/\-(\w)/g,function(m,c

Re: [jQuery] ajaxStart etc. (still) not working

2006-08-24 Thread Jason Yeckel
Florian, Pretty sure he told you not to use 1.0a ;) give the svn a try it also now has ajax error handling for bad responses. This issue should be resolved in the latest SVN build: http://jquery.com/src/jquery-svn.js > On 8/24/06, *Florian* < [EMAIL PROT

[jQuery] Recommended version

2006-08-24 Thread Stefan Petre
Great news. I can finally release the Interface with the new changes, website and plugins. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] AJAXGrid plugin - text version

2006-08-24 Thread Stefan Petre
Some improvements: * fixed columns * keyboard navigation: page up/down to scroll pages, F2 to edit the current cell * autocompleter for input fields * better speed, still on Internet Explorer pauloads a lot the proccesor * the header cells can be clicked to sort to columns same link http://inter

Re: [jQuery] Recommended version

2006-08-24 Thread John Resig
> I'd recommend the latest SVN version then: > http://jquery.com/src/jquery-svn.js > There has been a lot of API changes lately and with 1.0 in reach, it's > unlikely that there will be any more to this version. Only bug fixes. I was going to say the same thing - jQuery 1.0 comes out this Friday,

Re: [jQuery] Recommended version

2006-08-24 Thread Jörn Zaefferer
> I'm willing to live with some bugs in the code while I still develop > but I'd like to develop for an as stable API as possible, so I'm a > bit reluctant to use the "old" stable version of jQuery. > > I'd recommend the latest SVN version then: http://jquery.com/src/jquery-svn.js There ha

Re: [jQuery] f has no properties

2006-08-24 Thread Andy Matthews
Awesome. Glad it helped. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jason Huck Sent: Thursday, August 24, 2006 10:08 AM To: discuss@jquery.com Subject: Re: [jQuery] f has no properties Andy Matthews wrote: > > Try removing references to other java

Re: [jQuery] f has no properties

2006-08-24 Thread Jason Huck
Andy Matthews wrote: > > Try removing references to other javascript code and start from there. > It's > likely that something else is overwriting jQuery code. > Another snippet was returning an empty $(document).ready() within an AJAX response (left over from a earlier misguided attempt to re

Re: [jQuery] f has no properties

2006-08-24 Thread Andy Matthews
Try removing references to other javascript code and start from there. It's likely that something else is overwriting jQuery code. Are you using Prototype? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jason Huck Sent: Thursday, August 24, 2006 9:30 AM T

[jQuery] f has no properties

2006-08-24 Thread Jason Huck
I have some simple jquery code that works fine in standalone tests, but errors when integrated into a larger project. I have noticed in the larger project, FireBug reports "f has no properties" on line 14 of the main jquery lib. Even though my standalone test calls the exact same copy (and it does

Re: [jQuery] New Plugin: jQBrow ser - Extend jQuery’s browser detection c apabilities

2006-08-24 Thread Dave Cardwell
Sam Collett wrote: > Looks like you went back in time and changed it before you released > the first version ;) > > v 0.2 is dated: Thursday 24th August, 2004 > v 0.1: Wednesday 16th August, 2006 Whoops - there must have been a conflict with a development release of jQTimeMachine I'm working on.

Re: [jQuery] New Plugin: jQBrowser - Exte nd jQuery’s browser detection capabilities

2006-08-24 Thread Sam Collett
On 24/08/06, Dave Cardwell <[EMAIL PROTECTED]> wrote: > Dave Cardwell wrote: > > I needed browser detection that was a little more robust than $.browser > > so I wrote a quick plugin to extend it. > > Hello, again. > > A lot of people seemed to want browser detection[1] so I've released > another v

Re: [jQuery] New Plugin: jQBrow ser - Extend jQuery’s browser detection c apabilities

2006-08-24 Thread Dave Cardwell
Dave Cardwell wrote: > I needed browser detection that was a little more robust than $.browser > so I wrote a quick plugin to extend it. Hello, again. A lot of people seemed to want browser detection[1] so I've released another version of jQBrowser which now also offers browser version and ope

[jQuery] Recommended version

2006-08-24 Thread Markus Peter
Hello I haven't followed the mailing list for quite some time, so I'm not fully up-to-date: What's the currently recommended jQuery version to use if I'm still in development of my site, do not expect to re-launch it within next 3 months, but want an as-soft-as-possible migration to the nex

Re: [jQuery] jQuery.toArray() ?

2006-08-24 Thread Christof Donat
Hi, > > 2. Splitting a string creates an array of strings, not an array of DOM > > nodes. > > I know, i thought you wanted to sort the array? :) Well, an Array can be sorted by any criteria you like. Anyway the original solution to Klaus' Problem is a lot easier and was one of the first answers

Re: [jQuery] jQuery.toArray() ?

2006-08-24 Thread Klaus Hartl
> I agree, get() would be the best way to get the job done. Thank you all guys, get() does the trick. Sometimes one doesn't remember the basic things... :-) -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jQuery.toArray() ?

2006-08-24 Thread Christian Bach
Jörn Zaefferer wrote: >> does jQuery have a method to transform its results to an array of DOM >> nodes? > > As already mentioned, get() should do the job. From the API docs: > Access all matched elements. This serves as a backwards-compatible way of > accessing all matched elements (other than

Re: [jQuery] jQuery.toArray() ?

2006-08-24 Thread Christian Bach
Christof Donat wrote: > Hi, > >> OK, how about: >> >> var arr = $("li").toString().split(','); > > How can that work with DOM Objects? > > 1. I can not find toString() in jQuery. I guess it will return something > like "[object]". Since the jQuery new returns a array (see John's mail: "[jQuery

Re: [jQuery] jQuery.toArray() ?

2006-08-24 Thread Christof Donat
Hi, > OK, how about: > > var arr = $("li").toString().split(','); How can that work with DOM Objects? 1. I can not find toString() in jQuery. I guess it will return something like "[object]". 2. Splitting a string creates an array of strings, not an array of DOM nodes. Christof __

Re: [jQuery] jQuery.toArray() ?

2006-08-24 Thread Jörn Zaefferer
> does jQuery have a method to transform its results to an array of DOM > nodes? As already mentioned, get() should do the job. From the API docs: Access all matched elements. This serves as a backwards-compatible way of accessing all matched elements (other than the jQuery object itself, which

Re: [jQuery] jQuery.toArray() ?

2006-08-24 Thread Christian Bach
Christof Donat wrote: > Hi, > >> var $jQ = $("div"); >> for(var i=0; i < $jQ.length; i++) { >> alert(i + ':' + $jQ[i]); >> } > > He wants to sort the Array. That is IIRC not possible with the jQuery-Object > itsself. OK, how about: var arr = $("li").toString().split(','); _

Re: [jQuery] jQuery.toArray() ?

2006-08-24 Thread Christof Donat
Hi, > var $jQ = $("div"); > for(var i=0; i < $jQ.length; i++) { > alert(i + ':' + $jQ[i]); > } He wants to sort the Array. That is IIRC not possible with the jQuery-Object itsself. Christof ___ jQuery mailing list discuss@jquery.com http://jque

Re: [jQuery] jQuery.toArray() ?

2006-08-24 Thread Christof Donat
Hi, > does jQuery have a method to transform its results to an array of DOM > nodes? Like for example: > > var lis = $('li').toArray(); Of course you could do it like this: jQuery.prototype.toArray = function() { var rval = []; this.each(function(){rval.push(this)}); retu

Re: [jQuery] jQuery.toArray() ?

2006-08-24 Thread Christian Bach
Klaus Hartl wrote: With the latest svn version, you can do this: var $jQ = $("div"); for(var i=0; i < $jQ.length; i++) { alert(i + ':' + $jQ[i]); } /c > Hi all, > > does jQuery have a method to transform its results to an array of DOM > nodes? Like for example: > > var lis = $('li').t

Re: [jQuery] jQuery.toArray() ?

2006-08-24 Thread Dave Cardwell
Klaus Hartl wrote: > does jQuery have a method to transform its results to an array of DOM > nodes? Like for example: > > var lis = $('li').toArray(); Hello Klaus. I think this is what you're after: var lis = $('lis').get(); Best wishes, Dave Cardwell ~ http://davecardwell.co.uk/ ___

Re: [jQuery] ajaxStart etc. (still) not working

2006-08-24 Thread Florian
$(document).ready(function() {    $("#AjaxPost").load("feed.inc.php",{                feed_id: 6, field: 'id', sort: 'DESC', nb: 10, from: 0                }            );        $("#loadingAjax").hide();    $("#loadingAjax").ajaxStart(function(){   $(this).show();   }).ajaxStop(function(){   

Re: [jQuery] ajaxStart etc. (still) not working

2006-08-24 Thread Florian
I'm using the 1.0a version, and with $.load ajaxStart/stop doesn't work... :(FlorianOn 7/20/06, John Resig < [EMAIL PROTECTED]> wrote:> Has there been any resolution on this?  I'm having a rough time figuring out > why it's not working.This issue should be resolved in the latest SVN build:http://jq

[jQuery] jQuery.toArray() ?

2006-08-24 Thread Klaus Hartl
Hi all, does jQuery have a method to transform its results to an array of DOM nodes? Like for example: var lis = $('li').toArray(); I need to gather some elements and resort them based on an expando property or a class name. If not I can only go the way with each and create my own array, ri