Re: [jQuery] .appendTemplated plugin (my first!)

2006-10-24 Thread John Resig
That's really nice Kurt - that was a feature that was requested today, as I presented jQuery at the Ajax Experience. Something like this is definitely important, and I feel that we'll start to see more templating solutions pop up. --John On 10/24/06, Kurt Mackey <[EMAIL PROTECTED]> wrote: > In my

Re: [jQuery] Please help (again, sorry)..NextUntil not working

2006-10-24 Thread Pascal
For anyone using John's excellent nextUntil plugin in conjunction with wrapAll, I made a slight change that might be of use to some folks.I have several long pages of content that I'm breaking into subpages and building a dynamic in-page navigation system for clicking through them without reloading

Re: [jQuery] Drop Down Menu

2006-10-24 Thread Ⓙⓐⓚⓔ
it works except when the item is clicked on, the menu does not retract (un-pop) I had the same problem with my css menu, until I added the snippet: $(".menu ul").click(function(){$(".menu").hide().animate({ height: 'show'}, 100)}); to snap the menu away from the cursor, thus making it no

Re: [jQuery] Drop Down Menu

2006-10-24 Thread Olivier Percebois-Garve
look at http://be.twixt.us/jquery/suckerFish.php olivvv [EMAIL PROTECTED] wrote: > Hello there: > > Is there a reliable Drop-Down menu plug-in for JQuery? > I've created a quick example here: *http://tinyurl.com/y4qsx5* > So far, I cannot figure out how to postpone the SlideUp effect when the >

[jQuery] Function from jquery_auto

2006-10-24 Thread Olaf Bosch
Hello, i find this fine Plugin: http://sputnik.pl/code/javascript/jquery_auto can i use the Auto-submitting SELECTs Function solo? not in the Plugin, i write this, works no: $(document).ready(function() { $('SELECT.Submit').bind('change', this.on_change); function change() { if (this.value) t

Re: [jQuery] jEditable question

2006-10-24 Thread Barry Nauta
> 1) Add an configuration option what kind of response jEditable expects. > This requires less coding from end user. Bad thing is it adds bloat to > jEditable since all different response types need their own handlers > inside plugin code. Yep, this doesn't sound right to me... Sometimes you j

Re: [jQuery] jQuery and OOP

2006-10-24 Thread Blair Mitchelmore
A technique you might find slightly less ugly is passing 'this' as an argument when you bind the event. If I recall correctly, jQuery has the ability to pass an arbitrary number of additional arguments as an additional argument array to the event bind function. function Counter() { $('#btnCou

[jQuery] .appendTemplated plugin (my first!)

2006-10-24 Thread Kurt Mackey
In my perfect world, all data I get from a server will be JSON, and I can format it how I please. Doing that with jQuery is somewhat verbose at the moment, leaving me with awesome code like this: var headlines = $(Journals.HeadlinesContainer); for(i in json){ var li =

Re: [jQuery] A question about ajaxStart and Stop

2006-10-24 Thread Mike Chabot
The ajaxStart and ajaxStop functions are broken in the current release. I am sure they will be fixed eventually. I am using an older version of jQuery until the fix is released. -Mike Chabot On 10/24/06, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote: > by execute I meant execute the bind, not execute the functi

Re: [jQuery] Short question on how to pass parameters from html to javascript functions

2006-10-24 Thread Klaus Hartl
Truppe Steven schrieb: > Hello, > > i have some javascript that i execute inside a $(document).ready to init > stuff need to be done if javascript is available. now i want to > pass parameters somehow. My first thought was just to use an standart > attribute like . > > But this seems to be no goo

Re: [jQuery] Short question on how to pass parameters from html to javascript functions

2006-10-24 Thread Truppe Steven
Sorry, i haven't testet the first code. Here is the actual version: > > The code look like this: > $(window).load(function() { > $(".doStuff").each(function(){ > > var cl = $(this).attr('class'); > if(cl.indexOf('paramMode1')!=-1) { > > }else if(cl.indexOf('paramMode2')!

[jQuery] Short question on how to pass parameters from html to javascript functions

2006-10-24 Thread Truppe Steven
Hello, i have some javascript that i execute inside a $(document).ready to init stuff need to be done if javascript is available. now i want to pass parameters somehow. My first thought was just to use an standart attribute like . But this seems to be no good solution because i want my documents

[jQuery] jQuery Talk at Ajaxian

2006-10-24 Thread Yehuda Katz
John's talk at the jQuery conference was excellent, and a good package of arguments for the serious jQuery evangelist. I'm not sure whether the slides are available online, but I'd take a look at them when they become available. -- Yehuda KatzWeb Developer | Wycats Designs(ph)  718.877.1325 ___

Re: [jQuery] Blurry Text using JQuery... But only in IE - WORKAROUND

2006-10-24 Thread George Adamson
> My problem is that the text in the JTicker plugin is coming in blurry. Yeah it is a bug in IE but you can workaround it by explicitly setting the background color of the blurry elements (to any color other than transparent) George -- View this message in context: http://www.nabble.com/Blur

Re: [jQuery] triggering an event

2006-10-24 Thread Dave Methvin
> Can I force the click event to fire manually? To trigger an event you can use...wait for it...trigger(). :-) $("foo").trigger("click"); Or you can call click with no arguments: $("foo").click(); As with a real click, the "this" will be pointing to the element. I'm not sure about the detail

Re: [jQuery] triggering an event

2006-10-24 Thread Michael Geary
> I was wondering having done: > > $(".foo").click(function (e) {alert ("foo");}); > > Can I force the click event to fire manually, or do I resort to > > var x = function (e) {alert ("foo");} > $("#foo").click(x); > ele = $("#foo").get(0) > x.call( ele, {target:ele}); You can use either of the

Re: [jQuery] triggering an event

2006-10-24 Thread Klaus Hartl
Adam van den Hoven schrieb: > I was wondering having done: > > $(".foo").click(function (e) {alert ("foo");}); > > Can I force the click event to fire manually, or do I resort to > > var x = function (e) {alert ("foo");} > $("#foo").click(x); > ele = $("#foo").get(0) > x.call( ele, {target:ele})

Re: [jQuery] triggering an event

2006-10-24 Thread Webunity | Gilles van den Hoven
Adam van den Hoven wrote: > Can I force the click event to fire manually, or do I resort to > I think you can do this with the "apply" call, although i am unsure how ;) P.s. nice surname ;) ___ jQuery mailing list discuss@jquery.com http://jquery.com

[jQuery] triggering an event

2006-10-24 Thread Adam van den Hoven
I was wondering having done: $(".foo").click(function (e) {alert ("foo");}); Can I force the click event to fire manually, or do I resort to var x = function (e) {alert ("foo");} $("#foo").click(x); ele = $("#foo").get(0) x.call( ele, {target:ele}); Adam __

Re: [jQuery] Tabs plugin: custom structure

2006-10-24 Thread Giuliano Marcangelo
So using an unordered list for the tabs , we could "paint" the tabs using the "sliding doors" technique...good idea KlausOn 24/10/06, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Hence you could use an ordered list or whatever for your tabsPS: Make it something useful ;-)-- Klaus__

Re: [jQuery] Tabs plugin: custom structure

2006-10-24 Thread Klaus Hartl
> Hence you could use an ordered list or whatever for your tabs PS: Make it something useful ;-) -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] S.L.O.W.

2006-10-24 Thread Su
Have you examined what you might be /doing/ rather than blaming the script itself? A link would be good here. I've used jQuery and various plugins on multiple sites with nothing approaching this kind of slowdown. [EMAIL PROTECTED] wrote: > Does anybody know why it takes at least 2 seconds for a

[jQuery] Tabs plugin: custom structure

2006-10-24 Thread Klaus Hartl
Hi all, from the beginning the plugin was relying on a certain HTML structure ... ... ... For some more flexibility and being able to apply somewhat advanced styling I have added another option: tabSelector Default is as-is state: '>div' ("star

Re: [jQuery] S.L.O.W.

2006-10-24 Thread Brandon Aaron
Could you post a link? -- Brandon Aaron On 10/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Does anybody know why it takes at least 2 seconds for a page with jQuery > to load in IE? That is not the same in Firefox where it seems to work > much faster. > > To make it clear, IE is slow when

[jQuery] S.L.O.W.

2006-10-24 Thread [EMAIL PROTECTED]
Does anybody know why it takes at least 2 seconds for a page with jQuery to load in IE? That is not the same in Firefox where it seems to work much faster. To make it clear, IE is slow when you click from one page to another within the same Web site when the page and all javascripts, css, image

[jQuery] accordian with text fade out

2006-10-24 Thread Benjamin Sterling
Hey all, Got the accordion script from another site (can’t remember where exactly) and modified it to fit my needs,  But now I need to have the text fade in once a “tab” is opened and fade out then close when an other tab is clicked.   Here is the link with out the fadeIn/fadeout: http:/

Re: [jQuery] Why doesnt this work ?

2006-10-24 Thread stargate
well for a noob this was a great guess and hitting solution ;) Thx a lot Miel! > Not quite sure (total javascript noob here :) ), but i think the contains > method is meant to be fired on an element, not on an attribute value (and any > String for that matter) > > Guru's, correct me if i'm wron

[jQuery] Drop Down Menu

2006-10-24 Thread [EMAIL PROTECTED]
There ya go, thanks a lot Kevin. Will have to use that solution instead. I would like to know how to access and manipulate core internal methods and variables. More documentation on that would be extremely welcomed. Thanks again, Roso [EMAIL PROTECTED] wrote: > The problem is that the user mous

Re: [jQuery] Why doesnt this work ?

2006-10-24 Thread Miel Soeterbroek
Not quite sure (total javascript noob here :) ), but i think the contains method is meant to be fired on an element, not on an attribute value (and any String for that matter) Guru's, correct me if i'm wrong ;) Something like this should work: (not tested btw) var arrowSrc = $(arrow).src()

Re: [jQuery] Why doesnt this work ?

2006-10-24 Thread Ⓙⓐⓚⓔ
on first look: arrow is a proper JQ object so it would not need $() to make it into a JQ object.. Hope that helps! On 10/24/06, stargate <[EMAIL PROTECTED]> wrote: > Hello jQuery guru's :) > > could someone tell me why this code doesnt work ? > > - > > var

Re: [jQuery] Drop-Down Menu (did anybody make one with JQuery?)

2006-10-24 Thread Ⓙⓐⓚⓔ
I think the reason you don't see lots of examples on doing menus via jquery, is because it is actually pretty trivial, and most of it can be accomplished with CSS, and simple nested ULs and LIs as a CSS exercise, I wrote my menu system for my projects page using ONLY css... I had 1 bug, after cli

[jQuery] Why doesnt this work ?

2006-10-24 Thread stargate
Hello jQuery guru's :) could someone tell me why this code doesnt work ? - var arrow = $("#draghandle").find("img"); if($(arrow).src().contains("right") != ""){ $(arrow).src("Modules/User_Manager/images/arrow_down.gif"); } else { $(arrow).src("Modules/U

Re: [jQuery] Drop-Down Menu (did anybody make one with JQuery?)

2006-10-24 Thread kscholl . jq
The problem is that the user mouses out of the primary nav item (Help, Options) before acquiring the list items under it. You might consider treating the top level as an unordered list as well, with nested unordered lists serving as the drop downs. This way, the user's pointer is in essence sti

Re: [jQuery] Blurry Text using JQuery... But only in IE

2006-10-24 Thread Kurt Mackey
If you have clear type disabled, you shouldn't see what he's talking about. That particular bug only shows when clear type is one (and maybe basic font smoothing, I'm not sure). Ie7 apparently disabled clear type for elements that have any kind of filter applied. -Original Message- From:

Re: [jQuery] Blurry Text using JQuery... But only in IE

2006-10-24 Thread Benjamin Sterling
Jason, I am not seeing the issue in either ie6 or ie7 on pc. Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Levine Sent: Tuesday, October 24, 2006 2:25 PM To: jQuery Discussion Subject: [jQuery] Blurry Text using JQuery... But only in IE My co

Re: [jQuery] Why do i need a delay in $(document).ready when using the center plugin ?

2006-10-24 Thread Klaus Hartl
Truppe Steven schrieb: > The problem is that i need to center it vertical and horizontal. And i > haven't found a crossbrowser way of doing that. > The $(window).load works fine !! Nonetheless here a tip how I would do it: Standards CSS, supported by all modern browsers: div.image { display

Re: [jQuery] Updating multiple select fields at once

2006-10-24 Thread Miel Soeterbroek
Andy, Call the following function when the multiple selector (css class: multiSelect) changes, and the single select fields (class singleSelect) will change accordingly (if value is present). function go() { $(".singleSelect").each( function() { $(this).val( $(".multiple

Re: [jQuery] Blurry Text using JQuery... But only in IE

2006-10-24 Thread Klaus Hartl
Jason Levine schrieb: > My company has an internal Portal system and I was planning on making some > major changes to the functionality it offers by enhancing it with JQuery > powered features. However, I've run into a problem with one of these > features (dubbed "Portal Gadgets"). When my pag

[jQuery] Blurry Text using JQuery... But only in IE

2006-10-24 Thread Jason Levine
My company has an internal Portal system and I was planning on making some major changes to the functionality it offers by enhancing it with JQuery powered features. However, I've run into a problem with one of these features (dubbed "Portal Gadgets"). When my page loads up, I use "load" to pu

Re: [jQuery] jEditable question

2006-10-24 Thread Robert Wagner
2006/10/24, Mika Tuupola <[EMAIL PROTECTED]>: > > On Oct 24, 2006, at 17:54, Robert Wagner wrote: > > >> Just my $0.02: I find this odd. Imagine that you want some > >> processing to be > >> done based on the input (i.e. server side email address checking) > >> (We all > > that was my attempt too a

Re: [jQuery] jEditable question

2006-10-24 Thread Miel Soeterbroek
Mika In order to keep the code as reusable as possible, i'd just go for the custom callback method, and leave the way of handling the response to the user. That way, i (and perhaps others) will be able to implement quick and dirty error handling, and others can go with JSON or anything else. T

[jQuery] Drop-Down Menu (did anybody make one with JQuery?)

2006-10-24 Thread [EMAIL PROTECTED]
Pause plug-in doesn't seem to do the job here. http://tinyurl.com/y4qsx5 Anybody has an idea of how to build a reliable (memory-leak free, cross-browser) plug-in? Thanks. Roso ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Updating multiple select fields at once

2006-10-24 Thread Andy Matthews
I got this taken care of. jQuery makes it SOOO easy. function changeAll() { var theValue = $('#setallvalues').val(); $('select').val(theValue); } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andy Matthews Sent: Tuesday, October 24, 2006

Re: [jQuery] A question about ajaxStart and Stop

2006-10-24 Thread Ⓙⓐⓚⓔ
by execute I meant execute the bind, not execute the function that was bound You got it right. Perhaps you need to put it up on the web with a link... this extremely simple one works for me: $("html") .ajaxStart(function(){ $(this).background("blue");}) .ajaxStop(function(){

[jQuery] Drop Down Menu

2006-10-24 Thread [EMAIL PROTECTED]
Hello there: Is there a reliable Drop-Down menu plug-in for JQuery? I've created a quick example here: *http://tinyurl.com/y4qsx5* So far, I cannot figure out how to postpone the SlideUp effect when the mouse goes over the drop down menu itself. Please help, thank you. Roso * * ___

Re: [jQuery] Window Dialogues

2006-10-24 Thread bbuchs
Probably not what Yehuda is looking for. My "Dialog" is essentially a replacement for window.confirm() calls. Dan Atkinson wrote: > > One that's already done in a way. > > Uses the pre-existing thickbox though. > > http://bryanbuchs.com/tb_dialog/ > > > wycats wrote: >> >> Anyone know of

Re: [jQuery] Updating multiple select fields at once

2006-10-24 Thread Dave Methvin
How about something like this? jQuery.fn.selectOption = function(v) { return jQuery.each(function(){ for ( var i=0; i < this.options.length; i++ ) if ( this.options[i].value == v ) { this.selectedIndex = i; return; } }; }; $("#GlobalSelectGoButton").click(func

Re: [jQuery] Window Dialogues

2006-10-24 Thread Dan Atkinson
One that's already done in a way. Uses the pre-existing thickbox though. http://bryanbuchs.com/tb_dialog/ wycats wrote: > > Anyone know of any good movable, expandable and minimzable window dialogs > (like http://prototype-window.xilinus.com/index.html for Prototype) > > -- > Yehuda Katz >

[jQuery] Updating multiple select fields at once

2006-10-24 Thread Andy Matthews
I've got a page which allows a user to set profiles for hours of the day. There are a LOT of dropdowns on this page and I've had some users which say they want to set all the dropdowns to a specific value. Setting them all manually would take a few minutes of time. So the users want to know if they

Re: [jQuery] jQuery and OOP

2006-10-24 Thread Dave Methvin
Mike's approach can be expanded to a complex ajax application. Closures and element properties are natural ways to associate instance data with elements in jQuery. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kolman Nándor Sent: Tuesday, October 24, 20

Re: [jQuery] jEditable question

2006-10-24 Thread Mika Tuupola
On Oct 24, 2006, at 17:54, Robert Wagner wrote: >> Just my $0.02: I find this odd. Imagine that you want some >> processing to be >> done based on the input (i.e. server side email address checking) >> (We all > that was my attempt too at first. error checking = application logic = > write my

Re: [jQuery] jEditable question

2006-10-24 Thread Barry Nauta
> that was my attempt too at first. error checking = application logic = > write my own structures etc. > but then think about error handling as a very basic thing that is > already implementet in webserver, ajax functions etc. why not using > this infrastructure? it's straightforward, ready to us

Re: [jQuery] jEditable question

2006-10-24 Thread Robert Wagner
2006/10/24, Barry Nauta <[EMAIL PROTECTED]>: > On Tuesday 24 October 2006 15:58, Mika Tuupola wrote: > > On Oct 24, 2006, at 14:43, Robert Wagner wrote: > > > how about that: > > > if an error occours, let the server send a 500 header and the error > > > message as a content. > > > > > > header("HT

Re: [jQuery] jQuery and OOP

2006-10-24 Thread Brandon Aaron
It is somewhat ugly but it is JavaScript. Perhaps it would be helpful if jQuery had a method like Prototype's bind or Dojo's hitch. Is there a reason why jQuery doesn't have something similar? -- Brandon Aaron On 10/24/06, Kolman Nándor <[EMAIL PROTECTED]> wrote: > Hi, > > I am new to jQuery, an

Re: [jQuery] jQuery and OOP

2006-10-24 Thread Kolman Nándor
That is really nice and handy you wrote :), but I am writing a complex ajax application. I just created a simple scenario to show what I want. So yes, I really need it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Geary Sent: Tuesday, October

Re: [jQuery] Window Dialogues

2006-10-24 Thread Chris Ovenden
Looks horrid in IE7 while the fake window is being built. On 10/24/06, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote: > Wow that is pretty! But so big and unpleasantly written! I look > forward to a jq version! > > On 10/23/06, Yehuda Katz <[EMAIL PROTECTED]> wrote: > > Anyone know of any good movable, expandabl

Re: [jQuery] jQuery and OOP

2006-10-24 Thread Chris Ovenden
Nice question, Kolman. AFAIK, and I would love to hear different, is that this (ha ha) is the proper way to do it in Ecmascript languages. In fact, in 'neater' OOP languages like Java the same problem would occur if you had two parallel sets of objects, as we have here with the DOM and user-constr

Re: [jQuery] jQuery and OOP

2006-10-24 Thread Michael Geary
Do you really need an object at all? This (pun intended) would do the same thing as all the code you listed: $(function() { var $btn = $('#btnCounter'), nr = 0; $btn.click( function() { $btn.attr( 'value', nr++ ); }); }); -Mike > From: Kolman Nándor > > I am new

Re: [jQuery] url and uri

2006-10-24 Thread Sean O
Check this recent thread for more info on this: http://www.nabble.com/method-plugin-for-getting-query-string-vars--tf2481232.html#a6939213 ___ SEAN O code enquest wrote: > > Can somebody explain me how to read url's uri whit jquery... I want to > change thing when ?id=1 etc with jquery. >

Re: [jQuery] jEditable question

2006-10-24 Thread Barry Nauta
On Tuesday 24 October 2006 15:58, Mika Tuupola wrote: > On Oct 24, 2006, at 14:43, Robert Wagner wrote: > > how about that: > > if an error occours, let the server send a 500 header and the error > > message as a content. > > > > header("HTTP/1.1 500 Internal Server Error"); > > print("this cannot

Re: [jQuery] A question about ajaxStart and Stop

2006-10-24 Thread Mats Lindblad
You mean, initilized? Not executed ... right?Does not work for me.On 10/24/06, Ⓙⓐⓚⓔ <[EMAIL PROTECTED] > wrote:anywhere, it just has to be executed before the ajax call!Start simple, make sure your jq works in other contexts. On 10/23/06, Mats Lindblad <[EMAIL PROTECTED]> wrote:> But where do I ini

Re: [jQuery] jEditable question

2006-10-24 Thread Mika Tuupola
On Oct 24, 2006, at 14:43, Robert Wagner wrote: > how about that: > if an error occours, let the server send a 500 header and the error > message as a content. > > header("HTTP/1.1 500 Internal Server Error"); > print("this cannot be done."); Agreed. I find error headers to be more elegant and u

Re: [jQuery] jEditable question

2006-10-24 Thread Barry Nauta
> 1.0.8 is already a bit old. Will downgrade from 1.5.x series and try > it out. It is indeed ;-) Nevertheless it would be great if this can be fixed. By the way, you do not mention that it works with IE on your website. It does work on XP SP2 with version 6.0.2900and some more version

Re: [jQuery] jEditable question

2006-10-24 Thread Mika Tuupola
On Oct 24, 2006, at 12:06, Barry Nauta wrote: > - Using firefox 1.0.8 jeditable does not return. > I can edit my text and the changes are saved in the database. > However, after > hitting the enter butting (and thus submitting the changes), the > busy icon is > show forever, it does not retur

Re: [jQuery] Why do i need a delay in $(document).ready when using the center plugin ?

2006-10-24 Thread Klaus Hartl
Truppe Steven schrieb: > The problem is that i need to center it vertical and horizontal. And i > haven't found a crossbrowser way of doing that. > The $(window).load works fine !! My first email doesn't get trough and there was an error of mine anyway...: Here's how I would do centering which de

Re: [jQuery] Expressions: Search for children within context

2006-10-24 Thread Klaus Hartl
>> Two thoughts: >> >> $( '* > dt', context ); > > Wouldn't that select all elements within context first, and then all dt > children of those elements? That would select all dt elements that are a child of some element, which can (should) only be a dl element. If you had nested dls there it

Re: [jQuery] Expressions: Search for children within context

2006-10-24 Thread Jörn Zaefferer
Hi Brian! > Two thoughts: > > $( '* > dt', context ); Wouldn't that select all elements within context first, and then all dt children of those elements? > Just put an ID on the particulat dl that you want to use as the context. > :) > > $( dl#foo > dt ); The context is the current jQuery s

Re: [jQuery] Why do i need a delay in $(document).ready when using the center plugin ?

2006-10-24 Thread Giuliano Marcangelo
Steven,maybe this page will be of some assistance toyouhttp://www.pmob.co.uk/pob/hoz-vert-center.htmgiuliano On 24/10/06, Truppe Steven <[EMAIL PROTECTED]> wrote: The problem is that i need to center it vertical and horizontal. And ihaven't found a crossbrowser way of doing that.The $(window).load

Re: [jQuery] Window Dialogues

2006-10-24 Thread Rey Bango
Oh yeah! Get er done Gilles! w00t! I asked for that awhile back as well. I love that plugin for Prototype. [EMAIL PROTECTED] wrote: >>Anyone know of any good movable, expandable and minimzable window dialogs >>(like http://prototype-window.xilinus.com/index.html for Prototype) > > > I am allrea

Re: [jQuery] Why do i need a delay in $(document).ready when using the center plugin ?

2006-10-24 Thread Truppe Steven
The problem is that i need to center it vertical and horizontal. And i haven't found a crossbrowser way of doing that. The $(window).load works fine !! Truppe Steven ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] jQuery and OOP

2006-10-24 Thread Kolman Nándor
Hi, I am new to jQuery, and I have a question concerning object oriented programming. I have created a sample scenario. In the HTML code I add a button: In js, I create a class called Counter. In the constructor I add an event handler to the click event of the button. The function I specify as

[jQuery] url and uri

2006-10-24 Thread Enquest
Can somebody explain me how to read url's uri whit jquery... I want to change thing when ?id=1 etc with jquery. Enquest ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] ajaxError and response content

2006-10-24 Thread Robert Wagner
hi, server responses with like status header 500 will trigger ajaxerrors. is it possible to get the response content of such errors? i think that would actualy be nice. so one could check these responses before falling back to a generic message as in the documentation example: $("#msg").ajaxError(

Re: [jQuery] jEditable question

2006-10-24 Thread Robert Wagner
2006/10/24, Miel Soeterbroek <[EMAIL PROTECTED]>: > Barry, > > I've added some code to show an error message. > Quite ugly solution though: > I catch all returned text, and look for the following string '[error]', > if it's found, I revert the form field text and alert the error. > > The trick is t

Re: [jQuery] Expressions: Search for children within context

2006-10-24 Thread Brian Miller
Two thoughts: $( '* > dt', context ); OR Just put an ID on the particulat dl that you want to use as the context. :) $( dl#foo > dt ); - Brian > Hi jQueryians, > > how do I search for a children within a context? > > In other words, how to translate this: > $(context).children("dt")... > in

Re: [jQuery] Window Dialogues

2006-10-24 Thread Mike Alsup
> It is allready pretty big in filesize, but i wanted as much flexibility as > possible, meaning you can set: isDraggable, isResizable, hasTitlebar, > hasStatusbar etc.etc. > > I think i can have a demo ready tomorrow late in the evening. Cool. Thanks Gilles!

Re: [jQuery] Another update for form.js

2006-10-24 Thread Mike Alsup
> Could you add some documentation about the parameters for those callbacks? Hi Jörn, The inline docs have more details about the callback args. I only posted the bit that itemized the available options. Thanks. Mike ___ jQuery mailing list discuss@

Re: [jQuery] new plugin: SIFR (Flash Image Replacement)

2006-10-24 Thread Oliver Boermans
I will give this a spin at work - thanks Gilles! On 22/10/06, Webunity | Gilles van den Hoven <[EMAIL PROTECTED]> wrote: > Hi guys, > > http://gilles.jquery.com/sifr/ > > enjoy ;) ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jEditable question

2006-10-24 Thread Miel Soeterbroek
Barry, I've added some code to show an error message. Quite ugly solution though: I catch all returned text, and look for the following string '[error]', if it's found, I revert the form field text and alert the error. The trick is to format the error texts well (ie containing the search string).

[jQuery] jEditable question

2006-10-24 Thread Barry Nauta
Hi all, I have recently discovered jquery and jeditable. When using jeditable, I discovered two things: - Using firefox 1.0.8 jeditable does not return. I can edit my text and the changes are saved in the database. However, after hitting the enter butting (and thus submitting the changes), th

Re: [jQuery] OT: Anyone know of a good tree control

2006-10-24 Thread Jörn Zaefferer
> Kevin, that looks great! I bet those dotted numbers could be > dynamically generated too! The numbers are useful when displaying the tree without JS. And while we are at it, remove the two buttons, or rather display them only when scripts are enabled. -- Jörn Zaefferer http://bassistance.de

[jQuery] scrolling window when draggable leaves viewport?

2006-10-24 Thread Eckhard Rotte
Hi there, is it possible to get a scrolling feature for any drag/droppable? For Example: If you leave the viewport with an object and the document body is longer or wider than the viewport, the document scrolls connected to the mouse position. You can see a good example at this YUI demo:

Re: [jQuery] Another update for form.js

2006-10-24 Thread Jörn Zaefferer
Hi Mike! > before: Callback method to be invoked before the form is submitted. > default value: null > > after:Callback method to be invoked after the form has been > successfully submitted. > default value: null Could you add some documentation about the parameters for