[jQuery] Re: serial scroll 'not working'

2009-10-10 Thread Jan Limpens
Forgot to say: only the third set has pictures in it right now 2009/10/10 Jan Limpens : > Sorry for the dumb title, but f I knew what it was, I'd probably not > write this message > > At http://limpens.com I want to show my portfolios from flick > photosets. I would want

[jQuery] serial scroll 'not working'

2009-10-10 Thread Jan Limpens
Sorry for the dumb title, but f I knew what it was, I'd probably not write this message At http://limpens.com I want to show my portfolios from flick photosets. I would want to use serialscroll to navigate within large sets. I think, I did it all as in the plugin's demo site, but out of some

[jQuery] Re: trying to talk to googleadservices via $.getScript()

2009-08-31 Thread Jan Limpens
yip, that was it! 2009/8/31 Jan Limpens > aha! adbock?? maybe... > > > 2009/8/31 Jan Limpens > >> firebug gives me this in html view: >> http://www.googleadservices.com/pagead/conversion.js?_=1251741522425"</a>;> Failed >> to lo

[jQuery] Re: trying to talk to googleadservices via $.getScript()

2009-08-31 Thread Jan Limpens
aha! adbock?? maybe... 2009/8/31 Jan Limpens > firebug gives me this in html view: > http://www.googleadservices.com/pagead/conversion.js?_=1251741522425"</a>;> Failed > to load source for: > <a rel="nofollow" href="http://www.googleadservices.co

[jQuery] Re: trying to talk to googleadservices via $.getScript()

2009-08-31 Thread Jan Limpens
oogleadservices.com/pagead/conversion.js?_=1251741522425</a> the qs is not mine, if jq adds is to prevent caching it is actually doing a bad service to me. the given address works just fine. 2009/8/31 Jan Limpens > in chrome and ie that is. firefox still eats it. > > > 2009/8/31 Jan Limp

[jQuery] Re: trying to talk to googleadservices via $.getScript()

2009-08-31 Thread Jan Limpens
in chrome and ie that is. firefox still eats it. 2009/8/31 Jan Limpens > magic! the second, I wrote this post, it started to work. > > 2009/8/31 Jan Limpens > > Hello, >> >> miraculously enough, this call >> >> $.getScript('http://www.googleadser

[jQuery] Re: trying to talk to googleadservices via $.getScript()

2009-08-31 Thread Jan Limpens
magic! the second, I wrote this post, it started to work. 2009/8/31 Jan Limpens > Hello, > > miraculously enough, this call > > $.getScript('http://www.googleadservices.com/pagead/conversion.js', > function() { confirm('g'); }); > > doe

[jQuery] trying to talk to googleadservices via $.getScript()

2009-08-31 Thread Jan Limpens
Hello, miraculously enough, this call $.getScript('http://www.googleadservices.com/pagead/conversion.js', function() { confirm('g'); }); does nothing and this one $.getScript('http://tracker.webtraffic.com.br/statistic.js', function() {confirm('w')}); gives me the dialog. On firefox and IE (di

[jQuery] validate classbased via ajax request

2009-08-25 Thread Jan Limpens
Hello, my forms are all css class based validated. Now I need to check some on them serverside, so I overload the regular validation methods (or is there a better way?). jQuery.validator.addMethod("date", function(value, element) { var preValid = this.optional(element) || /^\d\d?\/\d\

[jQuery] Re: why is this href firing???

2009-07-09 Thread Jan Limpens
I was not aware of that - I wonder if there are other types of buttons, then :) 2009/7/9 Nick Fitzsimons > > 2009/7/9 Jan Limpens : > > in fact, it was a button at first, but it always submitted :) > > I ought to switch that back :) > > > > As long as you speci

[jQuery] Re: why is this href firing???

2009-07-09 Thread Jan Limpens
in fact, it was a button at first, but it always submitted :) I ought to switch that back :) 2009/7/9 NickFitz > > On Jul 9, 5:20 am, Karl Swedberg wrote: > > On Jul 8, 2009, at 11:47 AM, MorningZ wrote: > > > > > I see this (stopping links in their tracks) a lot and it's puzzling, > > > so i t

[jQuery] Re: why is this href firing???

2009-07-08 Thread Jan Limpens
7;, '-'); input.before(spinDown); spinDown.click(function() { return spin(-1); }); var spinUp = makeButton('spinUp', '+'); input.after(spinUp); spinUp.click(function() { return spin(1);

[jQuery] Re: why is this href firing???

2009-07-08 Thread Jan Limpens
ver > > > On Jul 8, 11:09 am, BaBna wrote: > > I don't really see where your link is, but if you had .click(function > > (e){e.preventDefault();} to your link, that should disable it. > > > > On Jul 8, 3:54 pm, Jan Limpens wrote: > > &

[jQuery] why is this href firing???

2009-07-08 Thread Jan Limpens
hi there! this plugin extends an input text with 2 links that increase or decrease it's value by 1. unfortunately, due to my dumbness it is not working as I would expect. When one clicks at one of the links, the link works normally as a link would (making the request to ""). Anybody could tell m

[jQuery] Re: jq.ui and the embedded autocomplete plugin

2009-02-10 Thread Jan Limpens
Ah, never mind, found it: http://jquery-ui.googlecode.com/svn/branches/dev/autocomplete/ui/ On Feb 10, 4:55 pm, Jan Limpens wrote: > Thanks a lot! > Any idea, where autocomplete sans ui has its page or repository? > > Anything further, I'll move to the other list... >

[jQuery] Re: jq.ui and the embedded autocomplete plugin

2009-02-10 Thread Jan Limpens
ve any further questions about jQuery UI, I invite you to > join the jQuery UI mailing list: > > http://groups.google.com/group/jquery-ui > > Thanks. > > - Richard > > On Tue, Feb 10, 2009 at 1:22 PM, Jan Limpens wrote: > > > Earlier I received an embedded

[jQuery] jq.ui and the embedded autocomplete plugin

2009-02-10 Thread Jan Limpens
Earlier I received an embedded autocomplete plugin, when I downloaded a jquery.ui compilation. Now this plugin is missing and it seems like the rc2 version, I still have got here, does not catch on (no errors, just does not react in any way) anymore. Is this still maintained? Where can I get it or

[jQuery] Re: "subclassing" ajaxForm

2009-02-09 Thread Jan Limpens
opts.success(data); } }); }); }; $.fn.jsonForm.defaults = { success: function(){} }; })(jQuery); On Feb 9, 5:20 pm, Jan Limpens wrote: > When I try to do this, firebug does not alert me of anythi

[jQuery] "subclassing" ajaxForm

2009-02-09 Thread Jan Limpens
When I try to do this, firebug does not alert me of anything wrong, the form is posted normally (no ajax). What mistake am I making? // requires jquery.forms plugin jQuery.fn.jsonForm = function(onSuccess) { this.ajaxForm({ dataType: 'json', success: function(data) { if (data.

[jQuery] Re: event fires exponentially

2008-12-16 Thread Jan Limpens
Yes I do. It's just a bunch of check boxes to filter and order a result. It is not updating the form, too. Nothing disastrous about this. Keep cool, Jan On Tue, Dec 16, 2008 at 5:42 PM, MorningZ wrote: > > This original code you posted > > > $(document).ready(function(){ >$form = $('#fi

[jQuery] Re: event fires exponentially

2008-12-16 Thread Jan Limpens
target: "#layout-child-output" }); }); }) strange, though On Tue, Dec 16, 2008 at 3:27 PM, Jan Limpens wrote: > Must be some bug in ajaxForm, I guess. > > if I change > $('input', $form).change(function(){ >

[jQuery] Re: event fires exponentially

2008-12-16 Thread Jan Limpens
t the exponential behavior. My guess is, that ajaxForm.submit() somehow touches the inputs and triggers the change event recursively. But that is just my impression... On Tue, Dec 16, 2008 at 3:12 PM, Jan Limpens wrote: > No, unfortunately... but I may be able to put something up... > > On

[jQuery] Re: event fires exponentially

2008-12-16 Thread Jan Limpens
alue. > > On Dec 16, 11:55 am, "Jan Limpens" wrote: >> Hi guys, >> >> I have this piece of innocent looking code: >> >> >> $(document).ready(function(){ >> $form = $('#filter-form'); >> $form.

[jQuery] event fires exponentially

2008-12-16 Thread Jan Limpens
Hi guys, I have this piece of innocent looking code: $(document).ready(function(){ $form = $('#filter-form'); $form.ajaxForm({ //dataType: 'json', success: function(){ alert("peng"); }, targe

[jQuery] layout of a project / good practices

2008-12-15 Thread Jan Limpens
Hi guys, I wonder if anybody knows a good page/tutorial/etc... that explains good practices in structuring a project that uses jquery. Currently I have a mess of files that all populate the global name space with things currently in need. If my server side programming looked like that, I'd throug

[jQuery] Re: passing args to a delegate

2008-12-15 Thread Jan Limpens
> now for the x variable. > > The downside to closures is that handled incorrectly, they can cause memory > leaks. > > But review of the many articles on the subject will help keep that from > happening. > > JK > > > -Original Message- > From: jquery-e

[jQuery] Re: passing args to a delegate

2008-12-13 Thread Jan Limpens
n Sat, Dec 13, 2008 at 3:22 AM, Mike Nichols wrote: > > Try this: > success: function() { registerImageForms(id,key,type); } > > > On Dec 12, 5:13 pm, "Jan Limpens" wrote: >> Hello, >> >> I have the following code: >> >> var registerIm

[jQuery] passing args to a delegate

2008-12-12 Thread Jan Limpens
Hello, I have the following code: var registerImageForms = function(id, key, type) { var sizes = ['small', 'medium', 'large']; $('#panel-images fieldset:visible').remove(); $.each(sizes, function(i, item) { var $clonedForm = $('#panel-images fieldset:hidden').clone();

[jQuery] Re: fadeIn something from JSON

2008-12-09 Thread Jan Limpens
e in something it has to be hidden first. If > the example with hide() doesn't work, just hide it straight from html. > > $.getJSON(urlForDescription, function(data) { >$div = $("" + data > + ""); >$element.after($div).fadeIn();

[jQuery] Re: fadeIn something from JSON

2008-12-08 Thread Jan Limpens
On Mon, Dec 8, 2008 at 7:20 PM, MorningZ <[EMAIL PROTECTED]> wrote: > you'll have to do the fadeIn inside the callback of getJSON var showDescription = function() { $element = $("a.info", this); if ($element.next("div.info").length == 0) { var urlForDescription = $element.attr('hr

[jQuery] fadeIn something from JSON

2008-12-08 Thread Jan Limpens
Hello, I have got this: var showDescription = function() { $element = $("a.info", this); if ($element.next("div.info").length == 0) { var urlForDescription = $element.attr('href') + '/description'; $.getJSON(urlForDescription, function(data) { $div = $("" + dat

[jQuery] jquery validation and disabled elements

2008-12-03 Thread Jan Limpens
How can I tell the bassistence validator to ignore disabled inputs? I have ui.tabs, and only the selected tab's controls are enabled. I want validation to fire only at them. -- Jan

[jQuery] Re: how to bind a form to json data

2008-10-29 Thread Jan Limpens
I've got something along the lines here. Just wanted to know of a more solid approach... On Wed, Oct 29, 2008 at 3:36 PM, Jay <[EMAIL PROTECTED]> wrote: > > > > On Oct 29, 10:30 am, "Jan Limpens" <[EMAIL PROTECTED]> wrote: > > hello, > > then

[jQuery] how to bind a form to json data

2008-10-29 Thread Jan Limpens
hello, I know how to make a form return json, but how can I bind a form to json, so that all textfields, selects etc. show the correct value? one two then I get from somewhere [{"id":1,"Choice":"two"}] Then the form should get into this state: one two Is this implemented somewhere

[jQuery] Re: linking two controls

2008-09-17 Thread Jan Limpens
ichard > > Richard D. Worth > http://rdworth.org/ > > On Tue, Sep 16, 2008 at 2:28 PM, Jan Limpens <[EMAIL PROTECTED]> wrote: >> >> ah and by popup i mean something like a modal dialogue on the page, >> not another browser instance. >> >> On Tue,

[jQuery] Re: linking two controls

2008-09-16 Thread Jan Limpens
ah and by popup i mean something like a modal dialogue on the page, not another browser instance. On Tue, Sep 16, 2008 at 3:22 PM, Jan Limpens <[EMAIL PROTECTED]> wrote: > hello, > > on several pages I have small forms (plural) with a textbox and a > button. If I click on t

[jQuery] linking two controls

2008-09-16 Thread Jan Limpens
hello, on several pages I have small forms (plural) with a textbox and a button. If I click on the button, a popup shows a search form. The results of the searchform are shown in the very same popup as a list of radiobuttons/labels. If someone selects a radiobutton, it's value should be inserted

[jQuery] Re: jqModal callback

2008-06-10 Thread Jan Limpens
Nobody has an idea, what I am doing wrong? Or is the question too specific / this the wrong place to ask this kind of question? 2008/6/6 Jan Limpens <[EMAIL PROTECTED]>: > Hello, > > I am in the process of writing some scripts that makes use of JqModal > (http://dev.iceburg.

[jQuery] jqModal callback

2008-06-06 Thread Jan Limpens
Hello, I am in the process of writing some scripts that makes use of JqModal ( http://dev.iceburg.net/jquery/jqModal/). What I have to do is the following: The web page contains numerous ajax forms that have as their target a modal div . If the user clicks on the submit button, the response is ins

[jQuery] Re: validate() and multiple forms that arrive via ajax

2008-04-18 Thread Jan Limpens
) { submit(form, target) } }); } function submit(form, target){ if ($(target) != null) { $(form).ajaxSubmit({target: $(target)}); } else { form.submit(); } } On Fri, Apr 18, 2008 at 6:19 PM, Jan Limpens <[EMAIL PROTECTED]> wrote: &

[jQuery] Re: validate() and multiple forms that arrive via ajax

2008-04-18 Thread Jan Limpens
foreSubmit: function(){$(form).valid()}, target: $(target) }); } } but the problem persists... any help? On Fri, Apr 18, 2008 at 1:06 PM, Jan Limpens <[EMAIL PROTECTED]> wrote: > > In a wizard I have a container page with a few divs, e

[jQuery] validate() and multiple forms that arrive via ajax

2008-04-18 Thread Jan Limpens
In a wizard I have a container page with a few divs, every div can host a certain form, that post it's result to another div. Everything via ajax. On the bottom of these forms, I call something like this: jQuery(function($){ setupAddressForm(); }); which looks like this function setupAddr