Re: [jQuery] jQuery 1.0

2006-08-26 Thread Patrick Hall
I hereby propose that Pluto be renamed Resigon! All in favor say Aye! ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jQuery 1.0

2006-08-26 Thread Dave Cardwell
John Resig wrote: 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. Congratulations, John. I look forward to

Re: [jQuery] jQuery 1.0

2006-08-26 Thread Christof Donat
Hi, 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. This is great. Before I have found JQuery I have read the

Re: [jQuery] hasClass()?

2006-08-26 Thread Roman
Thanks! Will this work if an object has several classes? E.g. div class=widget red small Konstantin Käfer wrote: Just use $('#something').is('.large'); Note that you can specify arbitrary css selectors in the is() function, among them the dotClass selector. You can even write

Re: [jQuery] how to load images with jquery ajax?

2006-08-26 Thread Fil
@ SDisk SDisk [EMAIL PROTECTED] : You can not load images with AJAX simply create a new image object and append, then the image can load asyncronously. Try this simple jQuery plugin: $.fn.image = function(src, f){ return this.each(function(){ var i = new Image(); i.src =

Re: [jQuery] visual docs for parents ()

2006-08-26 Thread Yehuda Katz
The visual docs are automatically generated from the inline documentation.John, can you fix this?-- YehudaOn 8/26/06, Roman [EMAIL PROTECTED] wrote:seem to be incorrect:Get a set of elements containing the unique ancestors of the matched set of

Re: [jQuery] hasClass()?

2006-08-26 Thread John Resig
div class=widget red small jQuery can deal with it, but IE may not so be sure to test. http://www.thunderguy.com/semicolon/2005/05/16/multiple-class-selectors-in-i nternet-explorer/ No, it works as expected - jQuery doesn't use any browsers built-in CSS handling - making sure that it

[jQuery] interface plugin droppable

2006-08-26 Thread patrickk
I´m using the interface plugin to drag and drop table rows. the function below gives me an object HTMLTableRowElement for zone, but nothing for drag: ondrop: function (zone, drag) { alert(zone) alert(drag) }, any hints? thanks, patrick

Re: [jQuery] visual docs for parents ()

2006-08-26 Thread Jörn Zaefferer
Yehuda Katz wrote: The visual docs are automatically generated from the inline documentation. John, can you fix this? Maybe we should report errors in the docs as bugs, too. After all, they are :-) One could mark a bug report concerning the docs with '[docs] Description...'. -- Jörn

Re: [jQuery] how to load images with jquery ajax?

2006-08-26 Thread Fil
I made it work both in Safari and FF by changing the insertion sequence: $.fn.image = function(src, f){ return this.each(function(){ $(img /).appendTo(this).each(function(){ this.src = src; this.onload = f; }); }); } $(document).ready(function() {

[jQuery] Oneliner to prevent click-to-activate (EOLA) in IE

2006-08-26 Thread Klaus Hartl
Say you have a flash movie embedded in a container with the id introduction. To prevent activate to click in IE, do this: $('#introduction').html( $('#introduction').html() ); I love jQuery. It lets me embed my flash standards compliant and saves me some kilobytes for the swfobject js... To

[jQuery] Dynamic Forms?

2006-08-26 Thread digital spaghetti
Hi there,I'm new to jQuery. I've tried out a few AJAX things in the past, but I am very happy to settle on jQuery as it seems to have everything a developer could need :)I'm having a bit of trouble though, and I appologise if I sound thick, but I would like to use jQuery to create dynamic forms

[jQuery] slideUp/slideDown with dynamic content

2006-08-26 Thread Gabor Babicz
Hi, Does anyone know what is the solution for the following process? 1. Element x slides up. 2. The original content of element x is being replaced. 3. Element x slides down, but not to the newly replaced content's height, it keeps sliding to the height given from the original content.

[jQuery] fadeOut/fadeIn

2006-08-26 Thread Juris Muris
Hello!I`m wondering why i cann`t write something like this:$('#info').fadeOut(slow).fadeIn(slow);and how to get around it.K. __ Advertisement: "Intervija ar dj Monstru" http://www.tvnet.lv/izklaide/ ___ jQuery mailing list discuss@jquery.com

[jQuery] RE: Safari doesn't like show()

2006-08-26 Thread Nilesh Patel
I found that if you use CSS class to hide something in safari then you need to use raw STYLE= display: none to get it work correctly in safari useing a classs=myHideClass is not working, so thats my solution, that worked for me. you may want to try it. it sucks but its the only solution i

[jQuery] Serializable Form Upload Element

2006-08-26 Thread Matti Putkonen
Have you seen: P.O.R.K ( http://beta.zapguide.nl/iframe/ ) ? Tried to do something like this on a seperate script. got it working on one specific form, but getting an element to reload after the file was submitted to iframe was too much for me :( -- Matti Putkonen [EMAIL PROTECTED]

[jQuery] Root of my problems

2006-08-26 Thread digital spaghetti
Hey again folks, Right, I have discovered what seems to be the root cause of why my stuff wasn't working. I did some testing locally with jQuery which worked fine, but when I tried to inegrate it with some stuff in Joomla (the CMS I am using) it doesn't work correctly. Here is how I am

[jQuery] needed: edit html plugin

2006-08-26 Thread Michael Holloway
Do you mean you need a wysiwyg? * Posted:* Thu Aug 24 21:46:40 EDT 2006 *From:* Francisco Brito francisco.brito at gmail.com mailto:discuss%40jquery.com?Subject=%5BjQuery%5D%20needed%3A%20edit%20html%20pluginIn-Reply-To=22910c670608241142l2374443ajeb2bf8667e2c0ee2%40mail.gmail.com Hmm... not

Re: [jQuery] Dynamic Forms?

2006-08-26 Thread digital spaghetti
Right, I've managed to get this half working now. I put my code into a function, and put an onclick param on each option tag, so when it's selected it runs my code: example: script function contactTypeVenue() {

[jQuery] animate() support for custom tween/easing 'formulas'

2006-08-26 Thread Jon Burger
Hi guys, I have written a fair few little tween functions/classes, all of which I have made generic - ie you pass in a property to tween and it's parent obj (doesn't have to be a dom node) and you also pass in the 'tween function' - these were all 'ported' from the robert penner originals that

[jQuery] Slidebar with jquery

2006-08-26 Thread testebr
Hi, Anyone know where I can find an SlideBar with Jquery like this website http://www.strategyinformer.com/pc/hiddenstrokeii/interview.html http://www.strategyinformer.com/pc/hiddenstrokeii/interview.html (prototype based) ? see the YOUR SCORE BLOCK Thanks. -- View this message in context:

[jQuery] Find only the first element

2006-08-26 Thread Julius Lucks
Hello,I would like to use .find, but only for the first element. If I havepa link 1 /aa link 2 /a/pand I do $(p).find(a).hide(); this hides both links. I would only like to hide the first. Can I do this with find, or can I use $(p).children()?Cheers,Julius Lucks--

[jQuery] can't subscribe to mailing list

2006-08-26 Thread Dave Cohen
My apologies if this makes it the list, it's directed at the list moderator. I've submitted the subscription form on jquery.com. This leads to a page indicating that I have subscribed, but I must check my email for confirmation. I'm not receiving the confirmation, either to my inbox or my

[jQuery] Autocomplete Plugin help

2006-08-26 Thread digital spaghetti
Hi there, Would anyone be able to help me out? I'm trying to code a livesearch widget for Wordpress using G. van den Hoven's Autocomplete plugin. I've tried to look through the source to try find what I need, but can't. I have my widget that I initialises the plugin, and an input for where I

Re: [jQuery] visual docs for parents ()

2006-08-26 Thread John Resig
Maybe we should report errors in the docs as bugs, too. After all, they are :-) One could mark a bug report concerning the docs with '[docs] Description...'. That's a good idea - although I already fixed this and committed it :-) --John ___ jQuery

Re: [jQuery] fadeOut/fadeIn

2006-08-26 Thread John Resig
Hello - I`m wondering why i cann`t write something like this: $('#info').fadeOut(slow).fadeIn(slow); and how to get around it. That code should work, as is, in the new jQuery 1.0: http://jquery.com/src/jquery-1.0.js --John ___ jQuery mailing list

Re: [jQuery] Safari doesn't like show()

2006-08-26 Thread John Resig
I've resolved this issue in jQuery 1.0: http://jquery.com/src/jquery-1.0.js It was an issue with how Safari handles computedStyle() when an element has its display set to 'none'. I found that if you use CSS class to hide something in safari then you need to use raw STYLE= display: none to get

Re: [jQuery] Dynamic Forms?

2006-08-26 Thread Matt Stith
jQuery provides something like $('#id:visible'), which will select just visible elements. For your need, i think you could do something like this:$([EMAIL PROTECTED]'cf_']).hide();$(#id_you_need_to_show').show(); Either that, or hide both of the other divs when you need to show one.On 8/18/06,

Re: [jQuery] jQuery 1.0

2006-08-26 Thread John Resig
Hi Fil - I've created tickets for both your bugs: http://proj.jquery.com/dev/bugs/bug/141/ http://proj.jquery.com/dev/bugs/bug/142/ Thanks for your help in spotting them. --John On 8/26/06, Fil [EMAIL PROTECTED] wrote: Here's something else. It used to work with latest

[jQuery] interface plugin droppable

2006-08-26 Thread Stefan Petre
Drag and Drop from interface is not designed to work with table elements. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] animate() support for custom tween/easing 'formulas'

2006-08-26 Thread Stefan Petre
In the new version of Interface I overwrite the 'fx' function from jQuery and replace it with a modified one that has this feature (easein, easeout, easeinout, elasticin, elasticout, etc.) . http://interface.eyecon.ro/demos/ifxfold.html if you click fold toggle you can see it in action. The

Re: [jQuery] interface plugin droppable

2006-08-26 Thread patrickk
I see. thanks for your answer. patrick Am 26.08.2006 um 19:43 schrieb Stefan Petre: Drag and Drop from interface is not designed to work with table elements. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] interface plugin droppable

2006-08-26 Thread Stefan Petre
still, it may work. just that I changed something regarding droppables. Onchange applies to the droppable and gets only one parameter, the dragged element. So you should do like this onchanged : function(dragged){ alert(this); //the droppable alert(dragged); //the draggable } I updaed

Re: [jQuery] jQuery copy constructor

2006-08-26 Thread Jörn Zaefferer
Ferdinand Beyer wrote: Hi! In a recent project I often needed to copy a jQuery object to save a subquery without losing the original query. As far as I can see there is no official way to do this so I came up with a small extension function: Hi Ferdinand, though it looks like there is

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

2006-08-26 Thread Sam Sherlock
when I use $("#main").append( $("main",xml).children() ); I get the following: [Exception... "Could not convert _javascript_ argument arg 0 [nsIDOMHTMLDivElement.appendChild]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame ::

Re: [jQuery] how to load images with jquery ajax?

2006-08-26 Thread Fil
@ John Resig [EMAIL PROTECTED] : With jQuery 1.0, you should be able to write your plugin like this: $.fn.image = function(src, f){ return this.each(function(){ $(img).appendTo(this).src( src ).load( f ); }); }; Helps to make things a little bit simpler. Yes it works too, and is

Re: [jQuery] Slidebar with jquery

2006-08-26 Thread Larry Garfield
Hm. Looks like almost none of the animaltion-based stuff on that site is working in Konqueror right now. On Saturday 26 August 2006 12:35, Matt Stith wrote: Try out interface's Slider. http://interface.eyecon.ro/demos On 8/24/06, testebr [EMAIL PROTECTED] wrote: Hi, Anyone know where

Re: [jQuery] how to load images with jquery ajax?

2006-08-26 Thread Dave Methvin
$(img).appendTo(this).src( src ).load( f ); if you replace the main line by: $(img).src( src ).load( f ).appendTo(this); then the image will display before the alert() fires. The problem with appendTo being last is that IE will leak memory if you set certain attributes (such as an

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

2006-08-26 Thread Dave Methvin
$(#main).append( $(main,xml).children() ); [Exception... Could not convert JavaScript argument arg 0 [nsIDOMHTMLDivElement.appendChild] nsresult: 0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS) I've seen that error in Firefox if you try to append a null or undefined using appendChild.

Re: [jQuery] Root of my problems

2006-08-26 Thread Jörn Zaefferer
digital spaghetti wrote: I did some testing locally with jQuery which worked fine, but when I tried to inegrate it with some stuff in Joomla (the CMS I am using) it doesn't work correctly. When it runs locally but not serverside, you should check if all script files are really included. Put

[jQuery] Getting href attribute from parent element

2006-08-26 Thread David
I want to get the value from the href attribute from a parent element. My code is : $(this).parent().attr(href); , but this doesn't work. I don't understand it because for the same parent $(this).parent().html(); gives me the expected output. Any thoughts on this ? Thank you. David

Re: [jQuery] jQuery Getting Started guide

2006-08-26 Thread Jörn Zaefferer
Fil wrote: Hello, great text for beginners!! do you mind if I start a French translation of this page for http://jquery.info ? and, do you plan to update it again soon? Translations are welcome. My plan is to update the text as soon as the 1.0 release is complete, including webpage.

Re: [jQuery] jQuery Getting Started guide

2006-08-26 Thread Patrick Hall
Fil wrote: Hello, great text for beginners!! do you mind if I start a French translation of this page for http://jquery.info ? and, do you plan to update it again soon? Speaking of translations, Fil, I was thinking of translating some of your French stuff into English, what do

[jQuery] New Plugin: jQWidon't - Suppress typographic widows

2006-08-26 Thread Dave Cardwell
To quote Shaun Inman[1]: For those who don’t know, in typesetting, a widow is a single word on a line by itself at the end of a paragraph and is considered bad style. With a great deal of content being generated or at least fetched by JavaScript nowadays, I thought a jQuery plugin could come in

Re: [jQuery] Getting href attribute from parent element

2006-08-26 Thread John Resig
David - Can you provide an example where this occurs? It'll help me to debug the issue. --John On 8/26/06, David [EMAIL PROTECTED] wrote: I want to get the value from the href attribute from a parent element. My code is : $(this).parent().attr(href); , but this doesn't work. I don't