Re: [jQuery] jQuery Design Decisions? Comparison to MooTools?

2007-02-14 Thread R. Rajesh Jeba Anbiah
Yesterday, I posted a follow-up via GG; not sure what had happened-- probably a GG bug or word filter in jQuery mailing list? Anyway, FWIW... On Feb 13, 11:58 am, John Resig [EMAIL PROTECTED] wrote: snip 3) Attaching properties to DOM elements is really really slow. Doing speed tests

Re: [jQuery] How do I get the XML of an ajax request?

2007-02-14 Thread Klaus Hartl
Stephen Woodbridge schrieb: Jake, Thanks for the help. I changed my code to look like this and got things to work. $('#rgeo').bind('submit', function(){ var xml = $.ajax({ url: /rgeo/, dataType: xml, async:

Re: [jQuery] Introduction and Masked Input Plugin

2007-02-14 Thread Alexandre Plennevaux
That's very useful and works perfect for me on WinXP SP2 FF2 or IE7! Congratulations Josh! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mrcarxpert Sent: mercredi 14 février 2007 3:03 To: discuss@jquery.com Subject: [jQuery] Introduction and Masked

Re: [jQuery] possible bug with jqModal (Was Re: Miniscule (1k) Drag'n'Resize for jqModal via jqDnR)

2007-02-14 Thread Brice Burgess
R. Rajesh Jeba Anbiah wrote: I think, there is a possible bug with jqModal. When a class is used for trigger, different links open same ajax URL. a href=foo1.php class=remoteFoo1/a a href=foo2.php class=remoteFoo2/a .. trigger: '.remote', ajax: '@href' ... Expected behavior:

Re: [jQuery] Some jQuery tips and tricks

2007-02-14 Thread R. Rajesh Jeba Anbiah
On Feb 13, 10:47 pm, Karl Swedberg [EMAIL PROTECTED] wrote: On Feb 13, 2007, at 11:22 AM, R. Rajesh Jeba Anbiah wrote: For #1, what about: $(document).ready(function() { $(#wrapper p).hide(); //hide initially $(#wrapper h2).click (function() { $(p,

[jQuery] [Fwd: Intel Web 2.0 Technology Development Kit (TDK)]

2007-02-14 Thread Digital Spaghetti
Noticed this story on Ajaxian today! http://ajaxian.com/archives/intel-web-20-technology-development-kit-tdk I haven't had a chance to look at it yet myself, but looks like it might be interesting for developing apps, especially with the offline capabilities coming up in Firefox 3, I could see

Re: [jQuery] Jquery tinymce and dynamic loading to textarea

2007-02-14 Thread nsj
Minh, Thanks for the reponse. Maybe I'm being a bit dim, but I don't see how this helps? There seems to be a problem targetting the TinyMce textarea. One solution I have found is using the toggle TinyMCE switch and passing the data to the standard textarea and then converting it to a TinyMce

Re: [jQuery] jQuery Nightly Builds

2007-02-14 Thread Sam Collett
On 14/02/07, John Resig [EMAIL PROTECTED] wrote: This is a re-post of a blog post written by Paul McLanahan: http://jquery.com/blog/2007/02/13/jquery-nightly-builds/ Hey Everyone - After much wailing and gnashing of teeth, we now have automated nightly builds of jQuery ready for

Re: [jQuery] ajax within opera does not work

2007-02-14 Thread unco
yes... Opera 9.1 page goes blank (no content) same url for a site im working on this is 0.27% of users but still 2000 people a month it will be effecting :( -- View this message in context: http://www.nabble.com/ajax-within-opera-does-not-work-tf3135265.html#a8962830 Sent from the JQuery

[jQuery] Binding a submit function after ajax

2007-02-14 Thread Bruce MacKay
Hi folks, I'm having difficulty getting the submit of a form, loaded into the page from an AJAX call, being bound to a function. If my description doesn't make sense, hopefully the following code will show what I'm on about: function getSS(ej) { $.ajax({ type: 'GET',

[jQuery] How to expand the height of a DIV

2007-02-14 Thread howard chen
seems this is a basic effect which didn't cover in the jquery effect methods? thx ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jQuery Design Decisions? Comparison to MooTools?

2007-02-14 Thread Mike Alsup
It looked to me (I could be wrong) that if I have 10 text inputs of the same name, I will only get the value of the first one if I do a fieldValue(). Is this incorrect? Hmm, no, that's correct. Thanks for pointing that out! But this way, the library can be used either stand-alone or as a

Re: [jQuery] How do I get the XML of an ajax request?

2007-02-14 Thread Mike Alsup
You don't need to set the dataType to xml if you don't want XML. This should work: $.ajax({ url: /rgeo/, dataType: text, data: { x: document.rgeo.x.value, y: document.rgeo.y.value }, success: function(data) { $(#response).val(data); } });

[jQuery] Any idea on how to replace select with div

2007-02-14 Thread Agrawal, Ritesh
Hi, I am wondering did anyone ever tried to create some alternative for selectoption list. I like using select-option as it provides the ability to use keystrokes to change selection. However, I can't change the font color or add new icons infront of the test. Hence, I was wondering to replace

Re: [jQuery] How to expand the height of a DIV

2007-02-14 Thread Karl Rudd
Check out the animate method: http://docs.jquery.com/Effects You use it something like this: $('#theDiv').animate( { height: 200 }, 500 ); Karl Rudd On 2/14/07, howard chen [EMAIL PROTECTED] wrote: seems this is a basic effect which didn't cover in the jquery effect methods? thx

Re: [jQuery] Jquery tinymce and dynamic loading to textarea

2007-02-14 Thread nsj
Kyle FYI - I was able to get this to work eventually ('theText' is the just the string I want to insert). $(#tinymce).html(theText); This works fine for standard textarea, but not TinyMce. I think this is because TinyMce seems to disable the textarea completely (it no longer existing to

Re: [jQuery] How to expand the height of a DIV

2007-02-14 Thread Pete Dowdell
howard chen wrote: seems this is a basic effect which didn't cover in the jquery effect methods? Hi, I am new to this list and have just started JQuery: this was one of my first uses for JQUERY, for equalising a two column layout: I found this works: // equalise length of columns lh

[jQuery] bind to click in a does not work in IE6

2007-02-14 Thread Juarez Rudsatz
Hello ajaxers, I wrote a simple jQuery plugin for form validations. It makes a query server side and uses a placeholder to show the results. After that the user can click in a link choosing the value, assigning it to a input element and erasing the placeholder. For example I have a input hidden

Re: [jQuery] Any idea on how to replace select with div

2007-02-14 Thread Sam Collett
On 14/02/07, Agrawal, Ritesh [EMAIL PROTECTED] wrote: Hi, I am wondering did anyone ever tried to create some alternative for selectoption list. I like using select-option as it provides the ability to use keystrokes to change selection. However, I can't change the font color or add new

Re: [jQuery] jQuery Nightly Builds

2007-02-14 Thread Ólafur Marteinsson
Nice work, (as expected). I've sometimes been wanting this. Now I don't need to want anymore, I have. :) John Resig wrote: This is a re-post of a blog post written by Paul McLanahan: http://jquery.com/blog/2007/02/13/jquery-nightly-builds/ Hey Everyone - After much wailing and

Re: [jQuery] populate/generate selectbox on the fly?

2007-02-14 Thread Dominik Hahn
Jake: Thanks, I will try it out! Karl: That would require a rewrite of my current code but jquery-select looks like a clean method. I'll will give both ideas a try, thank you guys! Dominik 2007/2/14, Karl Rudd [EMAIL PROTECTED]: Sam just released an update to his select box

[jQuery] watching events in iframes

2007-02-14 Thread Vaska
Yes, I should just try this...or...I should search this mail list. I've searched the list and didn't find what I was looking for though. Am I able, with JQuery, to watch events in an iFrame? Per the usual, I'm trying to build a file uploader that doesn't refresh the entire page. Meaning,

Re: [jQuery] Setting an image caption width

2007-02-14 Thread Sam Collett
On 14/02/07, Seb Duggan [EMAIL PROTECTED] wrote: Not sure I agree on the title attribute not being suitable, but I see your point on the alt. Nevertheless, I want to change this: img src=/myimage.jpg width=250 height=350 alt=Alt text title=Some text I want to use as the caption

Re: [jQuery] Binding a submit function after ajax

2007-02-14 Thread Mike Alsup
Bruce, That code looks ok to me. Do you have a sample page somewhere we could look at? Based on your description it sounds like the submit handler is not getting bound. If it was, your 'return false' would prevent the page navigation. Is $('#ss1_form') the right selector? Mike function

Re: [jQuery] Plugin naming

2007-02-14 Thread Mika Tuupola
On 13 Feb 2007, at 21:33, Jörn Zaefferer wrote: I think this works particuarily well because writing plugins is nicely documented (http://docs.jquery.com/Plugins/Authoring), in addition to There is one point which only few plugin authors seem to follow: Name your file jquery.[insert name

[jQuery] newbie problem with IE :¬)

2007-02-14 Thread Toby
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pete Dowdell Sent: 14 February 2007 12:07 To: jQuery Discussion. Subject: Re: [jQuery] How to expand the height of a DIV howard chen wrote: seems this is a basic effect which didn't cover in the jquery

Re: [jQuery] Setting an image caption width

2007-02-14 Thread Klaus Hartl
Sam Collett schrieb: You will have to use each: $('.captimg').each( function() { $(this).after('p' + this.title + '/p'); }); Yes, so let's combine this with applying the width and make a little plugin out of it, so that you can reuse it easily on your whole site: // Plugin to create an

Re: [jQuery] Closing a tickbox from within an iframe

2007-02-14 Thread Kevin Fricovsky
Marc, No suggestion here, but I'd love to see a tutorial on how you've implemented this if possible... when you get it working. It sounds like something the jquery community could use. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mmch Sent: Tuesday,

Re: [jQuery] Setting an image caption width

2007-02-14 Thread Klaus Hartl
make it: (function($) { $.fn.imgCaption = function() { return this.each(function() { var img = $('img', this); $('p' + img.attr('title') + '/p').css({width: img.width() + 'px'}).appendTo(this); }); }; })(jQuery);

[jQuery] Interface autocompleter - additional ajax call parameters

2007-02-14 Thread Lincoln Cooper
Looking at the code, the ajax call passes only one parameter to the server - that of the field which has the autocompleter enabled. I can add multiple parameters to the url, but in this case the value of the autocomplete field doesn't get passed. Is there a way to add extra parameters

Re: [jQuery] jQuery Nightly Builds

2007-02-14 Thread Brian Miller
Thank you! Thank you! Thank you! :) - Brian This is a re-post of a blog post written by Paul McLanahan: http://jquery.com/blog/2007/02/13/jquery-nightly-builds/ Hey Everyone - After much wailing and gnashing of teeth, we now have automated nightly builds of jQuery ready for

[jQuery] (super) newbie IE question

2007-02-14 Thread Toby
(woops for the previous post, hopefully this works :¬]) Hey All, Apologies if this has been answered elsewhere; is there any reason this does not work on IE? $(a#css_switch).toggle(function(){ $(html, body).css({ color: #fff;, background: #222; }); },function(){

Re: [jQuery] possible bug with jqModal (Was Re: Miniscule (1k) Drag'n'Resize for jqModal via jqDnR)

2007-02-14 Thread R. Rajesh Jeba Anbiah
On Feb 14, 2:52 pm, Brice Burgess [EMAIL PROTECTED] wrote: R. Rajesh Jeba Anbiah wrote: I think, there is a possible bug with jqModal. When a class is used for trigger, different links open same ajax URL. a href=foo1.php class=remoteFoo1/a a href=foo2.php class=remoteFoo2/a ..

Re: [jQuery] Setting an image caption width

2007-02-14 Thread Seb Duggan
Great stuff, Klaus! The more I learn about jQuery, the more I wish I'd discovered it before! Seb On 14 Feb 2007, at 14:06, Klaus Hartl wrote: make it: (function($) { $.fn.imgCaption = function() { return this.each(function() { var img = $('img', this);

Re: [jQuery] (super) newbie IE question

2007-02-14 Thread Jake McGraw
Sorry, I just saw my reply may be a little confusing, I meant to say change your css assignments from #FFF; to #FFF (remove semicolon). - jake On 2/14/07, Jake McGraw [EMAIL PROTECTED] wrote: Toby, You can search the list here: http://www.nabble.com/JQuery-f15494.html and I don't believe you

[jQuery] jqModal and closing

2007-02-14 Thread bmsterling
hey, I am working with the jqModal and I am trying to set a button in the frame to close it. This is what I got: $('.jqmWindow').jqm({ trigger: elem, ajax: $(elem).attr('href'), overlayColor: '#fff', overlay: 30

Re: [jQuery] (super) newbie IE question

2007-02-14 Thread Toby
Perfect thanks Jake!! All works fine now :¬) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jake McGraw Sent: 14 February 2007 14:41 To: jQuery Discussion. Subject: Re: [jQuery] (super) newbie IE question Toby, You can search the list here:

Re: [jQuery] Taconite Plugin - New and Improved!

2007-02-14 Thread Daemach
Well, after working with this I've found that this method is not going to work for me. The way AjaxCFC works currently I can't override the text/html MIME type so Taconite never gets triggered. Would it be possible to add a property such as $.taconite.interceptAjax = false; (similar to

[jQuery] how to filter a list

2007-02-14 Thread Dominik Hahn
Today is not my day, I don't even the most simple things to work! :( I have three unordered lists, each of them has around 10 list items. All list items have an unique ID. ul li id=1/li li id=2/li li id=3/li /ul ul li id=4/li li id=5/li li id=6/li /ul ul li id=7/li li id=8/li li id=9/li /ul

Re: [jQuery] Some jQuery tips and tricks

2007-02-14 Thread Dmitrii Dimandt
On 2/13/07, Karl Swedberg [EMAIL PROTECTED] wrote: Looks good to me. Also, instead of this... $(p, $(this).parent()).slideToggle(slow); ...you could do this: $(this).siblings('p').slideToggle('slow'); Thank you. I completely overlooked this possibility :)

Re: [jQuery] Some jQuery tips and tricks

2007-02-14 Thread Dmitrii Dimandt
On 2/13/07, Rick Faircloth [EMAIL PROTECTED] wrote: I know I'm very new to jQuery, but I thought my understanding of what was going on had been set back a few light years… :o) What exactly do you mean? :) What i like about jQuery is that you can go with the flow of your thoughts. If you

Re: [jQuery] watching events in iframes

2007-02-14 Thread Vaska
parent.function_name(); onload from within the iframe and things are good again. ;) On 14 Feb 2007, at 14:20, Vaska wrote: Yes, I should just try this...or...I should search this mail list. I've searched the list and didn't find what I was looking for though. Am I able, with JQuery, to

Re: [jQuery] Taconite Plugin - New and Improved!

2007-02-14 Thread Rey Bango
Daemach, I spoke to Rob last night and he said he was going to work on allowing you to return XML from AjaxCFC. If this resolves your issue, then I think it'd be a better solution than patching the taconite plugin. This really seems isolated to AjaxCFC. Let me know what you think. Rey

Re: [jQuery] watching events in iframes

2007-02-14 Thread Martinez, Andrew
There shouldn't be a problem with this as long as both the parent document and the iframe are showing pages from the same domain. When you bind your events, when you pass in your function/functor/function pointer/etc have the internal code doe something like this: -function() {

Re: [jQuery] Taconite Plugin - New and Improved!

2007-02-14 Thread Mike Alsup
Well, after working with this I've found that this method is not going to work for me. The way AjaxCFC works currently I can't override the text/html MIME type so Taconite never gets triggered. Would it be possible to add a property such as $.taconite.interceptAjax = false; (similar to

Re: [jQuery] Taconite Plugin - New and Improved!

2007-02-14 Thread Daemach
Makes sense. Thanks much! Rey Bango-2 wrote: Daemach, I spoke to Rob last night and he said he was going to work on allowing you to return XML from AjaxCFC. If this resolves your issue, then I think it'd be a better solution than patching the taconite plugin. This really seems

[jQuery] Using jQuery and Smarty

2007-02-14 Thread Chris Scott
I'm still a newbie to jQuery so until now I've been using standard HTML pages to try out new code. Now, I need to integrate some jQuery into a site that uses Smarty templates. I'd appreciate any suggestions on how people are using jQuery and Smarty. My main sticking point right now is

Re: [jQuery] Taconite Plugin - New and Improved!

2007-02-14 Thread Daemach
Thanks much Mike :) If I know that I'm going to have to pass the XML to taconite does it make sense to keep intercepting the ajax calls? Or is the performance hit so negligible (even on large documents) so as not to be noticible? malsup wrote: Well, after working with this I've found that

Re: [jQuery] Some jQuery tips and tricks

2007-02-14 Thread Rick Faircloth
I saw the comments made about your markup on a recent problem in an email you sent to the list, and when I went to look at the problem code at your site, it looked exactly like the code someone suggested as a solution for you. In other words, by the time I read your email about your problem code

Re: [jQuery] Using jQuery and Smarty

2007-02-14 Thread Mike Alsup
Sticking it in the template file would mean putting the script block outside the head which I don't really want. Why does it mean that? I put all that stuff in the template like this: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;

Re: [jQuery] Some jQuery tips and tricks

2007-02-14 Thread Kenneth
Interesting site, I was actually thinking of compiling something similar myself, but more to do with either obtuse uses of $(). However, I did notice a few things about your examples and thought I'd mention them to you. These are merely suggestions; I won't be offended if you ignore me :) In

[jQuery] animate only work at the first time?

2007-02-14 Thread howard chen
div id=test style=width: 200px; height: 200px; background-color: blue; test /div a href=# onclick='$(#test).animate( {opacity : 0} );'hide/a a href=# onclick='$(#test).animate( {opacity : 100} );'show/a only the first link show the correct animationsecond link will failed if you

Re: [jQuery] how to filter a list

2007-02-14 Thread Dominik Hahn
I almost got it.. The problem now is, that I don't have the right selectors for the list items. Here's the code: function filter(query) { if(query != '') { $.getJSON($homeadress/suche.php, { do: ajax, type: 'filter', what: 'all', query: query },

Re: [jQuery] Using jQuery and Smarty

2007-02-14 Thread Chris Scott
Mike Alsup wrote: Sticking it in the template file would mean putting the script block outside the head which I don't really want. Why does it mean that? I put all that stuff in the template like this: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN

Re: [jQuery] Using jQuery and Smarty

2007-02-14 Thread Mike Alsup
Sorry, I should have noted I'm using a common header template file for all pages that gets included in the page template. Something like this in a page template: {include file=header.tpl} [page content here] {include file=footer.tpl} I see. I'm doing the opposite and letting the smarty

Re: [jQuery] OT - Ajax and destructive links

2007-02-14 Thread Klaus Hartl
Brian Litzinger schrieb: So I'm reading John's new book Pro JavaScript Techniques and came across page 130 in the book about Google's Accelerator deleting a bunch of content on people's sites because they used normal links for editing and deleting content. Does this apply to links that use

Re: [jQuery] preload picutre won't work

2007-02-14 Thread Alex Cook
I don't have much time at the moment, but off hand did you try: $(x).bind(load,function() { showAlbum(); }); That's how I do pre-loads in most of my apps. -ALEX From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanyi Sent: Tuesday,

Re: [jQuery] Using jQuery and Smarty

2007-02-14 Thread Jake McGraw
I don't see why this would be an issue, if you've always used variables within PHP to determine javascript file inclusion in Smarty, why not do the same for javascript written using jQuery? - jake On 2/14/07, Chris Scott [EMAIL PROTECTED] wrote: Mike Alsup wrote: Sticking it in the template

Re: [jQuery] OT - Ajax and destructive links

2007-02-14 Thread Felix Geisendörfer
*Put all destructive actions behind a POST requests* I'd even extend this and say: *Make sure that nothing (besides logs) can be changed in your application using GET*. Otherwise you'll not only violate the HTTP specifications, but also open your page to CSRF attacks ; ). -- Felix

Re: [jQuery] jQuery Nightly Builds

2007-02-14 Thread Geoffrey Knutzen
Many thanks, this will help greatly -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Resig Sent: Tuesday, February 13, 2007 7:49 PM To: jQuery Discussion. Subject: [jQuery] jQuery Nightly Builds This is a re-post of a blog post written by Paul

Re: [jQuery] Any idea on how to replace select with div

2007-02-14 Thread Alex Cook
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On To: discuss@jquery.com Subject: [jQuery] Any idea on how to replace select with div Hi, I am wondering did anyone ever tried to create some alternative for selectoption list. I like using select-option as it provides the ability to use

Re: [jQuery] Using jQuery and Smarty

2007-02-14 Thread Allan Mullan
And if you want to put a script in the head I just have a piece of javascript: // Add something to head (good for when using templates etc) var addToHead = function(type, url) { var a; switch(type) { case 'script': a = document.createElement('script');

[jQuery] Handling you javascript files

2007-02-14 Thread Kristinn Sigmundsson
Hi there. I'm working on a site that will be using alot of ajax for edit-in-place, aswell as alot of other javascript. The thing is that there is practicly no javascript for regular users, compared to administrators. So I figured that in the top of my indexfile where all the scripts are I'd do

Re: [jQuery] Introduction and Masked Input Plugin

2007-02-14 Thread mrcarxpert
So I'm reading that FF, Opera, and Safari support the DOMCharacterDataModified event. I'll try to look into this further to produce something to handle pastes. I've never messed with this event before, so I'm just shooting the dark here. Any direction from the crowd? Josh John Resig wrote:

Re: [jQuery] Using jQuery and Smarty

2007-02-14 Thread Marshall Salinger
All you should have to do is set a var in your include statement. {include file=header.tpl $jqueryWhatever=1} And then in your header, use: {if isset($jqueryWhatever)} script {/if} Then you can call each individual script on a per template basis. -Marshall -Original Message- From:

Re: [jQuery] animate only work at the first time?

2007-02-14 Thread Karl Swedberg
Hi Howard, Not sure if this will solve your problem, but opacity values range from 0 to 1, not 0 to 100. Try changing the value of your second opacity to .999 or 1.0 and see if that works for you. Cheers, --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] Handling you javascript files

2007-02-14 Thread Brandon Aaron
I would highly recommend merging as much as you can into one file. Each additional request could tack on a couple 100 milliseconds. The best thing you can do though is to get the latest firebug console (www.getfirebug.com) and use the 'Net' tab to compare both methods and see which is better for

[jQuery] $.show() improvement

2007-02-14 Thread BenjaminWiegand
Hi, the jquery function show() is at the moment making objects visible by running elm.style.display = 'block'; This works just fine for all block elements (div, etc.) but causes some problems when running on inline elements like links or other elements like table-cells. I think it'd be better

Re: [jQuery] Handling you javascript files

2007-02-14 Thread Klaus Hartl
Brandon Aaron schrieb: I would highly recommend merging as much as you can into one file. Each additional request could tack on a couple 100 milliseconds. The best thing you can do though is to get the latest firebug console (www.getfirebug.com) and use the 'Net' tab to compare both methods

Re: [jQuery] jqModal and closing

2007-02-14 Thread Brice Burgess
bmsterling wrote: hey, I am working with the jqModal and I am trying to set a button in the frame to close it. This is what I got: $('.jqmWindow').jqm({ trigger: elem, ajax: $(elem).attr('href'), overlayColor: '#fff', overlay:

Re: [jQuery] jqModal and closing

2007-02-14 Thread Benjamin Sterling
Thanks Brice, I will give that a try. But I have another question, how do I set it so that the dialog box is centered horizontally and vertically. Is this something that I should create a separate function for? If so, what would point would you recommend executing it? Thanks On 2/14/07,

Re: [jQuery] $.show() improvement

2007-02-14 Thread John Resig
Yeah, I think we can figure out a way to roll something like that in. I created a bug ticket for it here: http://jquery.com/dev/bugs/bug/960/ --John On 2/14/07, BenjaminWiegand [EMAIL PROTECTED] wrote: Hi, the jquery function show() is at the moment making objects visible by running

Re: [jQuery] jqModal and closing

2007-02-14 Thread Benjamin Sterling
Brice, I actually have another question, and I appreciate you help so far, but I need to execute a function everything a view is pulled in to change text, but I do something like below and no luck. $('#ex1a').jqm({ajax: strUrl, trigger: elem}, function(h){

Re: [jQuery] jqModal and closing

2007-02-14 Thread Brice Burgess
Benjamin Sterling wrote: But I have another question, how do I set it so that the dialog box is centered horizontally and vertically. Is this something that I should create a separate function for? If so, what would point would you recommend executing it? I prefer to define the

[jQuery] Sortable Multi-Column?

2007-02-14 Thread Kevin Fricovsky
Anyone know of a plugin that allows for multi-column sorting? - essentially the same logic as a multi-column ORDER BY statement? ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jqModal and closing

2007-02-14 Thread Brice Burgess
Benjamin Sterling wrote: I actually have another question, and I appreciate you help so far, but I need to execute a function everything a view is pulled in to change text, but I do something like below and no luck. $('#ex1a').jqm({ajax: strUrl, trigger: elem},

Re: [jQuery] Binding a submit function after ajax

2007-02-14 Thread Bruce MacKay
Thanks Mike, I thought the basic code was correct. What wasn't correct was my call to after_SS - I'd made a typo on this function's name. Cheers, Bruce At 02:29 a.m. 15/02/2007, you wrote: Bruce, That code looks ok to me. Do you have a sample page somewhere we could look at? Based on

Re: [jQuery] $.show() improvement

2007-02-14 Thread Matt Kruse
BenjaminWiegand wrote: the jquery function show() is at the moment making objects visible by running elm.style.display = 'block'; This works just fine for all block elements (div, etc.) but causes some problems when running on inline elements like links or other elements like

Re: [jQuery] Handling you javascript files

2007-02-14 Thread Kenneth
p.s. I forgot this article, which could be combined with the technique listed in my previous response: http://www.ejeliot.com/blog/73 and the previous, related article: http://www.ejeliot.com/blog/72 It is a similar technique, yet it also utilizes Douglas Crawford's JSMin to compress the JS,

Re: [jQuery] $.show() improvement

2007-02-14 Thread Chris Domigan
What if I specify a div as display:inline in my css? Hiding then showing this div using the above script would change it's display to block. Would be good if it remembered the original setting. Chris ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] Handling you javascript files

2007-02-14 Thread Chris Domigan
Here's what I do to easily bulk load all my scripts whilst still keeping everything in separate files: script type=text/javascript src=scripts.php/script And in scripts.php - ?php $scripts = array('lib/jquery.111.js', 'lib/jqModal.js', 'lib/datePicker.js',

Re: [jQuery] possible bug with jqModal (Was Re: Miniscule (1k) Drag'n'Resize for jqModal via jqDnR)

2007-02-14 Thread Brice Burgess
R. Rajesh Jeba Anbiah wrote: snip Now, something looks broken; URL doesn't load in modal; quickly refreshes the window. BTW, is there any plan to add title for the modal? say, title: 'foo' or '@title' So, that a href=foo.php class=remote title=Foofoo/a can effectively be

Re: [jQuery] possible bug with jqModal (Was Re: Miniscule (1k) Drag'n'Resize for jqModal via jqDnR)

2007-02-14 Thread Chris Domigan
Another thing... If I add a button via javascript after the initial page load and .jqm() call, how can I bind this button so that it triggers the modal? Chris ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] possible bug with jqModal (Was Re: Miniscule (1k) Drag'n'Resize for jqModal via jqDnR)

2007-02-14 Thread Brice Burgess
Chris Domigan wrote: If I add a button via javascript after the initial page load and .jqm() call, how can I bind this button so that it triggers the modal? Chris, Interesting question. There is currently no (clean) support for this as the serialized hash is not tied to the element $.jqm()

Re: [jQuery] possible bug with jqModal (Was Re: Miniscule (1k) Drag'n'Resize for jqModal via jqDnR)

2007-02-14 Thread Benjamin Sterling
Chris, I am currently doing this with a link that is being create on the fly and this is how I am doing it. $('.edit').each(function(){ buildPanel(this); $(this).click(function(){ return false; }); buildPanel = function(elem){ try{

Re: [jQuery] Pending Release: jAssistant, a pop-out, tabbed, dialog window for jQuery

2007-02-14 Thread nrwsteff
hi liquid, nice, really nice! i spend the last 30 minutes to play around with jAssistant and figured out some issues and another 30 minutes to write this down. hope it supports you to fix things... 1.) in FF 2.0, browsing your demo site: if i drag the window handle, sometimes the dialog frame

Re: [jQuery] Taconite Plugin - New and Improved!

2007-02-14 Thread Daemach
Even with the changes Mike volunteered to make, I think you were right about modifying AjaxCFC. There will be other applications where sending an XML document will be helpful and the base functionality of taconite intercepting and handling the call leaves the AjaxCFC callback free to do other

Re: [jQuery] Handling you javascript files

2007-02-14 Thread Aaron Heimlich
On 2/14/07, Kristinn Sigmundsson [EMAIL PROTECTED] wrote: On a side note, http://www.ejeliot.com/blog/73 uses JSMin to compress the files, I've used dean edwards online packer [1] before, and really like the results it gives me (havn't tried it yet with JQuery). Does anyone know of a PHP

[jQuery] onclick - toggle the creation of a TR?

2007-02-14 Thread bdee
i have a page which lists in a table, information about movies. each row displays the movie title, release date, running time... what i would like to have happen is when a row is clicked, i want to add a row beneath the clicked row which will display the movie description and a thumbnail image

Re: [jQuery] $.show() improvement

2007-02-14 Thread Michael Geary
What if I specify a div as display:inline in my css? Hiding then showing this div using the above script would change it's display to block. Good point! I was about to suggest making a list of the block level elements to avoid having to create DOM elements to test, but either approach would

Re: [jQuery] onclick - toggle the creation of a TR?

2007-02-14 Thread Chris Domigan
.next() only gets siblings, so you won't be able to select the new td as it's nested one deeper than the tr you're searching from. I have similar functionality in a program of mine, here is how I did it: $(#table_Orders tbody tr).bind(click, function() { $(#expanded).remove(); if

Re: [jQuery] onclick - toggle the creation of a TR?

2007-02-14 Thread Chris Domigan
Actually the .selected stuff is relevant to your problem I think... I have generic logic elsewhere that gives a selected row a .selected class, and highlights the row. You can see from my example that it removes any expanded previews first, then only if the row is actually selected (as opposed

[jQuery] jqModal: Defining a custom event before closing the window?

2007-02-14 Thread dalvarado
Hi, I'm trying to create a modal dialog using http://dev.iceburg.net/jquery/jqModal/ where I want to have two buttons, Save and 'Cancel. Clicking Save should perform some action, and then close the window. However, if I define the onclick handler for the Save button, the window no longer

Re: [jQuery] jqModal: Defining a custom event before closing the window?

2007-02-14 Thread Benjamin Sterling
Dave, I am in the process of figuring that out myself, give me a few minutes, I just about have it. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Does JavaScript Packer work with Jquery

2007-02-14 Thread Gaston Garcia
Hi everyone, has anyone used The JavaScript Compressor to compress the jquery file? http://joliclic.free.fr/php/javascript-packer/en/ Is it good? Thanks, Gaston ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jqModal: Defining a custom event before closing the window?

2007-02-14 Thread dalvarado
Thanks Chris, This sounds like a winning idea. I'm still new to JQuery and its plug-ins and syntax, but if the ID of my save button is saveButton, how would I invoke '.trigger(#cancelButton)'? Would it be ... input type=button id=saveButton value=Save onclick=doStuff();

Re: [jQuery] Handling you javascript files

2007-02-14 Thread Kristinn Sigmundsson
Wow how could I miss that?! Thanks alot for enlightening me Aaron. So I think that just about solves my problem. Combining [1] and [2], I'll be able to have my javascript in seperate files for development reasons and still be able to feed users a packed, compressed single file that updates

Re: [jQuery] Taconite Plugin - New and Improved!

2007-02-14 Thread Mike Alsup
Mike's quick turnaround will just let me start testing more quickly until Rob has a chance to work through the changes. Daemach, I've uploaded a new version to: http://www.malsup.com/jquery/taconite/jquery.taconite.js You can invoke $.taconite and pass it an XML document or XML string. Use

Re: [jQuery] Does JavaScript Packer work with Jquery

2007-02-14 Thread John Resig
jQuery is already compressed with Packer (that's what this script uses). Any copy of jQuery that you see that has pack.js on the end is already compressed with this script. For example: http://jquery.com/src/jquery-latest.pack.js --John On 2/14/07, Gaston Garcia [EMAIL PROTECTED] wrote: Hi

Re: [jQuery] jqModal: Defining a custom event before closing the window?

2007-02-14 Thread Chris Domigan
Ah whoops! You use it like this: $(#cancelButton).trigger(click); I must be half asleep... :) Chris ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

  1   2   >