Re: [jQuery] Next generation WYSIWYG editor... maybe? am I missing something?

2006-11-16 Thread SDisk SDisk
I have used TinyMCE, and others WYSIWYG editors, by now, the only one that generates XHTML valid is FCKEditor, I use TinyMCE before but produces not XHTML valid code and horrible attributes like tinyMCEwith=100... in image tags, etc... FCKEditor is perfect form me and I can see that the HTML code

Re: [jQuery] Next generation WYSIWYG editor... maybe? am I missing something?

2006-11-16 Thread Giuliano Marcangelo
I do not know if anybody has viewed this new project, http://www.wymeditor.org/en/ which aims to produce nice clean code AND will be using jquery to power the application. Maybe it would be more productive for those who are interested in producing a nice editor to assist these guys in some way ,

Re: [jQuery] [jQuery-es] Cambia r cosas cuando la página cargue

2006-11-16 Thread SDisk SDisk
Please in this list we speak in english ;), so everybody can help you. I wil try to answer in spanish but please, use the english language to comunicate in the jQuery list or answer directly to the person not reply the list in no english language. If everybody speak in our own language it will be

Re: [jQuery] Next generation WYSIWYG editor... maybe? am I missing something?

2006-11-16 Thread SDisk SDisk
, very interesting your plugin, I have a note for review in the future :) , what about develop plugins for wymeditor ? On 11/16/06, Giuliano Marcangelo [EMAIL PROTECTED] wrote: I do not know if anybody has viewed this new project, http://www.wymeditor.org/en/ which aims to produce nice

Re: [jQuery] Next generation WYSIWYG editor... maybe? am I missing something?

2006-11-16 Thread Jörn Zaefferer
some thoughts on this: - it´d be cool to have a right-mouse-click option when inserting something new, like: right-mouse-click, layer with different options, select something (e.g. paragraph), edit ... (instead of the drop-zone or additionally) Pro! - I don´t like the idea of not

[jQuery] Tabs plugin - div resize problem in Firefox

2006-11-16 Thread Tim Andrews
I've recently started to use JQuery and have been trying to implement the Tabs plug-in on a PHP based site of ours and I can get it working perfectly in IE 6. Unfortunately in Firefox (1.5.0.8), when I click on a tab with additional content it slides down and overflows the div tag, rather than

Re: [jQuery] Next generation WYSIWYG editor... maybe? am I missing something?

2006-11-16 Thread Jörn Zaefferer
I do not know if anybody has viewed this new project, http://www.wymeditor.org/en/ which aims to produce nice clean code AND will be using jquery to power the application. Maybe it would be more productive for those who are interested in producing a nice editor to assist these guys in

Re: [jQuery] jQuery Methods, a new plugin?

2006-11-16 Thread Jörn Zaefferer
Good opinions there in your emails, I have thought about adding prototypes to Strings and Arrays alot, and I also think it's more natural than using a namespace. And Jörn, you are true that bad practise should not be promoted/supported. If it can be achieved, it may be nice to have the

Re: [jQuery] Next generation WYSIWYG editor... maybe? am I missing something?

2006-11-16 Thread patrickk
Am 16.11.2006 um 10:59 schrieb Jörn Zaefferer: I do not know if anybody has viewed this new project, http://www.wymeditor.org/en/ which aims to produce nice clean code AND will be using jquery to power the application. Maybe it would be more productive for those who are interested in

Re: [jQuery] Table cell fading / sliding problems

2006-11-16 Thread Jörn Zaefferer
Been playing with jQuery, and I've come across a problem when I try to fade or slide table cells. In IE it seems to work OK but in Firefox, as the effect starts, all the cells stack one under the other, then the effect executes. Looks very odd. How can I make it work consistently in both

Re: [jQuery] Table cell fading / sliding problems

2006-11-16 Thread Klaus Hartl
Jörn Zaefferer schrieb: Been playing with jQuery, and I've come across a problem when I try to fade or slide table cells. In IE it seems to work OK but in Firefox, as the effect starts, all the cells stack one under the other, then the effect executes. Looks very odd. How can I make it

Re: [jQuery] new plugin: window (+DEMO)

2006-11-16 Thread floepi
Hi Gilles, very nice plugin! I really like it. How did you create the outline window while dragging ? I created my own little window plugin (simple) and the dragging get's slow when i have lots of content in the window. Your way works much better. Maybe you could give me a hint. CHeers Phil

Re: [jQuery] Table cell fading / sliding problems

2006-11-16 Thread Klaus Hartl
Klaus Hartl schrieb: Jörn Zaefferer schrieb: Been playing with jQuery, and I've come across a problem when I try to fade or slide table cells. In IE it seems to work OK but in Firefox, as the effect starts, all the cells stack one under the other, then the effect executes. Looks very odd.

Re: [jQuery] Next generation WYSIWYG editor... maybe? am I missing something?

2006-11-16 Thread Christof Donat
Hi, - Integrate in to our sites without requiring CSS tweaks to get it looking correct - this means no iframes. IIRC gecko can only edit full documents. You need to create an iframe to have an area in a page editable. - Produce strict XHTML every time without fail. FCKeditor does

Re: [jQuery] new plugin: window (+DEMO)

2006-11-16 Thread gilles
very nice plugin! I really like it. Thanx! No i didn't write iresizable myself, its the work of Stefan Petre ( part of the interface plugins). The outline window is actually an empty div which has thesame size. (The div is part of iresizable, but i added my own styling to it.) p.s. to the

Re: [jQuery] Next generation WYSIWYG editor... maybe? am I missing something?

2006-11-16 Thread Sam Collett
On 16/11/06, Jörn Zaefferer [EMAIL PROTECTED] wrote: I do not know if anybody has viewed this new project, http://www.wymeditor.org/en/ which aims to produce nice clean code AND will be using jquery to power the application. Maybe it would be more productive for those who are

Re: [jQuery] $.val() limited in functionality?

2006-11-16 Thread Mike Alsup
The value for the Hidden field is hiddenValue and not secret. :) Fixed. :-) In the case of the checkboxes, if you check two boxes and use [EMAIL PROTECTED] fieldValue will only show the first value. That would need to go into the array case like the select-multiple. But, if there is only

Re: [jQuery] Next generation WYSIWYG editor... maybe? am I missing something?

2006-11-16 Thread Jörn Zaefferer
Other benefits from this is making things more lightweight, since TinyMCE and FCK need their own JS libraries loaded in and I haven't seen any other CMS's go down this route with their content editors. A CMS with a content-editor that both have the same library is their base would help all

Re: [jQuery] Next generation WYSIWYG editor... maybe? am I missing something?

2006-11-16 Thread Jörn Zaefferer
I always thought the point of the MIT was that it can be used with anything, it is definitely compatible with GPL (so the dual license for Drupal integration doesn't make sense to me) - the only requirement is to keep the license intact (so the author gets credit). I've seen downloads with

Re: [jQuery] Next generation WYSIWYG editor... maybe? am I missing something?

2006-11-16 Thread Jörn Zaefferer
I've actually raised a issue on Drupal (http://drupal.org/node/97948) in regards to integrating this for version 6 of Drupal. Your issue is somewhat misguiding. So far WYMeditor has nothing to do with jQuery. Using jQuery is currently planned, but not happening. Apart from that your request

[jQuery] Prevent form submission when enter is hit with jQuery

2006-11-16 Thread Roberto Ortelli
Hi all, all is in the title. I've found this resource but it seems not working in FF2.0: http://www.cs.tut.fi/~jkorpela/forms/enter.html Thanks -- Roberto Ortelli http://weblogger.ch ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] Prevent form submission when enter is hit with jQuery

2006-11-16 Thread Roberto Ortelli
Ah, problem solved. FYI: $(#to).keypress(function(e){ return !(e.keyCode == 13); }); where #to is the ID of a form [EMAIL PROTECTED] field, easy! 2006/11/16, Roberto Ortelli [EMAIL PROTECTED]: Hi all, all is in the title. I've found this resource but it seems not working in FF2.0:

Re: [jQuery] Prevent form submission when enter is hit with jQuery

2006-11-16 Thread Benjamin Sterling
That's good to know Roberto. Thanks for following up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roberto Ortelli Sent: Thursday, November 16, 2006 8:41 AM To: jQuery Discussion. Subject: Re: [jQuery] Prevent form submission when enter is hit with

Re: [jQuery] Using AJAX to download files

2006-11-16 Thread Sam Collett
To answer my own question, creating an iframe containing a form and then submitting the form works as I want it to. No AJAX needed: var records = $(input).attr( { //type: hidden, // doesn't work in IE name: records, value: checkedItems }); var form = $(form).attr( {

Re: [jQuery] Using AJAX to download files

2006-11-16 Thread Sam Collett
On 16/11/06, Sam Collett [EMAIL PROTECTED] wrote: var form = $(form).attr( { method: post, action: report.ashx }).append(patients)[0]; Should be }).append(records)[0]; ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] Next generation WYSIWYG editor... maybe? am I missing something?

2006-11-16 Thread Andy Matthews
TinyMCE doesn't have built-in image upload. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [jQuery] Next generation WYSIWYG editor... maybe? am I missingsomething?

2006-11-16 Thread Andy Matthews
Pretty nice. The interface needs some work but I LOVE the way you indicate what sort of block level element you're working with using the little P and H tags in the top left corner. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL

Re: [jQuery] jQuery 1.1 by the end of Nov

2006-11-16 Thread agent2026
Hey, if 'mine's smaller' is important to you... :) Adam malsup wrote: Great input, Adam. Stay out of lurk mode. The only thing I disagree with is the importance of winning the size war. Mike ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] jQuery 1.1 by the end of Nov

2006-11-16 Thread Karl Swedberg
On Nov 15, 2006, at 12:32 AM, John Resig wrote: I definitely agree. I'm going to propose this course of action: 1) Strip out all helper functions into an external plugin. 2) Change the official (in SVN) plugins to no longer use the helpers. 3) Change all docs to no longer use the helpers.

Re: [jQuery] Next generation WYSIWYG editor... maybe? am I missing something?

2006-11-16 Thread Bryan Buchs
Yeah, but there's a nice plug-in available, although I think it's PHP-only. Actaully, there's one plugin for image management manipulation and another plugin for file management. Well worth whatever I paid for it. Andy Matthews wrote: TinyMCE doesn't have built-in image upload.

Re: [jQuery] jQuery Methods, a new plugin?

2006-11-16 Thread Jörn Zaefferer
I recently had the wish for extended functions on arrays, hashs and objects like Prototype provides with extending the Array() object. I often used features like without() and truncate(). I am really thinking of rewriting/porting a lot of stuff for jQuery and call it jQuery Methods, but I

Re: [jQuery] jQuery 1.1 by the end of Nov

2006-11-16 Thread Karl Swedberg
On Nov 15, 2006, at 4:26 AM, Corey Jewett wrote: Just throwing a little fuel on the fire. If anybody cares give this a whirl -- build your own custom jQuery. Maybe I'll figure out how to do plugins if anyone is interested. http://corey.jquery.com/cgi-bin/make.cgi Corey Corey, that is a

[jQuery] unsubscribe me, please

2006-11-16 Thread daniele novaga
___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Using AJAX to download files

2006-11-16 Thread Sam Collett
On 16/11/06, Sam Collett [EMAIL PROTECTED] wrote: To answer my own question, creating an iframe containing a form and then submitting the form works as I want it to. No AJAX needed: var records = $(input).attr( { //type: hidden, // doesn't work in IE name: records,

Re: [jQuery] jQuery 1.1 by the end of Nov

2006-11-16 Thread Dave Methvin
But, I would be sad to see .click, .hover, and .toggle go away, if they are among the helper functions you plan to put into a an external plugin. They just make so much more sense than bind to people new to programming/javascript/jQuery. I am not a fan of bind either, I'm sure it was

Re: [jQuery] jQuery 1.1 by the end of Nov

2006-11-16 Thread Jörn Zaefferer
I understand the desire for small file size. I think it would be nice if all of the un- and one- events could instead be put into an argument or something like that instead of having a separate function for each one. But, I would be sad to see .click, .hover, and .toggle go away, if

[jQuery] Make Thickbox loop?

2006-11-16 Thread agent2026
I would really like to have thickbox loop though all the images with the next/prev buttons, so hitting next from the last image will bring up the first image for example, and the buttons are never disabled. This way you can never get stuck at the beginning or end. I'm surprised I haven't found

Re: [jQuery] Next generation WYSIWYG editor... maybe? am I missing something?

2006-11-16 Thread Paul McLanahan
On 11/16/06, Andy Matthews [EMAIL PROTECTED] wrote: TinyMCE doesn't have built-in image upload. That's true. But they do have 2 official plugins that handle managing images and any other files. They're called MCFileManager and MCImageManager respectively, and they're right on the home page.

Re: [jQuery] Next generation WYSIWYG editor... maybe? am I missingsomething?

2006-11-16 Thread Andy Matthews
Please don't take my comments for bashing of dislike. I've tried using tinyMCE before and it wasn't for me. So I'm not bashing...just commenting that it doesn't have what other CMS tools have built in. !//-- andy matthews web developer certified advanced coldfusion programmer

Re: [jQuery] jQuery 1.1 by the end of Nov

2006-11-16 Thread Michael Geary
But, I would be sad to see .click, .hover, and .toggle go away, if they are among the helper functions you plan to put into a an external plugin. They just make so much more sense than bind to people new to programming/javascript/jQuery. I am not a fan of bind either, I'm sure it was

Re: [jQuery] jQuery 1.1 by the end of Nov

2006-11-16 Thread Jörn Zaefferer
I am not a fan of bind either, I'm sure it was inherited from the other frameworks that use it. I would prefer .on() and .un() (or perhaps .no()? ) because they're short and a bit more intuitive. .on() sounds like a winner to me. Not sure about .un(), but I don't have a better idea

Re: [jQuery] jQuery 1.1 by the end of Nov

2006-11-16 Thread Karl Swedberg
On Nov 16, 2006, at 11:02 AM, Michael Geary wrote: .on() sounds like a winner to me. Not sure about .un(), but I don't have a better idea - and .un() is certainly better than .no(). To me, click is a verb and it's not intuitive to be setting a click handler with the word click. Same

[jQuery] name attribute gets removed from inputs in IE7

2006-11-16 Thread Sam Collett
Test case: $( function() { var action = $(input type=hidden).attr( { name: action, value: delete }); alert(action[0].name); // name seems to be added fine

Re: [jQuery] Make Thickbox loop?

2006-11-16 Thread Dan Atkinson
You can just just check the array length against the current loop counter. If the two are the same, then just reset it to zero. The should work. agent2026 wrote: I would really like to have thickbox loop though all the images with the next/prev buttons, so hitting next from the last image

[jQuery] API docs draft 2

2006-11-16 Thread Jörn Zaefferer
Hi folks, it's update time, take a look for yourself: http://fuzz.bassistance.de/api-draft/cat.xml The position:fixed hack for IE is implemented, but still a little fuzzy. Good thing: The complete API is bookmarkable across browsers. So far it's tested on FF 1.5, Opera 9, IE 6. Things that

Re: [jQuery] API docs draft 2

2006-11-16 Thread digital spaghetti
Jorn, I'm using FF2 and when I scroll down the left hand list, I get blue lines appearing across the frame, however they disappear when I go back up the list. They also disappear if I right-click on the frame as well. Seems to be some kind of refresh issue? Yep, I never noticed it the

Re: [jQuery] Make Thickbox loop?

2006-11-16 Thread agent2026
Having some trouble getting anything to work with that. I'm looking at this: if(imageGroup){ TB_TempArray = $([EMAIL PROTECTED]+imageGroup+]).get(); for (TB_Counter = 0; ((TB_Counter TB_TempArray.length)

Re: [jQuery] Small optimizations

2006-11-16 Thread Dave Methvin
If you found any other small issues, feel free to use this thread to discuss them. I have a few changes to these methods that I have tested on IE/FF/Opera, but haven't committed them because I have no way to test on Safari: .index: short-circuit loop rather than use each() .text: use

Re: [jQuery] jQuery 1.1 by the end of Nov

2006-11-16 Thread Alex Cook
On Nov 15, 2006, at 4:26 AM, Corey Jewett wrote: Just throwing a little fuel on the fire. If anybody cares give this a whirl -- build your own custom jQuery. Maybe I'll figure out how to do plugins if anyone is interested. http://corey.jquery.com/cgi-bin/make.cgi Corey That's exactly the

[jQuery] $.ajax() with json output

2006-11-16 Thread Dave Methvin
If you specify json output in the $.ajax call and the resulting output isn't well-formed json for any reason, it causes a javascript error on the eval in $.ajaxData. Has anyone else encountered this? My quick fix was to wrap the eval in a try/catch and return null if there was an error, does that

Re: [jQuery] Small optimizations

2006-11-16 Thread Choan C. Gálvez
On 11/16/06, Dave Methvin [EMAIL PROTECTED] wrote: If you found any other small issues, feel free to use this thread to discuss them. I have a few changes to these methods that I have tested on IE/FF/Opera, but haven't committed them because I have no way to test on Safari: I can help in

Re: [jQuery] $.ajax() with json output

2006-11-16 Thread Mike Alsup
On 11/16/06, Dave Methvin [EMAIL PROTECTED] wrote: If you specify json output in the $.ajax call and the resulting output isn't well-formed json for any reason, it causes a javascript error on the eval in $.ajaxData. Has anyone else encountered this? My quick fix was to wrap the eval in a

Re: [jQuery] jQuery 1.1 by the end of Nov

2006-11-16 Thread Corey Jewett
Glad to hear it worked for somebody. This is really just a repurposing of the existing build system. It uses the same packing routines as the current build does. If John wants to move it over to the main site I'd be more than happy to at least have it out there as another option. Corey

Re: [jQuery] API docs draft 2

2006-11-16 Thread Stephen Woodbridge
Jörn Zaefferer wrote: Hi folks, it's update time, take a look for yourself: http://fuzz.bassistance.de/api-draft/cat.xml The position:fixed hack for IE is implemented, but still a little fuzzy. Good thing: The complete API is bookmarkable across browsers. So far it's tested on FF 1.5,

Re: [jQuery] jQuery 1.1 by the end of Nov

2006-11-16 Thread Christof Donat
Hi, * jQuery.find recursively collects every node in the document tree and copies that list into a second array; * jQuery.filter builds/compiles a regexp to get the class name, then builds/compiles a function to check the class name; * jQuery.grep calls that function once for each

Re: [jQuery] inclusion in smarty

2006-11-16 Thread abba bryant
It's been a while since I used smarty but I believe the { and $ characters will get parsed by smarty if you don't wrap them in {literal} {/literal} delimiters. Check the smarty docs for literal and you will see how they are used. The solution without literals is to make ALL of the javascript

Re: [jQuery] $.ajax() with json output

2006-11-16 Thread Klaus Hartl
Dave Methvin schrieb: If you specify json output in the $.ajax call and the resulting output isn't well-formed json for any reason, it causes a javascript error on the eval in $.ajaxData. Has anyone else encountered this? My quick fix was to wrap the eval in a try/catch and return null if

Re: [jQuery] jQuery Methods, a new plugin?

2006-11-16 Thread Brandon Aaron
On 11/16/06, Jörn Zaefferer [EMAIL PROTECTED] wrote: I recently had the wish for extended functions on arrays, hashs and objects like Prototype provides with extending the Array() object. I often used features like without() and truncate(). I am really thinking of rewriting/porting a lot

Re: [jQuery] $.ajax() with json output

2006-11-16 Thread Christopher Jordan
I may be showing my ignorance here, but why (or maybe more appropriately how) would invalid json code get returned by your ajax call? Shouldn't you just make sure that the data coming back is valid json? Maybe I've not run into this because I'm using Jehiah Czebotar's CFJson (obviously, my

Re: [jQuery] name attribute gets removed from inputs in IE7

2006-11-16 Thread Klaus Hartl
Sam Collett schrieb: Test case: $( function() { var action = $(input type=hidden).attr( { name: action, value: delete }); alert(action[0].name); // name seems to be added

Re: [jQuery] Small optimizations

2006-11-16 Thread Brandon Aaron
On 11/16/06, Dave Methvin [EMAIL PROTECTED] wrote: If you found any other small issues, feel free to use this thread to discuss them. I have a few changes to these methods that I have tested on IE/FF/Opera, but haven't committed them because I have no way to test on Safari: .index:

Re: [jQuery] jQuery 1.1 by the end of Nov

2006-11-16 Thread Brandon Aaron
On 11/16/06, Dave Methvin [EMAIL PROTECTED] wrote: The only thing I disagree with is the importance of winning the size war. Up to this point all the emphasis has been on code size. At some point we may want to look at speed, even if it makes the code bigger. One example: When you say

Re: [jQuery] $.ajax() with json output

2006-11-16 Thread Klaus Hartl
Christopher Jordan schrieb: I may be showing my ignorance here, but why (or maybe more appropriately how) would invalid json code get returned by your ajax call? Shouldn't you just make sure that the data coming back is valid json? Maybe I've not run into this because I'm using Jehiah

Re: [jQuery] jQuery 1.1 by the end of Nov

2006-11-16 Thread Matthew Delmarter
I agree - speed is probably my main concern, not a few Kb file size. Regards, Matthew -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brandon Aaron Sent: Friday, 17 November 2006 8:24 a.m. To: jQuery Discussion. Subject: Re: [jQuery] jQuery 1.1

Re: [jQuery] $.ajax() with json output

2006-11-16 Thread Dave Methvin
I may be showing my ignorance here, but why (or maybe more appropriately how) would invalid json code get returned by your ajax call? Ignorance, no. Lack of WTF imagination, yes. :-) On the server I was testing against, status codes like 404 and 500 are mapped into 200 as a workaround for

[jQuery] Inject arbitrary data into ajaxForm using the before Callback

2006-11-16 Thread floepi
Hi all, var options = { before: function(formArray, jqForm) { formArray = $.merge(formArray,$(#interfaceVariables).formToArray()) ; if (console) console.log(formArray); return true; }, target:

Re: [jQuery] $.ajax() with json output

2006-11-16 Thread Ⓙⓐⓚⓔ
I assumed the lack of try catch code is to make jquery lean for the majority... If you are getting garbage from your server add your own try catch around the jquery call. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] $.ajax() with json output

2006-11-16 Thread John Resig
That said, I think it should be as fail-safe as possible. But which is worse - throwing an exception inside of jQuery due to malformed JSON data - or silently dying? I mean, as it stands right now, jQuery assumes that all data coming into it (selectors, arguments, etc.) are well-formed. Beyond

Re: [jQuery] Inject arbitrary data into ajaxForm using the before Callback

2006-11-16 Thread Mike Alsup
The console output shows the altered array which contains a couple more objects. But this data does not get put in the POST variables. Only the unmodified data. Is that because formArray is a Pointer or something. Am at a loss. Yeah, you're creating a new array there. If you want to add

Re: [jQuery] Inject arbitrary data into ajaxForm using the before Callback

2006-11-16 Thread floepi
a = $(#interfaceVariables).formToArray(); $.each(a,function(){ formArray.push(this); }); Cool thanks. Now it works. Cheers Phil malsup wrote: The console output shows the altered array which contains a couple more objects. But this data does not get put in

Re: [jQuery] API docs draft 2

2006-11-16 Thread Paul McLanahan
On 11/16/06, Stephen Woodbridge [EMAIL PROTECTED] wrote: Thanks for putting a lot of work into this. It really looks good! Ditto!! It looks and works great (at least in my main browser: FF 1.5.0.8 Win). ___ jQuery mailing list discuss@jquery.com

[jQuery] IE: appending script on ajax return?

2006-11-16 Thread Scott Sharkey
Hi All, I've got a php/jquery app, which, when a button is pushed, fires off an ajax request to a php script that returns a combination of html and javascript, that is then appended to the document via .before(). The script returned includes another ajax call, so that when a selection box

[jQuery] use of stopPropagation

2006-11-16 Thread Guillermo Movia
Hi all, i need to use this function, because i had a div in which i want to add a mouseover event. This works fine with $('#most_searched').mouseover(function(){$('#most_searched .wid_control').fadeIn('slow');}); But this div (#most_searched) has a lot of divs internally that make the fade in

Re: [jQuery] IE: appending script on ajax return?

2006-11-16 Thread Scott Sharkey
I forgot to show in the script that it is tagged to the select field change, like so: $(#sel_field).change(function () { $.ajax call here... }); Sorry. Scott Sharkey wrote: Hi All, I've got a php/jquery app, which, when a button is pushed, fires off an ajax request to a php

Re: [jQuery] use of stopPropagation

2006-11-16 Thread Matt Stith
Try this: $('#most_searched').mouseover(function(e){ e.stopPropagation(); $('#most_searched .wid_control').fadeIn('slow'); }); On 11/16/06, Guillermo Movia [EMAIL PROTECTED] wrote: Hi all, i need to use this function, because i had a div in which i want to add a mouseover event. This works

Re: [jQuery] show/hide methods and inline styles

2006-11-16 Thread Brandon Aaron
On 11/16/06, Brandon Aaron [EMAIL PROTECTED] wrote: Currently the show and hide methods leave a trail of inline styles behind. Should they? I recently fixed bug #276 to remove the unecessary inline styles once a show or hide animation is completed. This will no doubt break some people's code

Re: [jQuery] alternative to $('.myclass')

2006-11-16 Thread Aaron Heimlich
$('.myclass') is, as you've noticed, pretty slow because it has to search through the *entire* page looking for element with a class of myclass. There are a couple things you can do: If you know that all of the elements you want are, say, div's, then $('div.myclass'); is going to be a lot

Re: [jQuery] alternative to $('.myclass')

2006-11-16 Thread Matthew Delmarter
$('div.myclass'); Perfect - made a difference already. I should have thought of that! :-) Thanks a lot... Matthew _ From: Aaron Heimlich [mailto:[EMAIL PROTECTED] Sent: Friday, 17 November 2006 10:29 a.m. To: [EMAIL PROTECTED]; jQuery Discussion. Subject: Re: [jQuery]

Re: [jQuery] IE: appending script on ajax return?

2006-11-16 Thread jyl
Have a look at jxs, it might do what you want: http://www.brainknot.com/code/jxs.htm --Jacob I forgot to show in the script that it is tagged to the select field change, like so: $(#sel_field).change(function () { $.ajax call here... }); Sorry. Scott Sharkey wrote: Hi All,

Re: [jQuery] jQuery Methods, a new plugin?

2006-11-16 Thread Jörn Zaefferer
Just commited string.js and array.js to the plugin repository. They are extending Array and String prototypes with functions, when they do not exist yet. Documentation and testsuite is in there, too. Source: http://jquery.com/dev/svn/trunk/plugins/methods/array.js?format=txt

Re: [jQuery] jQuery namespacing your code

2006-11-16 Thread John Resig
I took a stab at making it a little bit simpler: function package(ns) { ns = ns.split('.'); var cur = window, i; while ( i = ns.shift() ) { if ( !cur[i] ) cur[i] = {}; cur = cur[i]; } } so, at the top of your code just add: package(foo.bar.baz); and it makes sure

Re: [jQuery] show/hide methods and inline styles

2006-11-16 Thread Jörn Zaefferer
Currently the show and hide methods leave a trail of inline styles behind. Should they? I recently fixed bug #276 to remove the unecessary inline styles once a show or hide animation is completed. This will no doubt break some people's code who are hiding things via a stylesheet and expecting

Re: [jQuery] jQuery namespacing your code

2006-11-16 Thread Rich Manalang
great... thx John! What other OO stuff did you have in mind? Rich On 11/16/06, John Resig [EMAIL PROTECTED] wrote: I took a stab at making it a little bit simpler: function package(ns) { ns = ns.split('.'); var cur = window, i; while ( i = ns.shift() ) { if ( !cur[i] )

Re: [jQuery] show/hide methods and inline styles

2006-11-16 Thread Brandon Aaron
On 11/16/06, Jörn Zaefferer [EMAIL PROTECTED] wrote: The changes to the fx module will cause trouble anyway, so we should be at least consequent and fix the rest, too. They don't now. I've added back the display property and the other styles that get removed should not affect anyone except

Re: [jQuery] IE: appending script on ajax return?

2006-11-16 Thread Scott Sharkey
[EMAIL PROTECTED] wrote: Have a look at jxs, it might do what you want: http://www.brainknot.com/code/jxs.htm That looks like it might work for me, but it's not really well documented. I'm gonna go play with it. Thanks. -Scott --Jacob I forgot to show in the script that it is

Re: [jQuery] jQuery namespacing your code

2006-11-16 Thread John Resig
great... thx John! What other OO stuff did you have in mind? Probably something like Base (or maybe just Base itself): http://dean.edwards.name/base/Base.js It adds in all sorts of nice object creation/inheritance utilities. Of course, you don't need to wait for a plugin to come out to start

Re: [jQuery] jQuery Methods, a new plugin?

2006-11-16 Thread John Resig
Just commited string.js and array.js to the plugin repository. They are extending Array and String prototypes with functions, when they do not exist yet. Documentation and testsuite is in there, too. I'm more-than-fine with extending the Array and String prototypes from a plugin. jQuery

[jQuery] Firebug 1.0 coming soon

2006-11-16 Thread Franck Marcia
Hi all, Did you miss it? http://www.getfirebug.com (it's not an ad, I'm just a fan) Franck. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] $.val() limited in functionality?

2006-11-16 Thread Mike Alsup
I've taken a stab at adding fieldValue and fieldSerialize to the form plugin. Please let me know if this impl makes sense. I also refactored ajaxSubmit so that it passes its options arg on to the $.ajax method (so any $.ajax options flow right through). I've got a test page up here:

Re: [jQuery] input field focus help!

2006-11-16 Thread Erik Beeson
.focus() does NOT set the focus of an element, it fires all of the registered onfocus events. Use $().get(0).focus(). --Erik On 11/16/06, Clodelio Delfino [EMAIL PROTECTED] wrote: i've downloaded thickbox and tried the login demo, the dialog box work as expected however but when i tried to

Re: [jQuery] Firebug 1.0 coming soon

2006-11-16 Thread Chris W. Parker
On Thursday, November 16, 2006 3:11 PM Franck Marcia said: Did you miss it? http://www.getfirebug.com (it's not an ad, I'm just a fan) That looks like it's going to be sweet. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] input field focus help!

2006-11-16 Thread Clodelio Delfino
Thanks Erik for the input but it doesn't work... c,) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Erik Beeson Sent: Friday, November 17, 2006 7:34 AM To: jQuery Discussion. Subject: Re: [jQuery] input field focus help! .focus() does NOT set

Re: [jQuery] API docs draft 2

2006-11-16 Thread Klaus Hartl
Jörn Zaefferer schrieb: Things that are not in there because they don't quite run as they should: Including the history plugin caused the page to eat my processor, not nice. I was unable to get the quicksearch plugin working on the navigation. Klaus: Could you please commit the history

Re: [jQuery] Firebug 1.0 coming soon

2006-11-16 Thread Klaus Hartl
Sam Sherlock schrieb: I am still finding new and useful features of the current version I couldn't live (work) without it. Looks like version 1.0 is going to ROCK! I heard some rumours that it does... -- Klaus ___ jQuery mailing list

Re: [jQuery] expression question

2006-11-16 Thread Karl Swedberg
Hi Lucien, Welcome to the jQuery mailing list! You're on the right track, but instead of doing this: $(this.following-sibling).slideDown(slow); try this: $(this).next().slideDown(slow); --Karl ___ Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 16,

Re: [jQuery] input field focus help!

2006-11-16 Thread Erik Beeson
Ahh, right, that is the right code, but it doesn't work in $(document).ready(...). I do it like this: setTimeout(function() {$('#username').get(0).focus();}, 250); Inside $(document).ready(...). Maybe moving it to load or something would work better. Haven't tried yet. --Erik On 11/16/06,

Re: [jQuery] API docs draft 2

2006-11-16 Thread Andrea Ercolino
same for me in FF1.5.0.8, while in IE7 it fliflifliflifliflickers a lot digital spaghetti wrote: Jorn, I'm using FF2 and when I scroll down the left hand list, I get blue lines appearing across the frame, however they disappear when I go back up the list. They also disappear if I

Re: [jQuery] Firebug 1.0 coming soon

2006-11-16 Thread Aaron Heimlich
On 11/16/06, Matt Stith [EMAIL PROTECTED] wrote: Any way you could send the beta to all the loyal jQuery fans? :D /stops drooling long enough to speak... I second that! ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] expression question

2006-11-16 Thread Lucien Stals
So easy when you know how :) Now I have... $(span.singleEventTitle).click(function() { $(this).next().show(slow); //$(this).find(~ div:visible).hide(slow); //$(this).find(~ div:hidden).show(slow); return false; }); The commented out bits

[jQuery] [Beginner. Help] Javascript not function in the loaded content by AJAX

2006-11-16 Thread Liu, Xiao-Guang (OSLO-RD-China)
Urgent! I am new to jQuery. Can anybody help me out why javascript in the loaded contend by AJAX .post or load can not function at all? How to solve this problem? Any clue or help is appreciated. I am using IE 6.0 browser, and server side is running Catalyst in Perl. For example. There is one

  1   2   >