Re: [jQuery] jQuery Validation request

2009-11-03 Thread Bart van Uden
value. Hope this helps. Note that this probably doesn't work for numbers greater than 1000 with formatting (for example, 1.000,00). In that case you have to switch the period for a comma and the comma for a period. Greets, Bart Richard-330 wrote: > > > Hi, > > I was working wi

[jQuery] Re: Quick question, basic stuff

2009-08-26 Thread Bart
Thanks! I'll try that, just for my knowledge, any other ways? On Aug 26, 12:50 pm, Paolo Chiodi wrote: > one way could be $('div.pic:eq(1)').find('ul li a:eq(2)) > > Paolo > > > > On Wed, Aug 26, 2009 at 12:17 PM, Bart wrote: > > > Hi all, >

[jQuery] Quick question, basic stuff

2009-08-26 Thread Bart
Hi all, In a HTML document I'm having a few divs with the same class. In each of this divs is nested an unordered list with inside the list items some anchors. I'm trying to find a certain jquery expression which says I want link#3 from div#2. I've tried; $("div.pic:eq(1) ul li a:eq(2)").hide();

[jQuery] Scrolling between images in list item

2009-07-20 Thread Bart Schutte
Hi all, I have a few images and 2 anchors sitting in a list item. In the list item there's only one picture visible at a time and the 2 anchors are used to scroll back and forth trough the pictures in such a way that if the last image is reached the first one displays again and ofcourse the other

[jQuery] Superfish

2009-05-02 Thread Bart
'Hello, i'm using the Superfish menu just recently. It works almost like a charm. Exept if i open in other browser then IE it shows bullets in front of the menu items. For example open in let's say Firefox; www.7evenfashion.nl/webshop. Now to see the difference in IE. I'd like to get rid of these

[jQuery] Re: first child

2009-04-09 Thread bart
Thank you all very much for replying. Mauricio's code worked for me :) var el = $('#continer *:first').is('h2'); alert(el); // returns true if first child is H2, false otherwise Again, thanks! :) On Apr 7, 10:04 pm, Eric Garside wrote: > I think I understand what you want. Try this: > > $('#co

[jQuery] first child

2009-04-07 Thread bart
Hello all, Let's say I'd have a div#content and I'd like to figure out what the first child of this div is. It could be an anchor, a paragraph, a heading who knows... I know the :first-child selector but this doesn't do what I want to accomplish as it just filters within the matched selector for

[jQuery] Re: html to text

2009-03-26 Thread bart
self closing tags are handled in browser specific? It would make more sense to me if the browser would just handle HTML syntax according to the specified doctype... On Mar 26, 4:33 pm, Martijn Houtman wrote: > On Mar 26, 2009, at 4:19 PM, bart wrote: > > > For each match it creates a di

[jQuery] html to text

2009-03-26 Thread bart
I'm pulling html from each td tag which resides in the tablerow of a table like so; $('table tr td').each(function() { $('').text($(this).html()).appendTo('#jaheur'); }); For each match it creates a div which holds the HTML in text format. I noticed that it transformed a line break to

[jQuery] Re: Unbind by Function Reference

2009-03-19 Thread bart
n':http://www.robertnyman.com/2008/05/04/event-delegation-with-javascript/ > > In your code, you could simply use $('table caption a').unbind > ('click') if there are no other event listeners you want to preserve. > > cheers, > - ricardo > > On Mar 19,

[jQuery] Unbind by Function Reference

2009-03-19 Thread bart
I've followed Karl Swedberg's article on rebinding events at learningjquery.com. The theory behind this technique is clear to me and I've got a working example. function addItemFinal() { var $href = $('table caption a').attr('href'); var $rawmaandjaar = $href.split('&'); v

[jQuery] Re: Fire up on field focus

2009-03-19 Thread bart
Isn't the entire idea behind auto_complete_ that it actually needs input before it can complete anything for you? On Mar 19, 10:37 am, "Mr.Rech" wrote: > Hi, > on the autocomplete demo-page I've noticed many examples that set > "minChars" option to "0", giving the impression that they will fire

[jQuery] Re: [JQueryUI] Sortable, rebind event?

2009-03-17 Thread bart
Sorry, didn't know that. I've placed it over there :) On Mar 17, 12:46 pm, "Richard D. Worth" wrote: > You may want to ask over here: > > http://groups.google.com/group/jquery-ui > > - Richard > > On Tue, Mar 17, 2009 at 6:32 AM, bart wrote: > >

[jQuery] [JQueryUI] Sortable, rebind event?

2009-03-17 Thread bart
Hi all, I have a div which I've set a sortable to, the sortable items in the div are images. $("div#pics_new").sortable( { axis: 'x', cursor: 'move', opacity: 0.7, //0.01 - 1 placeholder: 'newplace', forcePlaceholderSize: true, update: SetOrder });

[jQuery] Re: Adding images from one div to another (this is pretty simple..)

2009-03-17 Thread bart
gt; { $(this).remove(); } ); > >  $(this).data('added', 1); > >  return false; > > }); > > I did not test this code, but it should work. Anyway the idea should > be clear > > On Mar 13, 1:39 am, bart wrote: > > > Hi all, > > > I've

[jQuery] Adding images from one div to another (this is pretty simple..)

2009-03-12 Thread bart
Hi all, I've built something with which you can click an image in one div and with the click add it to another. Check an example on; http://www.vliegendepijl.nl/pages/test/pictest.html Adding an image from one div to the other works. But as an additional feature I'd like to also be able to remov

[jQuery] Re: blur(). not working good enough

2009-03-11 Thread bart
can access its members with [n] notation), and then call the focus > () method on it. Note that the latter is different than the jQuery > focus() method, which attaches an onfocus() event handler, > whereas .focus() on the input element itself simply focuses it (same > for blur()) > &g

[jQuery] Re: blur(). not working good enough

2009-03-10 Thread bart
pe','text').addClass > > ('wtf').appendTo(el).blur(function(){ > >                 spn.text($(this).hide().val()).show(); > >         }); > >         edit.val(el.text()).show()[0].focus(); > > > }); > > > On Mar 9, 5:00 pm, H

[jQuery] blur(). not working good enough

2009-03-09 Thread bart
Hi all, I've set something up which runs at http://www.vliegendepijl.nl/pages/test/ As you can see it's an unordered list with some list items in it. If you doubleclick the list item the text in it is being replaced by a textfield with the same value in it. This works like it should, no problems

[jQuery] Re: $.post() callback

2009-03-07 Thread bart
debug. Start by removing the > AJAX portion. Does it still follow through on the href? If not, it's > the AJAX. Is so, something else is wrong. Remove the confirm, and > test. Etc. > > On Mar 6, 2:56 am, bart wrote: > > > Hi all, > > > I'm running into some

[jQuery] $.post() callback

2009-03-06 Thread bart
Hi all, I'm running into some trouble using the jquery $.post function. I'm using it in my CMS to delete a page record and after the deletion to display the updated page with the just deleted page removed ofcourse. Needless to say AJAX comes in handy here because of the page refresh. Here's my c

[jQuery] slideToggle(); odd and even click

2009-02-06 Thread bart
I have a navigation which consists of a few ul's placed within one and the same parent; a div. All but the first list item of these unordered lists get hidden and the first acts as a trigger to either show or hide the underlying li's. All this happens with a little animation by making use of slid

[jQuery] noob question

2009-01-30 Thread bart
Somehow I don't get the concept of get() right. The following expression gives an error; $('p.fl').get(0).css('background', 'red'); Now what I'm trying to do here is select the first paragraph from all the paragraphs with a class of "fl". After that I'm just trying to get a visual id by making i

[jQuery] Re: [Cycle Plugin]

2009-01-29 Thread bart
Thanks for all your help Mike, it's working now! Might I suggest that you put this code example on your site where you actually mention the callbacks? It would've done the trick for me if it was there when I first read it :) Might be stating the obvious but it certainly wouldn't hurt people who a

[jQuery] Re: [Cycle Plugin]

2009-01-29 Thread bart
On Jan 29, 3:44 am, Mike Alsup wrote: > > The documentation says that the before and after callback methods are > > passed three arguments: > > 1. the DOM element for the slide that is being transitioned in (same > > as this) > > 2. the DOM element for the slide that is being transitioned out > >

[jQuery] [Cycle Plugin]

2009-01-28 Thread bart
Hi all, I'm building a slideshow in HTML and the cycle plugin helps me out with making it look smooth. My slideshow has manual controls, it has previous and next anchors to go back and forth the slides. This all works, no sweat. However I also have a counter which indicates at which slide you ar

[jQuery] [Cycle Plugin] Callback

2009-01-28 Thread bart
Hi all, I'm using the cycle plugin for a slideshow I'm building. With the slideshow comes a counter which shows which image it is that is currently being viewed, for example 4/11. I have a manual navigation with the slides so a link 'previous' or 'next' should be clicked to advance through the s

[jQuery] Tabindex not working in Firefox on load of page

2009-01-07 Thread Bart
I've written some code to be able to set the tabindex automatically in our pages. It looks like this: $(document).ready(function() { var el = $(".fieldsetDiv"); if (el.children().length == 0) { el.remove(); } //setting tabindex automatically va

[jQuery] Re: [ANNOUNCE] Toaster plugin

2008-06-10 Thread Bart Hermans
Can you check it in IE6? The layout looks a bit weird. And it doesn't stick to the bottom/top when you scroll, but maybe that's an IE thing? Nice plugin, I will definitely use it! On Tue, Jun 10, 2008 at 07:22, h3 <[EMAIL PROTECTED]> wrote: > > I've just committed some changes to the trunk: > >

[jQuery] Re: checkbox manipulation and toggle()

2008-05-29 Thread Bart Hermans
Actually, this is a standard implementation in html: use the tag. On Thu, May 29, 2008 at 8:16 PM, jquertil <[EMAIL PROTECTED]> wrote: > > Hello... > > short version: how do I exclude an element in my selector expression? > > > long version: > > you know those checkboxes in windows where you can

[jQuery] Re: jQuery Corner problem

2008-05-29 Thread Bart Hermans
I've already spent hours trying to get the styles right, so I've kind of given up. :) I found another solution (http://www.spiffycorners.com) and that seems to work correctly. I will definitely use the corners plugin for other div's on my site but just not for this one... :) Mike, thanks a lot for

[jQuery] Re: jQuery Corner problem

2008-05-29 Thread Bart Hermans
Yeah, but then the foreground div is still transparent. The website will 'shine' through. On Thu, May 29, 2008 at 4:44 PM, malsup <[EMAIL PROTECTED]> wrote: > > > The background div has to be positioned absolute, because it overlays the > > actual site "beneath" it. > > If you do that with your

[jQuery] Re: jQuery Corner problem

2008-05-29 Thread Bart Hermans
Hi Mike, Thanks for your quick reply. I can see that your example works, but there are some problems with it. The background div has to be positioned absolute, because it overlays the actual site "beneath" it. If you do that with your example, the foreground div will also be transparent. So I us

[jQuery] jQuery Corner problem

2008-05-29 Thread Bart Hermans
I'm trying to use the corner plugin (http://www.malsup.com/jquery/corner) to create rounded corners on a div. First I display a div that covers the whole page and has a black, transparent background. Then I show another div, white background, centered on the screen. So it's a kind of popup. The pro

[jQuery] Re: Jquery browse dialog

2008-05-29 Thread Bart Hermans
You can't do that with the file input control. You'll have to use Java or ActiveX. On Thu, May 29, 2008 at 12:05 AM, Fred <[EMAIL PROTECTED]> wrote: > > Hi guys, I have to open a browse dialog window that allows selection > of multiple files, basically for selection of multiple files to > upload.