[jQuery] Loading external libraries from dynamically loaded content

2006-11-10 Thread Choan C. Gálvez
Hi all. I'm working on a project which will load content dynamically from files developed by an external team. These files can include scripting. * If the script is included in the loaded content, the `evalScripts` will suffice. * If the script is referenced from the loaded content (script

Re: [jQuery] Plug-in Update: quickSearch

2006-11-10 Thread Paul Bakaus
Hi Rik, great work so far! One issue with the example on the main page: You can only enter lower caps...entering A will result in nothing. 2006/11/10, Rick Faircloth [EMAIL PROTECTED]: Very nice, Rik! Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [jQuery] Plug-in Update: quickSearch

2006-11-10 Thread Rik Lomas
Thanks Paul, It was a minor bug making the input case sensitive, which has now been fixed! Cheers! On 10/11/06, Paul Bakaus [EMAIL PROTECTED] wrote: Hi Rik, great work so far! One issue with the example on the main page: You can only enter lower caps...entering A will result in nothing.

Re: [jQuery] Transparent PNG IE plugin for jQuery?

2006-11-10 Thread Jörn Zaefferer
Andy Matthews schrieb: Here's one of the final pages: http://www.modernessentials.com/landing.cfm/Looking+for+the+BDI+AVION...Welc ome! Thanks everyone for your help. Cool. Did you modify anything else apart from the split part? It looks great. -- Jörn Zaefferer http://bassistance.de

[jQuery] shrinking animation

2006-11-10 Thread Armand Datema
Hi I need to mimic the animation effect of http://www.jackslocum.com/blog/examples/dialog/hello.php I have doen this before in one of my old javascript libraries, but before i start a rewrite is therea jquery plugin allready that handles this Armand

[jQuery] Overlib in combination with drag-n-drop from interface

2006-11-10 Thread Barry Nauta
Has anyone used the overlib libraries in combination with interfaces' dnd libs? I have some rows in a table (overlib hover of the name gives a popup with more details) and these rows can be dragged to a trashbin. When this happens, the overlib library goes insane telling me that the event

Re: [jQuery] shrinking animation

2006-11-10 Thread Paul Bakaus
Hi! Actually there is, check out Interface: interface.eyecon.ro Demo is here: http://interface.eyecon.ro/demos/ifxtransferto2.html# Hope this helps! 2006/11/10, Armand Datema [EMAIL PROTECTED]: Hi I need to mimic the animation effect of

Re: [jQuery] Accordion plugin

2006-11-10 Thread Jörn Zaefferer
Klaus Hartl schrieb: Jörn Zaefferer schrieb: @Klaus: I think it would be pretty easy to modify the tab's plugin to use the same event. As you may notice, my usage for activate has some small differences. I prefer a zero-based index as most programmers are used to that anyway. I hope

Re: [jQuery] Help: Trying to write my first plugin and its not trivial

2006-11-10 Thread Jörn Zaefferer
Stephen Woodbridge schrieb: Hi all, I'm trying to write my first plugin and I'm having some conceptual problems on how to organize stuff and getting my head wrapped around this. The plugin will be for turning a div into an interactive mapping application. Just a quickie: Why don't you

Re: [jQuery] Plug-in Update: quickSearch

2006-11-10 Thread Jörn Zaefferer
Rik Lomas schrieb: Hi guys, Thought you be interested to know that my plug-in, quickSearch, has had a near-enough complete rewrite. It's now works in a completely different way to before, it's a lot more powerful, a lot easier to use and now it's totally unobtrusive.

Re: [jQuery] Plug-in Update: quickSearch

2006-11-10 Thread Rik Lomas
Hi Jörn I've added a shorter delay page, just for you: http://rikrikrik.com/jquery/quicksearch/table_quicker.html Thanks for noticing the repetition in my docs, this is why I need people to check for these things ;) Rik On 10/11/06, Jörn Zaefferer [EMAIL PROTECTED] wrote: Rik Lomas schrieb:

Re: [jQuery] Plug-in Update: quickSearch

2006-11-10 Thread Web Specialist
Rik,congratulations. Quicksearch plugin is a great piece of code. Only one question: your examples use client data, right? it's possible to load and search table data with ajax requests in our server? Cheers ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] Another media plugin, but that fails in Firefox 2

2006-11-10 Thread BoOz
play a écrit : Having a similar problem. Looks like ExternalInterface.call breaks jQuery in firefox2. You must be right, jQuery still works fine in Firefox 2 if I don't call aflax.js. That's quite a pity that it used to work with firefox 1 and that it no longer does with FF2. BoOz

[jQuery] ajax form docs

2006-11-10 Thread Enquest
This is the documentation! $.ajax({ url: mydomain.com/url, type: POST, data: $.param( $(#form).formdata()), complete: myAjaxDone, success: myAjaxSuccess, error: myAjaxError }); However I can't find an explenation for this line. data: $.param( $(#form).formdata()) What

Re: [jQuery] Plug-in Update: quickSearch

2006-11-10 Thread Rik Lomas
It's meant for client data mainly, but it is possible to search through Ajax requests like so: $.get('ajax_test.html',function(result){ $('#loader').html(result); $('#loader table tbody tr').quicksearch({ attached: #loader, position: before });

Re: [jQuery] Accordion plugin

2006-11-10 Thread Klaus Hartl
Jörn Zaefferer schrieb: Klaus Hartl schrieb: Jörn Zaefferer schrieb: @Klaus: I think it would be pretty easy to modify the tab's plugin to use the same event. As you may notice, my usage for activate has some small differences. I prefer a zero-based index as most programmers are used

Re: [jQuery] Problems loading select options in IE

2006-11-10 Thread Michael Prinsloo
I thought about the same thing last night in bed. Implemented it this morning and it works well.Thanks.On 09/11/06, Brandon Aaron [EMAIL PROTECTED] wrote:Oh ... I did not realize that $().load used $().html and totally ignores the recent fix for this issue with the append type methods.I'll have

Re: [jQuery] Accordion plugin

2006-11-10 Thread Jörn Zaefferer
Klaus Hartl schrieb: My activate function is based on changing the hash of the page's URL to support bookmarking and history. Does the accordion do the same already? Would be cool, because then if together used with my history plugin it would support history as well. You could auto-detect

Re: [jQuery] ajax form docs

2006-11-10 Thread Mike Alsup
What is param and what is formdata formdata() is an old function that used to exist in the form plugin long ago. $.param is a core method which converts an object or an array into a query string. How can I submit a form then via ajax? Use the form plugin:

Re: [jQuery] ajax form docs

2006-11-10 Thread Jörn Zaefferer
Mike Alsup schrieb: $.param is a core method which converts an object or an array into a query string. I wonder if there is any case where one would use $.ajax without calling $.param for any data first. If not, it would be nice to simply integrate that call into $.ajax. -- Jörn

Re: [jQuery] Media plugins

2006-11-10 Thread Luke Lutman
Hey Sam, Thanks for all the kind words :-) I've (been lucky?) never to need to communicate between flash and javascript, so I'm a bit out of the loop on how that whole process works. If it's simply needing access to the embed / element after it's inserted into the dom, it should be pretty

Re: [jQuery] Loading external libraries from dynamically loaded content

2006-11-10 Thread Dave Methvin
As the loading of both scripts is asynchronous, the second one could be started before the neccessary functions are available. Any idea or workaround? If you can attach a readyState handler to the first script, that can be your cue to run the function or load the second script that needs the

[jQuery] Tooltip reloaded

2006-11-10 Thread Jörn Zaefferer
Hi jQueryians, just wanted to let you know about the latest Tooltip update http://bassistance.de/index.php/jquery-plugins/jquery-plugin-tooltip/ Thanks to the ideas of this list and especially of Any Matthews, it's now even more fancier. As you can see in the demo page, the plugin now supports

Re: [jQuery] Overlib in combination with drag-n-drop from interface

2006-11-10 Thread Barry Nauta
Or perhaps there is a way to have (optional) sticky tooltips in jQuery? That is the reason why I use overlib On Friday 10 November 2006 11:07, Barry Nauta wrote: Has anyone used the overlib libraries in combination with interfaces' dnd libs? I have some rows in a table (overlib hover of

Re: [jQuery] does jQuery has support for parameter handling ?

2006-11-10 Thread Truppe Steven
Mark Gibson schrieb: In PHP have a look at: utf8_encode(), iconv, or mbstring - Mark I think i haven't clearly told my problem: I just have some article manager where for each article i have some description text (german english). At the moment i have one php file loading the text from

[jQuery] [Fwd: How to Add HTML to a page, and make it active?]

2006-11-10 Thread Scott Sharkey
Anyone? Original Message Subject: [jQuery] How to Add HTML to a page, and make it active? Date: Thu, 09 Nov 2006 16:24:54 -0500 From: Scott Sharkey [EMAIL PROTECTED] Reply-To: jQuery Discussion. discuss@jquery.com Organization: Linux Unlimited, LLC To: discuss@jquery.com Hi

Re: [jQuery] Transparent PNG IE plugin for jQuery?

2006-11-10 Thread andy
Quoting Jörn Zaefferer [EMAIL PROTECTED]: Andy Matthews schrieb: Here's one of the final pages: http://www.modernessentials.com/landing.cfm/Looking+for+the+BDI+AVION...Welc ome! Thanks everyone for your help. Cool. Did you modify anything else apart from the split part? It looks

Re: [jQuery] Overlib in combination with drag-n-drop from interface

2006-11-10 Thread Stephen Woodbridge
Barry Nauta wrote: Or perhaps there is a way to have (optional) sticky tooltips in jQuery? That is the reason why I use overlib On Friday 10 November 2006 11:07, Barry Nauta wrote: Has anyone used the overlib libraries in combination with interfaces' dnd libs? I have some rows in a

Re: [jQuery] Overlib in combination with drag-n-drop from interface

2006-11-10 Thread Barry Nauta
On Friday 10 November 2006 15:05, Stephen Woodbridge wrote: Barry Nauta wrote: Or perhaps there is a way to have (optional) sticky tooltips in jQuery? That is the reason why I use overlib On Friday 10 November 2006 11:07, Barry Nauta wrote: Has anyone used the overlib libraries in

Re: [jQuery] Tooltip reloaded

2006-11-10 Thread Rode, Holger \(daemons point\)
Hi Jörn, thanks for your Tooltip Plugin, I'm happily using it for an internal web application. Please fix the download link on your blog, it is not working right now, because you haven't closed the title attribute with a quote ;) I kind of joined the dark side of web development, as I'm just

Re: [jQuery] ajax form docs

2006-11-10 Thread Mike Alsup
I wonder if there is any case where one would use $.ajax without calling $.param for any data first. If not, it would be nice to simply integrate that call into $.ajax. That's a good point, Jörn. ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] ajax form docs

2006-11-10 Thread Jörn Zaefferer
Mike Alsup schrieb: I wonder if there is any case where one would use $.ajax without calling $.param for any data first. If not, it would be nice to simply integrate that call into $.ajax. That's a good point, Jörn. Of couse it would be an ugly API change. If that stuff is

Re: [jQuery] does jQuery has support for parameter handling ?

2006-11-10 Thread Mark Gibson
Truppe Steven wrote: Mark Gibson schrieb: In PHP have a look at: utf8_encode(), iconv, or mbstring I think i haven't clearly told my problem: I just have some article manager where for each article i have some description text (german english). At the moment i have one php file loading

Re: [jQuery] ajax form docs

2006-11-10 Thread Mike Alsup
Of couse it would be an ugly API change. If that stuff is integrated into $.ajax, we could savely deprecate $.get and $.post. Perhaps interrogating the type would work? if (typeof data != 'string') data = jQuery.param(data) ___ jQuery mailing

Re: [jQuery] The jQuery Design/Coding Process

2006-11-10 Thread Truppe Steven
Hi, i think most people are using firefox with the firebug extension to test their code. There you can explore your html/css and debug your javascript code. There is also another debugger around at http://www.mozilla.org/projects/venkman/. There is also a tool in creation called helpermonkey.

[jQuery] simple effects wont work in my ie

2006-11-10 Thread thdz.x
hi all, i ran into some problems/inconsistencies with IE6. I have a simple structure: div class=container div class=firstfirst/div div class=secondsecond/div /div .second { display: none; } javascript: $(document).ready(function () {

Re: [jQuery] simple effects wont work in my ie

2006-11-10 Thread Christopher Jordan
I've a co-worker who has experienced something similar. But in his case *none* of the effects work, but they work for me. We're both using the latest version of IE6, and _javascript_ is indeed enabled on both of our machines. We spent an hour or so a few weeks ago, trying to debug something on

Re: [jQuery] simple effects wont work in my ie

2006-11-10 Thread Brandon Aaron
On 11/9/06, thdz.x [EMAIL PROTECTED] wrote: hi all, i ran into some problems/inconsistencies with IE6. I setup a test case based on your code and it seems to work for me on all the IE6 machines I've tested thus far. What revision are you using? There was a problem with this around 1.0.2.

Re: [jQuery] Help: Trying to write my first plugin and its not trivial

2006-11-10 Thread Stephen Woodbridge
Jörn Zaefferer wrote: Stephen Woodbridge schrieb: Hi all, I'm trying to write my first plugin and I'm having some conceptual problems on how to organize stuff and getting my head wrapped around this. The plugin will be for turning a div into an interactive mapping application. Just a

Re: [jQuery] simple effects wont work in my ie

2006-11-10 Thread Kaste
Your version works fine. hm, so what is the problem with my code? Im using the latest jQuery, since I downloaded it yesterday. ... I figured out that loading the interface-fx will break my IE. script type=text/javascript src=interface/ifx.js/script and Im gone. (just inserted this line in your

Re: [jQuery] simple effects wont work in my ie

2006-11-10 Thread Brandon Aaron
On 11/10/06, Kaste [EMAIL PROTECTED] wrote: Your version works fine. hm, so what is the problem with my code? Im using the latest jQuery, since I downloaded it yesterday. ... I figured out that loading the interface-fx will break my IE. script type=text/javascript src=interface/ifx.js/script

Re: [jQuery] Plugin Release: Tooltip

2006-11-10 Thread Michael Geary
From: Michael Geary (function($) { // plugin code here })(jQuery); From: Sam Collett I've seen that used before, but can it have memory leak or other issues? Sorry about the very slow reply, Sam. That's a good point. The use of the closure could result in memory leaks

Re: [jQuery] simple effects wont work in my ie

2006-11-10 Thread Kaste
no javascript error. can you confirm that ifx breaks (maybe under some circumstandes) the jQuery.fx in IE or some IEs? when I do the following, everything works fine: in ifx.js (line 141) if ( z.o.hide ) { for ( var p in

Re: [jQuery] simple effects wont work in my ie

2006-11-10 Thread Brandon Aaron
Oh so it looks like ifx just needs to merge the IE opacity fixes from a while back since it overwrites the methods. -- Brandon Aaron On 11/10/06, Kaste [EMAIL PROTECTED] wrote: no javascript error. can you confirm that ifx breaks (maybe under some circumstandes) the jQuery.fx in IE or some

Re: [jQuery] Media plugins

2006-11-10 Thread Sam Sherlock
Hi Luke,here is the state of play:jsfc - http://www.abdulqabiz.com/files/JSFC/example.html (src available to)also theres this - http://weblogs.macromedia.com/flashjavascript/readme.html (mike chambers again!!)Its not when its fully loaded! but its also not when document.ready either. Its a

Re: [jQuery] [Fwd: How to Add HTML to a page, and make it active?]

2006-11-10 Thread Sam Sherlock
i think that adding html from xml has patchy results.i tried and it did not work in ie at all well!i got introduced to a new friend called json.to make the html active, if i understand you, all you need do is add click, hover etc to whatever. if these are already applied to objects then (i have

Re: [jQuery] [Fwd: How to Add HTML to a page, and make it active?]

2006-11-10 Thread Theo Welch
Hi Scott, I may not understand the details of your situation, but it seems you are quite close to the first part of a solution (I am no expert either). Could you just give each of your select fields a common class name as well as the unique id: select id=type_1 class=dynamicSelects

Re: [jQuery] ajax form docs

2006-11-10 Thread Jörn Zaefferer
Mike Alsup schrieb: Of couse it would be an ugly API change. If that stuff is integrated into $.ajax, we could savely deprecate $.get and $.post. Perhaps interrogating the type would work? if (typeof data != 'string') data = jQuery.param(data) Yeah, that should be pretty safe.

Re: [jQuery] Help: Trying to write my first plugin and its not trivial

2006-11-10 Thread Jörn Zaefferer
Stephen Woodbridge schrieb: Yeah, helps a bunch. I'm just trying to get my head around the problem to do this in a jQuery-ish way. Once I have worked through a few of these conceptual problems, I'll start coding otherwise it will be a total hack job instead of only a partial hack job ;)

Re: [jQuery] Plugin Release: Tooltip

2006-11-10 Thread Jörn Zaefferer
Michael Geary schrieb: I've seen that used before, but can it have memory leak or other issues? Sorry about the very slow reply, Sam. That's a good point. The use of the closure could result in memory leaks depending on what the rest of the code does. They should be fixable -

Re: [jQuery] return this.each

2006-11-10 Thread Jörn Zaefferer
Michael Geary schrieb: Thanks again, I'm glad to know that little writeup may help straighten out some of the confusion around this and jQuery vs. DOM objects. I recently experienced that the heavy use of apply() effectively prevents most object oriented design, that is, the use of

Re: [jQuery] Tooltip reloaded

2006-11-10 Thread Matthew Delmarter
This looks great Jorn. Probably the main issue for me is that a tool-tip for an element on the right-hand-side of the screen does not adjust it's position away from the edge. Any plans to implement something like this? Even if it just defaults to showing on the left of the mouse position rather

[jQuery] Code Documentation

2006-11-10 Thread Klinger, John (N-CSC)
Title: Code Documentation It appears that the code documentation tags (@example, @desc, etc) are single-line entries only. Is this correct? Is there any accepted way to do multi-line examples? jk ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] ajax form docs

2006-11-10 Thread Mike Alsup
While we are at it: A get request can send it's data only by appending the query string to the URL, right? Can this be handled by $.ajax, too? Sure, it could. I think it makes sense to move all that logic into $.ajax but I would keep $.get and $.post because they are nice convenience methods.

Re: [jQuery] Loading external libraries from dynamically loaded content

2006-11-10 Thread Choan C. Gálvez
On 11/10/06, Dave Methvin [EMAIL PROTECTED] wrote: As the loading of both scripts is asynchronous, the second one could be started before the neccessary functions are available. Any idea or workaround? If you can attach a readyState handler to the first script, that can be your cue to

Re: [jQuery] Media plugins

2006-11-10 Thread Luke Lutman
Interesting... :-) It would be pretty easy to use those libraries alongside my plugin, but replicating what they do is probably beyond the scope of my plugin (a separate one, maybe?). Try this (with JSFC): var fc; $('#element').flash(...).find('embed').each(function(){ fc = new

Re: [jQuery] Loading external libraries from dynamically loadedcontent

2006-11-10 Thread Dave Methvin
As the loading of both scripts is asynchronous, the second one could be started before the neccessary functions are available. Any idea or workaround? If you can attach a readyState handler to the first script, that can be your cue to run the function or load the second script that needs

Re: [jQuery] Loading external libraries from dynamically loadedcontent

2006-11-10 Thread Choan C. Gálvez
On 11/10/06, Dave Methvin [EMAIL PROTECTED] wrote: As the loading of both scripts is asynchronous, the second one could be started before the neccessary functions are available. Any idea or workaround? If you can attach a readyState handler to the first script, that can be your cue

Re: [jQuery] The jQuery Design/Coding Process

2006-11-10 Thread Karl Swedberg
On Nov 9, 2006, at 11:45 PM, Chinmay Kulkarni wrote:On a related note, any editors that support autocomplete/suggest and code-folding for jQuery? If you own a Mac, you can try TextMate and download the jQuery bundle. Instructions

Re: [jQuery] Code Documentation

2006-11-10 Thread Jörn Zaefferer
Klinger, John (N-CSC) schrieb: It appears that the code documentation tags (@example, @desc, etc) are single-line entries only. Is this correct? Is there any accepted way to do multi-line examples? After a quick look at visualjquery: It looks like newlines are parsed, but not properly

Re: [jQuery] Tooltip reloaded

2006-11-10 Thread Jörn Zaefferer
Matthew Delmarter schrieb: This looks great Jorn. Probably the main issue for me is that a tool-tip for an element on the right-hand-side of the screen does not adjust it's position away from the edge. Any plans to implement something like this? Even if it just defaults to showing on the left

Re: [jQuery] ajax form docs

2006-11-10 Thread Jörn Zaefferer
Mike Alsup schrieb: While we are at it: A get request can send it's data only by appending the query string to the URL, right? Can this be handled by $.ajax, too? Sure, it could. I think it makes sense to move all that logic into $.ajax but I would keep $.get and $.post because they

Re: [jQuery] ajax form docs

2006-11-10 Thread Mike Alsup
So don't see the need for $.get and $.post anymore. It's not a need, it's a convenience. Just like getJSON and getScript. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] ajax form docs

2006-11-10 Thread Jörn Zaefferer
Mike Alsup schrieb: So don't see the need for $.get and $.post anymore. It's not a need, it's a convenience. Just like getJSON and getScript. Ok, $.get and $.post both provide an interface with static parameters, that makes them more convienent then $.ajax. Good to talk about it

Re: [jQuery] Tabs plugin 2.0

2006-11-10 Thread Jason Yeckel
Klaus, How much work is it to change the css to be a vertical layout on the left or right side? It would be intresting if you could pass in a value to place the tab position around the content. thx for the great work so far the plug in is a must have no doubt! Jason Y www.purepressure.com

Re: [jQuery] The jQuery Design/Coding Process

2006-11-10 Thread Jason Yeckel
pretty sure Aptana is cross-platform java :) Jason Y www.purepressure.com Karl Swedberg wrote: On Nov 9, 2006, at 11:45 PM, Chinmay Kulkarni wrote: On a related note, any editors that support autocomplete/suggest and code-folding for jQuery? If you own a Mac, you can try TextMate and

Re: [jQuery] Loading external libraries from dynamicallyloadedcontent

2006-11-10 Thread Dave Methvin
You can create a script element using document.createElement, set a handler for readyState, and then set a src to get it to load. It should work for any external script. jQuery uses it in the .ready() event setup if you need an example. Uh, really interesting. Do you know if this will

Re: [jQuery] Another media plugin, but that fails in Firefox 2

2006-11-10 Thread play
I setup a basic test page here: http://dev.noiseusse.org/testflash I've narrowed it down to passing an argument to flash from javascript. In firefox2, try the first three examples. They work fine. Then try the 4th example. Nothing happens and there is no error message and now the other

[jQuery] new jQuery API draft

2006-11-10 Thread Jörn Zaefferer
Hi jQueryians, I'd like to present you a first draft for a new stylesheet for the jQuery API: http://joern.jquery.com/api-draft/cat.xml There is still lot's of work to do, but the main concern, a new concept for the navigation, is already functional. Both Alphabetical and Category lists will

Re: [jQuery] new jQuery API draft

2006-11-10 Thread Gavin M. Roy
Very nice. Very, very nice. On Nov 10, 2006, at 1:20 PM, Jörn Zaefferer wrote: Hi jQueryians, I'd like to present you a first draft for a new stylesheet for the jQuery API: http://joern.jquery.com/api-draft/cat.xml There is still lot's of work to do, but the main concern, a new concept

Re: [jQuery] new jQuery API draft

2006-11-10 Thread Stephen Woodbridge
Jörn, Very nice! and oh so close to what I want. Can you add a print link that will render the right panel only for printing? It would be nice it it could be printed in either aphabetical or catagory order. Please, please, please! Pretty please! -Steve Jörn Zaefferer wrote: Hi jQueryians,

Re: [jQuery] new jQuery API draft

2006-11-10 Thread Christopher Jordan
Jörn, That looks fantastic! I really like it! Good job! :o) Chris Jörn Zaefferer wrote: Hi jQueryians, I'd like to present you a first draft for a new stylesheet for the jQuery API: http://joern.jquery.com/api-draft/cat.xml There is still lot's of work to do, but the main concern, a

[jQuery] onclick tooltip with z-index div

2006-11-10 Thread Kevin Old
Hello everyone, I'm trying to reproduce the Yahoo Search when you click on President Bush in this story on Yahoo: http://news.yahoo.com/s/ap/20061110/ap_on_go_ca_st_pe/gates_in_his_words_1 with jquery. I've looked at using a few of the Tooltip plugins, but they don't do what I want. How do I

Re: [jQuery] new jQuery API draft

2006-11-10 Thread Luke Lutman
I'm loving the full index :-) A couple of suggestions come to mind ... having all of the parameter types and names in the left-hand column makes the list much harder to scan. Maybe it's just a styling issue -- like making the parameter types and names less prominent (smaller, faded out) --

Re: [jQuery] new jQuery API draft

2006-11-10 Thread Jörn Zaefferer
Luke Lutman schrieb: I'm loving the full index :-) A couple of suggestions come to mind ... having all of the parameter types and names in the left-hand column makes the list much harder to scan. Maybe it's just a styling issue -- like making the parameter types and names less prominent

Re: [jQuery] new jQuery API draft

2006-11-10 Thread Glen Lipka
You might want to put a border or hr or spacing between each function.They run together right now.If I wanted to print one part of the API, is this possible with the current design?Maybe just have the single API appear on the right instead of scrolling down and another link to show all? Just a

Re: [jQuery] new jQuery API draft

2006-11-10 Thread Laurent Yaish
Man you scared me... You meant new jQuery API DOCS, not new jQuery API right?LaurentOn 11/10/06, Gavin M. Roy [EMAIL PROTECTED] wrote:Very nice.Very, very nice.On Nov 10, 2006, at 1:20 PM, Jörn Zaefferer wrote: Hi jQueryians, I'd like to present you a first draft for a new stylesheet for the

[jQuery] Element tagName

2006-11-10 Thread Laurent Yaish
Hi All,I couldn't find a way using jQuery to get the tagName of an element.Let's say I have this:divspantest/span/div$('span').parent().tag() would return 'div' is that currently possible?I found the is() function, maybe that could be changed to return the tagname if no argument is

Re: [jQuery] Element tagName

2006-11-10 Thread Brandon Aaron
You could do two things ... write yourself a plugin that would look something like this: jQuery.fn.tag = function() { return this[0] ? this[0].tagName : null; }; or you could just do it like this: $('span').parent().get(0).tagName -- Brandon Aaron On 11/10/06, Laurent Yaish [EMAIL

[jQuery] Loop through all elements of a form

2006-11-10 Thread Truppe Steven
Hello, i need a function that goes through all elements of my form and removes the content of my textfields/inputs. Is there a way of doing this with a jQuery oneliner ? best regards, Truppe Steven ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] Loop through all elements of a form

2006-11-10 Thread Aaron Heimlich
On 11/10/06, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: of course the standard js method isdocument.forms[0].reset()I've found that reset() returns the form values to what they were when they page initially loaded. So, if some of the form elements had been prefilled reset() would return the values of those

Re: [jQuery] Element tagName

2006-11-10 Thread Michael Geary
From: Laurent Yaish I couldn't find a way using jQuery to get the tagName of an element. Let's say I have this: divspantest/span/div $('span').parent().tag() would return 'div' From: Brandon Aaron You could do two things ... write yourself a plugin that would look something

Re: [jQuery] Loop through all elements of a form

2006-11-10 Thread Ⓙⓐⓚⓔ
absolutely! that's the diff.. I don't think jq can get back the original default values. On 11/10/06, Aaron Heimlich [EMAIL PROTECTED] wrote: On 11/10/06, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: of course the standard js method is document.forms[0].reset() I've found that reset() returns the

[jQuery] cssHover object manipulation

2006-11-10 Thread [EMAIL PROTECTED]
Gilles (or anybody else with advanced knowledge of the cssHover plugin): How do you select all checkboxes in a form controlled by cssHover with a select all click event? Thanks. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Loop through all elements of a form

2006-11-10 Thread Aaron Heimlich
On 11/10/06, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: I don't think jq can get back theoriginal default values.True, but I believe he wanted a way to *empty* the elements, not return them to their defaults. ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] Element tagName

2006-11-10 Thread Laurent Yaish
so you guys don't think that this should be part of jQuery?what if the function is() with no argument returned the tag name?Laurent On 11/10/06, Michael Geary [EMAIL PROTECTED] wrote: From: Laurent Yaish I couldn't find a way using jQuery to get the tagName of an element. Let's say I have

Re: [jQuery] Element tagName

2006-11-10 Thread Ⓙⓐⓚⓔ
is returns a boolean , tag returns a string, so combining would be less than elegant, but certainly tag is a useful plugin, that probably deserves inclusion. Unless it's considered too trivial! On 11/10/06, Laurent Yaish [EMAIL PROTECTED] wrote: so you guys don't think that this should be part

Re: [jQuery] Element tagName

2006-11-10 Thread Aaron Heimlich
On 11/10/06, Laurent Yaish [EMAIL PROTECTED] wrote: what if the function is() with no argument returned the tag name?This makes no sense to me. Something like $(#foo).tag() or $(#foo).tagName() would make a lot more sense when you wanna know the tag name of the element you just selected. Which

Re: [jQuery] Media plugins

2006-11-10 Thread Sam Sherlock
On 10/11/06, Sam Sherlock [EMAIL PROTECTED] wrote: yep I have jsfc working alongside jquery (mostly straight forward)see - http://www.sharkevaderproductions.com/v5/ jquery (and a shed load of plugins) jsfc and ufo all playing nicelyif you're code works I will be able to replace the ufo (its

Re: [jQuery] Media plugins

2006-11-10 Thread Sam Sherlock
astonishing stuff!!! That works a treat!I am also using the sifr jquery plugin (really feature filled site this) and have tried to alter the code to use your flash plugin instead. I guess its one stage at a time!! However I am unable to set the version it aways throws an error whatever I do!?!I

Re: [jQuery] Element tagName

2006-11-10 Thread Ⓙⓐⓚⓔ
w3c says ecmascript tagName is read only... so changing it would really require rebuilding a node (messy, at least 40 characters of code!) or just cssing it to have whatever properties the new tag would have had (simple). I think the simple method is the best jquery solution. On 11/10/06, Aaron

Re: [jQuery] Element tagName

2006-11-10 Thread Aaron Heimlich
On 11/10/06, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: w3c says ecmascript tagName is read only... so changing it wouldreally require rebuilding a node (messy, at least 40 characters ofcode!) or just cssing it to have whatever properties the new tag wouldhave had (simple). I think the simple method is the

Re: [jQuery] Media plugins

2006-11-10 Thread Luke Lutman
Can you post the code (or a link to it)? What error does it throw? ... Also, my text-replacement example (http://jquery.lukelutman.com/plugins/flash/example-text-replacement.html) isn't fully cooked yet -- it's functional, but I'm planning to develop it as a proper plugin (soon, hopefully!).

Re: [jQuery] Media plugins

2006-11-10 Thread Sam Sherlock
solved it myself, just whilst collecting the code to post.Late night early morning splurge of coding to excited to sleep after see this wonderful code yep thats solved but I would like to be able to hide replace code in the nested divlooking at the sifr example I see that after the version object

[jQuery] Since updating to 1.0.3 converting to getJSON

2006-11-10 Thread Sam Sherlock
I am having an error only in IE with the following 'expected identifier string or number' thats what inferior explorer (v6 on wk2) saysI have googled the error and a number of pages suggest removing the last coma http://cow.neondragon.net/index.php/1404-Internet-Explorer-_javascript_-Errors 4089