[jQuery] Default Menu

2009-08-01 Thread jan
Hi! I'm trying to show the selected menu with a different color background when a user clicks on a particular main menu item. This works with a ul that does not have child items on it. But ul's with child elements the css does not seem to work and seemed overridden by javascript. What i did was

[jQuery] Re: Form Plugin issue

2009-09-11 Thread Jan
and 'script' and even 'xml' out of sheer desperation), so if anyone has any ideas they are more than welcome! Jan On Aug 27, 12:01 am, Lay András wrote: > Hello! > > On Wed, Aug 26, 2009 at 9:04 PM, Mike Alsup wrote: > > Kostya is correct.  Try embedding the response i

[jQuery] replace existing div with fadeIn

2009-05-18 Thread jan
ange the code that does what I want. I have nine links on my list. Thank you very much in advance for the help. Jan

[jQuery] Re: replace existing div with fadeIn

2009-05-18 Thread jan
does anyone know solution for this? thank you

[jQuery] autocomplete plugin error callback?

2009-07-09 Thread Jan
? If i'm not mistaken adding ", error : options.errorCallback" inside the $.ajax(...) somewhere in the middle of jquery.autocomplete.js would suffice to achieve this behavior... Plz consider, thx, regards, Jan

[jQuery] each function not iterating

2009-10-21 Thread jan
Hi! Sorry to flood please disregard my previous attemp to post for this same issue. This is the real post. I have this code within the ready function: $("form.uplform").live('submit', function(){ if($(this).attr('validate')=='true'){

[jQuery] jquery each function iterate through form inputs problem

2009-10-24 Thread jan
Hi! I cant get this each function to work inside a form: for example i have this code: $('#formid>input').each(function(){ if($(this).attr('id')!='') alert($(this).attr('value'); //fetch id if not blank ang show value }); the code inside this function does not run if the form is render

[jQuery] Get the below and above

2009-11-18 Thread Jan
Hi there, I'm new to jQuery and was looking for a way to get a table cell above or below the current one. What I mean is a function like .prev() or .next() but those only help me getting the cell to the left or to the right.

[jQuery] Re: Get the below and above

2009-11-18 Thread Jan
Thank you both, it works :)

[jQuery] Problem with each()

2007-10-15 Thread Jan
Hi, I'm experiencing a problem with each(): function CalculateDuration() { $(".duration").each(function() { var dur = $(this).html(); dur++; $(this).html(dur); }); } This function should take the value of fields tagged with .durat

[jQuery] chaining and functions

2008-09-02 Thread jan
$('#content').empty().append( function() { return "hello" } ); does not produce any output? thanks, Jan Vandorpe

[jQuery] Re: Encoding forgin languages Jquery+Validation plugin - help!

2007-04-05 Thread Jan Sorgalla
string in proccessajax.php. This will not work correctly on multibyte strings. You can either use mb_strlen($str)[1] (if the mbstring extension is installed on your server) or strlen(utf8_decode($str)). Jan [1] http://php.net/mb-strlen -- View this message in context: http://www.nabble.com/Encod

[jQuery] Re: Encoding forgin languages Jquery+Validation plugin - help!

2007-04-05 Thread Jan Sorgalla
outputting the json code? header('Content-Type: application/json; charset=utf-8'); Jan

[jQuery] Re: Flexible jCarousel

2007-04-12 Thread Jan Sorgalla
jcarousel-preview/examples/static.html There are a lot of api and configuration changes so just ask if something isn't clear. Jan

[jQuery] Re: Flexible jCarousel

2007-04-12 Thread Jan Sorgalla
different sizes and a flexible carousel width. But i never thought about your special case ;) In the new new version, you can do it with the callback functions (i've adjusted the example posted before) but its also a little bit hackish. So, in short, i don't have a built-in solution right now but i keep that in mind... Jan

[jQuery] Re: Flexible jCarousel

2007-04-13 Thread Jan Sorgalla
Klaus Hartl wrote: > Jan Sorgalla schrieb: > > ok, i see now. One of the main differences between the old and the new > > version of jCarousel is, that you no longer have to pass itemsVisible > > as option. The number of visible items are calculated on the fly > > de

[jQuery] Re: hover and autoscroll

2007-04-13 Thread Jan Sorgalla
our help will be greatly appreciated. > thats not possible with the current version of jCarousel. Just look at their source code. Its done quite simple, look for the keyword "crossbar" in the source code. Jan -- View this message in context: http://www.nabble.com/hover-and-autoscroll-

[jQuery] [jqUploader] What with users without flash ?

2007-04-16 Thread Jan Koprowski
Hi ! When I start use this extension i hope that when the browser doesn't have flash field will be "normal" but not. I change (almost everything) to get this effect but the main problem is: var $el = jQuery('<' + opts.elementType + ' id="'+containerId+'" class="' + opts.cls + '" style="width:'+o

[jQuery] Re: Form plugin: file upload question

2007-04-16 Thread Jan Sorgalla
t/form-data" as attribute in your form tag? Jan

[jQuery] Re: Form plugin: file upload question

2007-04-16 Thread Jan Sorgalla
> > Just to make sure: Do you have enctype="multipart/form-data" as > > attribute in your form tag? > > The plugin does that for you. :-) Ok ;) Just saw guys debugging for hours before they noticed that they just forgot it... Jan

[jQuery] Re: a grid rather than a row

2007-04-18 Thread Jan Sorgalla
carousel to wrap the li items. I > think its something to do with the styles getting inserted dynamically by > the javascript, but i cant seem to alter them without breaking the whole > workings. > > any suggestions on how i could get this to work? > Just put the grid with 1

[jQuery] Re: a grid rather than a row

2007-04-19 Thread Jan Sorgalla
in an LI? > > it seems like theres an overflow:hidden somewhere maybe which is > preventing the height attribute from being effective. > You can put whatever you want inside a . It can be a single image or a table of 16 images. Just customize the getItemHTML() function. Jan

[jQuery] Re: .load jcarousel

2007-04-19 Thread Jan Sorgalla
.load("current.php", function() { $('#mycarousel', this).jcarousel({ /* Configuration goes here */ }); }); } Jan -- View this message in context: http://www.nabble.com/.load-jcarousel-tf3607584.html#a10085108 Sent from the jCarousel mailing list archive at Nabble.com.

[jQuery] Re: hover and autoscroll

2007-05-01 Thread Jan Sorgalla
what source code did you looked at. I meant the page source of the vibesconnect website, not the jcarousel source code. Jan -- View this message in context: http://www.nabble.com/hover-and-autoscroll-tf3568171.html#a10268086 Sent from the jCarousel mailing list archive at Nabble.com.

[jQuery] Re: Thickbox 3 and Jcarousel hack

2007-05-07 Thread Jan Sorgalla
cts/jcarousel-0.2.0-beta/ There's also an example with Thickbox3 integration included. Jan -- View this message in context: http://www.nabble.com/Thickbox-3-and-Jcarousel-hack-tf3687800.html#a10356314 Sent from the jCarousel mailing list archive at Nabble.com.

[jQuery] jCarousel 0.2.0 Beta

2007-05-08 Thread Jan Sorgalla
post: http://sorgalla.com/2007/05/07/jcarousel-020-beta/ Let me know if you have suggestions and/or if you find bugs. Jan

[jQuery] Re: need help to add the autoscroll together with the external controls

2007-07-26 Thread Jan Sorgalla
in the "Carousel with external controls" example and pass the autoscroll option. Jan -- View this message in context: http://www.nabble.com/need-help-to-add-the-autoscroll-together-with-the-external-controls-tf4145305.html#a11811654 Sent from the jCarousel mailing list archive at Nabble.com.

[jQuery] Re: Dynamic Load Ajax of 2 jcarousel same page

2007-08-02 Thread Jan Sorgalla
ion (carousel, state) { mycarousel_itemLoadCallback('../slideshow1.txt', carousel, state); } }); and for the second carousel: jQuery('#mycarousel').jcarousel({ itemLoadCallback: function (carousel, state) { mycarousel_itemLoadCallback('../slideshow2.txt', carous

[jQuery] Re: jCarousel question

2007-08-04 Thread Jan Sorgalla
something > wrong or going about this the wrong way? > > Thanks in advance for the help! i guess you're talking about jCarousel, so the "start" option isn't what you need. Check out this example: http://sorgalla.com/projects/jcarousel/examples/special_start.html Jan

[jQuery] Re: jCarousel question

2007-08-04 Thread Jan Sorgalla
tell jCarousel only scroll 1 item per click. jQuery('#mycarousel').jcarousel({ scroll: 1, itemFirstInCallback: {onAfterAnimation: mycarousel_itemFirstInCallback} }); Jan

[jQuery] Re: need help to add the autoscroll together with the external controls

2007-08-05 Thread Jan Sorgalla
uredcontentslider.htm is > there a way to add a feature like this "the pagination and a next and prev > button" by dynamic ?? > check this out: http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html Jan -- View this message in context:

[jQuery] Re: Bug IE6 only (next and previous button)

2007-09-13 Thread Jan Sorgalla
om/jcaroussel/index.htm that happens due to the fact that IE6 can't handle empty divs properly. Try to build up the jcarousel markup like (note the comments inside the divs): ... Jan

[jQuery] Re: Bug IE6 only (next and previous button)

2007-09-13 Thread Jan Sorgalla
nk you > that happens due to the fact that IE6 can't handle empty divs properly. Try to build up the jcarousel markup like (note the comments inside the divs): ... Jan -- View this message in context: http://www.nabble.com/Bug-IE6-only-%28next-and-previ

[jQuery] Re: Bug IE6 only (next and previous button)

2007-09-13 Thread Jan Sorgalla
Hi, did you tried it with exactly the code i posted? Jan Chboc wrote: > > Hi Jan, > > I'd try your fix but the bug still there. I don't know what to do. > > Alex > > > Jan Sorgalla wrote: >> >> Hi, >> >> >> Chboc w

[jQuery] Re: Prev and Next problem

2007-09-15 Thread Jan Sorgalla
Hi, that happens due to a bug in jQuery 1.2. You either have to wait for 1.2.1 (which is scheduled for this weekend) or use the older version delivered with jCarousel. debussy007 wrote: > > Hello, > > I have a problem to make this plugin running correctly for my web site. > > I have been tr

[jQuery] Response not working after page has been loaded by jQuery Load

2009-07-23 Thread jan timmer
ation fails. Does anybody know what is going on here, or better have a solution? Thanks in advance, Jan

[jQuery] validate classbased via ajax request

2009-08-25 Thread Jan Limpens
I set element valid? }); }, jQuery.validator.messages['date']); I might be doing something wrong... I know there is a remote({}) method, but how could I use it from there? It might work less asynchronously, thus easier... -- Jan

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

2009-08-31 Thread Jan Limpens
nter/text/19216.html)! But - anyone did come around this somehow, or maybe test this in his/her firebug console? -- Jan

[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] 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
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
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
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] How animate in sortable ?

2009-09-15 Thread Jan Koprowski
Hi ! I'am creating movable panels using jQuery UI sortable behavior. Unfortunately my columns have different size. Question is - how smooth resize panel after dropped it on the column to column size ? Greetings from Poland ! -- Jan Koprowski

[jQuery] why is this href firing???

2009-07-08 Thread Jan Limpens
spinUp', '+'); input.after(spinUp); spinUp.click(function() { return spin(1); }); }; })(jQuery); $('#spinMe').spinner(); -- Jan

[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] 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-09 Thread Jan Limpens
sers that JQuery supports > allow this. (But remember to set "overflow: visible;" in the styling, > or IE6 (as usual) can make a mess of it if it under certain > circumstances: <http://natbat.net/2009/Jun/10/styling-buttons-as-links/ > >.) > > Regards, > > Nick. > -- > Nick Fitzsimons > http://www.nickfitz.co.uk/ > > -- Jan

[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] serial scroll 'not working'

2009-10-10 Thread Jan Limpens
ut of some reason, it won't scroll. All the code is in http://limpens.com/js/main.js . If someone could tell me, what I am doing wrong, I'd be much obliged :) -- Jan

[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

Re: [jQuery] jQuery in Action = $15 off today (12/28)

2009-12-28 Thread Jan Wilson
they are complete, then the brand-new one in late March or April. Cost for the Second Edition, in PDF or 2 other ebook formats, after the $15 discount, is only $12.50 US! -- Jan

Re: [jQuery] jQuery in Action = $15 off today (12/28)

2009-12-28 Thread Jan Wilson
Rick Faircloth wrote: I'm not sure what you mean, Jan... We can order the *new* second edition now, which is not available yet, and get chapters in PDF as they're completed...is that part correct? The part I don't understand is "then the brand-new one in late March or Ap

[jQuery] Re: Ajax and Flickr picture load??

2007-09-28 Thread Jan Sorgalla
ine? Just go to http://www.flickr.com/services/api/keys/ and create your own api key. Then set it with the variable $api_key = 'you api key'; and remove include '../../config.flickr.php'; Jan -- View this message in context: http://www.nabble.com/Ajax-and-Flickr-picture

[jQuery] Re: thumbnails in jCarousel inquiry

2007-10-05 Thread Jan Sorgalla
he width of the clip and container of the the carousel: .jcarousel-skin-ie7.jcarousel-container-horizontal { width: 245px; padding: 20px 40px; margin-left: 5px; margin-right: 5px; } .jcarousel-skin-ie7 .jcarousel-clip-horizontal { width: 245px; height: 77px; } Jan

[jQuery] Re: how to trigger jCarousel callbacks from the outside..

2007-10-24 Thread Jan Sorgalla
lick', function() { // Do loading stuff here: // carousel.add(position, item); }; }; jQuery('#mycarousel').jcarousel({ initCallback: bindLoader }); Jan

[jQuery] Re: how to trigger jCarousel callbacks from the outside..

2007-10-28 Thread Jan Sorgalla
Can you post a link to a sample page with your carousel? Jan On 24 Okt., 17:12, pigeonpoop <[EMAIL PROTECTED]> wrote: > the variable; carousel, the argument passed into bindLoader, is > undefined.. would you know what could cause this? FYI.. my carousels > are being initialized

[jQuery] Re: Initialization of jCarousel with too few elements.

2007-11-07 Thread Jan Sorgalla
le of loops in the code that loop, not the items, but > the number of possible visible item, resulting in null-items. Just to > be sure, I modified the example > athttp://sorgalla.com/projects/jcarousel/examples/static_simple.html > so it only had 2 items. I got the same error there. i've just released a new version which includes a fix for that. Thanks for the bug report. Jan

[jQuery] Re: jcarousel: how to count click next and previous

2007-11-10 Thread Jan Sorgalla
var currPage = ((carousel.first - 1) / 3) + 1; makevisible('vedi'+ currPage) return false; }); Jan

[jQuery] Re: cross domain ajax calls

2007-11-12 Thread Jan Sorgalla
ond. if you query more, the server blocks > my servers ip. > > i need a pure java script solution. so every query will be made via > users ip. > but i am about to loose my hope. maybe that will help: http://code.google.com/apis/ajaxfeeds/ Jan

[jQuery] Re: jcarousel using jquery - VERY slow init in IE7

2007-11-12 Thread Jan Sorgalla
straightforward > html):http://www.azestimators.com/slide/az.htm > > If you can help me figure out why this takes so long with IE7 I would > really appreciate it. > Thanks, > Tim hmm...the page loads fast for me in IE7. Jan

[jQuery] Re: jCarousel: No width/height set for items.

2007-11-24 Thread Jan Sorgalla
icurl) { > $('#dspPic').html(" > >").animate({height: 'show',opacity: 'show'}, 'slow'); > } > > Thanks! did you included the core css file (jquery.jcarousel.css)? Jan

[jQuery] Re: Jcarousel problems in Safari.

2007-11-30 Thread Jan Sorgalla
- and click the back and forward buttons you should see that items > just disappear. In my implementation the items usually start off > showing but then end up spaced really far apart or disappearing > completely when you scroll back and forth. i've checked that with version 3.0.4 and can't reproduce that. Its all working just fine for me... Jan

[jQuery] Re: jCarousel 0.2.0 Beta

2007-05-08 Thread Jan Sorgalla
Hi, check the blog post: http://sorgalla.com/2007/05/07/jcarousel-020-beta/ Jan On 8 Mai, 17:37, Equand <[EMAIL PROTECTED]> wrote: > sorry, can't find "changes" log, so what's new? > > On May 8, 3:42 pm, Jan Sorgalla <[EMAIL PROTECTED]> wrote: > >

[jQuery] Re: jCarousel 0.2.0 Beta

2007-05-09 Thread Jan Sorgalla
You forgot to include the stylesheets. Don't forget to include both the core and skin stylesheet. Jan On 10 Mai, 06:11, Equand <[EMAIL PROTECTED]> wrote: > it's not working... i've setup everything and all that it creates is a > long horizontal list of my images with

[jQuery] Re: jCarousel 0.2.0 Beta

2007-05-10 Thread Jan Sorgalla
Hi Bil, thanks for the hint. I've updated the instructions. Jan On May 10, 9:07 am, Bil Corry <[EMAIL PROTECTED]> wrote: > Jan Sorgalla wrote on 5/9/2007 11:53 PM: > > > You forgot to include the stylesheets. Don't forget to include both > > the core and skin

[jQuery] Re: jCarousel 0.2.0 Beta

2007-05-10 Thread Jan Sorgalla
Thats why it is still in beta-state and not an official release yet. If you find bugs, report it here... Jan On May 10, 1:43 pm, Equand <[EMAIL PROTECTED]> wrote: > i must admit that this version has more features than the previous > one, but also has a lot more bugs... especial

[jQuery] Re: jCarousel

2007-05-11 Thread Jan Sorgalla
ynamically load items (1 and 2) before item the first existing item. If i understand you correct, you need that: http://sorgalla.com/projects/jcarousel-0.2.0-beta/examples/special_start.html Maybe i'll add a simpler solution for this, but that way will work anyway. Jan

[jQuery] Re: Initial images not showing up in IE6

2007-05-21 Thread Jan Sorgalla
add .jcarousel-list-horizontal { width: 1000px; } to the skin.css. That fixed it here. Jan

[jQuery] Re: Streaming information from a server

2007-05-21 Thread Jan Sorgalla
http://ajaxpatterns.org/HTTP_Streaming http://alex.dojotoolkit.org/?p=545 http://cometd.com Jan

[jQuery] Re: jcarousel with flash content and changing display prop

2007-05-26 Thread Jan Sorgalla
m will jump at position 1, the third at position 2 and so on... Try to work with visibility: function itemVisibleInHandler(carousel,item,pos) { $(item).css('visibility', 'visible'); } function itemVisibleOutHandler(carousel,item,pos) { $(item).css('visibility', 'hidden'); } Jan

[jQuery] Re: Problem with jCarousel 0.2.0 in IE tables

2007-05-27 Thread Jan Sorgalla
re calculated before jcarousel has fully created and positioned all elements. Try the following: Line 1 Line 2 Line 3 Line 4 Line 5 The div will become the jcarousel-container (with a class of the same name). You may want to move the hard-coded style attribute to your css file. Jan

[jQuery] Re: jCarousel flicker in FF 2.0

2007-06-10 Thread Jan Sorgalla
; }, 20); in your mycarousel_itemVisibleOutCallback function. The function should look like: function mycarousel_itemVisibleOutCallback(carousel, item, i, state, evt) { setTimeout(function() { carousel.remove(i); }, 20); }; Jan

[jQuery] Re: jCarouselLite - my first plugin - anxiously awaiting comments

2007-06-27 Thread Jan Sorgalla
you should check the dimension() and margin() functions in my jcarousel plugin. They also handle a weird behaviour of marginRight in Safari. Jan

[jQuery] Re: jCarouselLite - my first plugin - anxiously awaiting comments

2007-06-27 Thread Jan Sorgalla
Hi, On Jun 27, 6:40 pm, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote: > Thanks Jan, I will take a look at it. To be honest, i was planning to dig > into your source code this weekend. Now that you have pointed me to the > exact functions that i need to de-code, i guess

[jQuery] Re: Non integer amount of visible items

2007-06-28 Thread Jan Sorgalla
yhager wrote: > > Hi, > > I am trying to achieve a view of 3.5 DIVs in jcarousel. The reason is that > in terms of usability, it gives the user the understanding there is more > info and he needs to scroll if he wants to view it. > > While I haven't dived deep into the code yet, when I try to

[jQuery] Re: jCarousel: start image

2007-07-02 Thread Jan Sorgalla
27;, function(){} But how to make this on > page loading? Did you checked the example: http://sorgalla.com/projects/jcarousel/examples/special_start.html Jan

[jQuery] Re: i want to display the pictures one by one

2007-07-03 Thread Jan Sorgalla
1, but no effect. what i have to do? > changing scroll to 1 is correct. It should work. Do have a link where i can see your carousel? Jan -- View this message in context: http://www.nabble.com/i-want-to-display-the-pictures-one-by-one-tf4017576.html#a11412044 Sent from the jCarousel mailing list archive at Nabble.com.

[jQuery] Re: [JCarousel] Auto Scrolling

2007-07-07 Thread Jan Sorgalla
ht. > I can notice in the code it is supposed to do so, has anyone a fix for this > ? > > Thank u for any help. check the configuration option "wrap". http://sorgalla.com/projects/jcarousel/#Configuration Jan

[jQuery] Re: Non integer amount of visible items

2007-07-09 Thread Jan Sorgalla
Hi, this mix is a bit difficult to handle. I've updated jquery.jcarousel.js. Please download it from http://sorgalla.com/projects/jcarousel/ and try if it works now for you. Jan yhager wrote: > > > > Jan Sorgalla wrote: >> >> >> yhager wrote: >>&

[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] fadeIn something from JSON

2008-12-08 Thread Jan Limpens
ow can I fadeIn this new element? I tried hiding it first (via css and hide()), but then it did not show up at all (only on subsequent hovers)... Any ideas? -- Jan

[jQuery] Re: fadeIn something from JSON

2008-12-08 Thread Jan Limpens
urlForDescription = $element.attr('href') + '/descricao'; $.getJSON(urlForDescription, function(data) { $div = $("" + data + ""); $element.after($div).fadeIn(); }); } else { $element.next("div.info").fadeIn(); } } also, just pops up. :( -- Jan

[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] passing args to a delegate

2008-12-12 Thread Jan Limpens
quot;, $clonedForm).ajaxForm({ success: registerImageForms }); $clonedForm.show(); }); }; Success has no args, so everything is rendered empty, after posting the form. If I pass arguments as success: registerImageForms(id, key, type) The browser crashes and it makes sense, because at the time this fires, these identifiers mean nothing. But how do I pass them? -- Jan

[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] 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] layout of a project / good practices

2008-12-15 Thread Jan Limpens
more. Any pointers? -- Jan

[jQuery] event fires exponentially

2008-12-16 Thread Jan Limpens
alert("peng"); }, target: "#layout-child-output" }); $('input', $form).change(function(){ $form.submit(); }); }) If I check one checkbox, I get one submit, for 2 2, however for 3 4, for 4 16, and so on until the server crashes. Any idea what is wrong here? -- Jan

[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] 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
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
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(functi

[jQuery] Re: element:gt(0) works in FF, but not in Safari/IE/Chrome

2008-12-18 Thread Jan Rocho
I also tried replacing the line with: > > $(this).attr('onclick', "$('ul#c" + i + " li:not(:first-child)').toggle > (" + speed + ");$('#content').hide();"); > > and > > $(this).attr('onclick', "$('ul#c" + i + " li').slice(1).toggle(" + > speed + ");$('#content').hide();"); > > Both of those also work in FF, but again not in Safari/IE/Chrome. > > Any ideas? > > Thanks, > Jan > > >

[jQuery] Re: How can i count validation errors and trigger alert on submit?

2009-01-07 Thread Jan Eggers
For counting errors, use numberOfInvalids(), which comes with the showErrors-Method. Set onfocusout: false, if you don't want the plugin to validate on leaving the element. There are some examples in the documentation: http://docs.jquery.com/Plugins/Validation/validate#toptions On Jan 7,

[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: "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] jq.ui and the embedded autocomplete plugin

2009-02-10 Thread Jan Limpens
or should I better look elsewhere? --Jan

[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] 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... >

  1   2   >