[jQuery] Problem with .height/.css?

2006-08-25 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(div id='overlay'/diviframe id='edit'

Re: [jQuery] Problem with .height/.css?

2006-08-25 Thread John Resig
However when I change.. $(#overlay).top(window.pageYOffset + 'px'); to $(#overlay).height(window.pageYOffset + 'px'); The jQuery part of the code is correct, however I'm not following your logic here. What happens if you set the .height() to something like .height( 500px ) - does that work

Re: [jQuery] 3d Universe in jQuery

2006-08-25 Thread Krzysztof FF
In IE or not in IE, I think that essential calculations in rotator.js referencing to document.body should be performed on $(document).ready - this is what this function is for. After implementing this change and making necessary adjustments, there is no problem with IE more. With simpler

Re: [jQuery] Recommended version

2006-08-25 Thread Klaus Hartl
John Resig schrieb: 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

Re: [jQuery] 3d Universe in jQuery

2006-08-25 Thread Klaus Hartl
BTW. Pluton should be definitely removed. What's so bad about Pluto? ;-) /k ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] 3d Universe in jQuery

2006-08-25 Thread Stefan Nagtegaal
Op 25-aug-2006, om 11:26 heeft Klaus Hartl het volgende geschreven: BTW. Pluton should be definitely removed. What's so bad about Pluto? ;-) Yesterday scientists agreed about the fact that Pluto shouldn't be called 'Pluto' anymore, but 'Dwarf' from now on. The name is choosen because

[jQuery] jQuery and XHTML as XML

2006-08-25 Thread Klaus Hartl
Hi, I just spotted in Revision 226, that jQuery will not by all means support XHTML as XML. Line 743 reads: if ( table this.nodeName == TABLE a[0].nodeName != THEAD ) { nodeName in XML preserves case, that means in XHTML as XML it would return table and thead so that doesn't work here.

Re: [jQuery] 3d Universe in jQuery

2006-08-25 Thread Michael Geary
Yesterday scientists agreed about the fact that Pluto shouldn't be called 'Pluto' anymore, but 'Dwarf' from now on. The name is choosen because it's the smallest (discovered) planet in the universe, and a so called 'dwarf'-planet.. Not true! Yes, Pluto is now classified as a dwarf planet

Re: [jQuery] Recommended version

2006-08-25 Thread Klaus Hartl
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 maybe I'm

Re: [jQuery] jQuery and XHTML as XML

2006-08-25 Thread Larry Garfield
On Fri, August 25, 2006 7:18 am, Klaus Hartl said: Hi, I just spotted in Revision 226, that jQuery will not by all means support XHTML as XML. Line 743 reads: if ( table this.nodeName == TABLE a[0].nodeName != THEAD ) { nodeName in XML preserves case, that means in XHTML as XML it

[jQuery] Bug in 226: elem has no properties

2006-08-25 Thread Klaus Hartl
Hi, with revision 226 Firefox throws an error 'elem has no properties' if I use the following snippet: $('#someIdul').size() or $('#someIdul')[0] if element #someId does not contain a ul. Can someone second this? Regards, Klaus ___ jQuery mailing

Re: [jQuery] Recommended version

2006-08-25 Thread Klaus Hartl
One quick thing about your demo page - you have some PHP at the top of your jquery.js file which causes issues in Opera, etc. Ups, I copied that from another project... fixed. I'll see if I can get a demo up of my page, that works, without that particular change. Thanks for your efforts!

Re: [jQuery] Visual jQuery (An update)

2006-08-25 Thread Andy Matthews
Can't wait! !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Resig Sent: Friday,

Re: [jQuery] 3d Universe in jQuery

2006-08-25 Thread Patrick Hall
I think they should call it Plutito. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] CNET's expansive banner jquery implementation

2006-08-25 Thread ivan quintero
Does anyone remember those 790x90 pixel banners on CNET that would expand vertically to display a big version of the banner. This would occur the first time the user accessed the page. Then, after a few seconds, then banner would contract into a regular 790x90 pixel banner. The user would have the

Re: [jQuery] CNET's expansive banner jquery implementation

2006-08-25 Thread Andy Matthews
Aren't those usually done in Flash? !//--andy matthewsweb developercertified advanced coldfusion programmerICGLink, Inc.[EMAIL PROTECTED]615.370.1530 x737--//- -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf

[jQuery] SVN 228 jquery.pack.js does not work in Safari

2006-08-25 Thread Karl Swedberg
Hi all, Any idea why the compressed version (jquery.pack.js) of the latest SVN (228) doesn't work in Safari? Compare these two pages in Safari:http://sandbox.englishrules.com/index.htm - pointing to uncompressed, "lite" jquery .http://sandbox.englishrules.com/pack.htm - pointing to compressed

Re: [jQuery] $() Iframes

2006-08-25 Thread 刘远志
I found out how to do the iframe inside ouside inter-access. And I wrote some test code in the traditional js way(tested with IE, Firefox). I've tried to write these code using jquery, but not success yet. the main page code 1html 2head 3 titleMAIN/title 4

Re: [jQuery] Can the content of a node of xml be placed inside a div when xml source is loaded using .get

2006-08-25 Thread Jonathan Howard
Try: $(main,xml).html() instead of: $(main,xml).text() On 8/25/06, Sam Sherlock [EMAIL PROTECTED] wrote: the dynamic xml source creates a structure along the following linescontent titlemy title/title main pabout/p /main script /script/contentthe jquery code that I am using to take load the

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

2006-08-25 Thread Dave Cardwell
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){return c.toUpperCase()}); r = e.currentStyle[p] || e.currentStyle[np]; In your

[jQuery] Slide down bug

2006-08-25 Thread Jörn Zaefferer
Hi folks, please have a look at this bug report and John' reply: http://proj.jquery.com/dev/bugs/bug/133/ To fix the problem in my example with Firefox (http://fuzz.bassistance.de/slidebug/starterkit.html), what do I have to change? I don't quite get the explanation John provided... -- Jörn

Re: [jQuery] Can the content of a node of xml be placed inside a div when xml source is loaded using .get

2006-08-25 Thread Sam Sherlock
.text works if you put the HTML in cdata.though I have some odd display issues, or am I still going wrong??On 8/26/06, Sam Sherlock [EMAIL PROTECTED] wrote:I have tried that but no joy, when I dump the mark up to the console var newContent = ;...console.info(' main from xml source: ' +

Re: [jQuery] Can the content of a node of xml be placed inside a div when xml source is loaded using .get

2006-08-25 Thread John Resig
Sam - Try doing this: $(main,xml).children().appendTo(#main); or this: $(#main).append( $(main,xml).children() ); I think they may get you the effect that you desire. This is with the (soon to be) jQuery 1.0: http://jquery.com/src/jquery-svn.js --John On 8/25/06, Sam Sherlock [EMAIL

Re: [jQuery] Slide down bug

2006-08-25 Thread Patrick Hall
On 8/25/06, John Resig [EMAIL PROTECTED] wrote: Solution 1) Don't include a width on the outer box. Solution 2) Provide a static width for the inner dds. Something like: dd { width: 250px; } Out of curiosity I tried these out, they do indeed seem to fix the problem. Uploaded them just for

[jQuery] jQuery 1.0

2006-08-25 Thread John Resig
I'd like to take this opportunity to announce the brand new jQuery 1.0! A lot of work has gone into this release. A lot of bugs fixed, a ton of new features, and a complete overhaul of how the jQuery development process is run. In reality, this release is so large, it's going to take a couple