Re: [jQuery] Attribute Selector issue

2007-02-13 Thread Kolman Nándor
Hi, Some browsers store the href attribute as full path, so /home.html would become http://www.some.com/home.html. Nandi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allan Mullan Sent: Tuesday, February 13, 2007 10:44 AM To: jQuery Discussion. Subje

Re: [jQuery] Load doesn`t mantain charset?

2007-02-06 Thread Kolman Nándor
Try to send a http header specifing the character encoding you are using. In PHP it goes like this (a similar thing should exist in asp) header('Content-type: text/html; charset=utf-8'); Nandi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of oscar

Re: [jQuery] Securing AJAX/PHP against direct calls?

2007-02-05 Thread Kolman Nándor
I suggest you read this article: http://www.thesamet.com/blog/2007/01/16/prepare-for-attack%e2%80%94making-your-web-applications-more-secure/ It is about web security especially XSRF section. It states there that some of the browsers does not send the referer header. Nandi -Original Messag

[jQuery] Item width

2007-01-16 Thread Kolman Nándor
Hi! I want to create a vertical scrolling news ticker. I have the following structure: News1, news2, I set the inner div to relative and set the left position to scroll it. It works fine, but after a while the inner div scrolls out of view. I wanted to check if the

Re: [jQuery] What's the new parent() in jQuery1.1?

2007-01-11 Thread Kolman Nándor
If I remember correctly there is no id() function any more. Use attr('id') instead. Nandi From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Abel Tamayo Sent: Thursday, January 11, 2007 2:14 PM To: jQuery Discussion. Subject: [jQuery] What's th

Re: [jQuery] siblings after a specified node

2006-12-04 Thread Kolman Nándor
@jquery.com Subject: Re: [jQuery] siblings after a specified node Hi Nandi, you can use: $("#parent-element").find("div").each(function(i){ //do your stuff here } Fazal Kolman Nándor-2 wrote: > > Hi. > > > > Is there a simple way to get all the si

[jQuery] siblings after a specified node

2006-12-04 Thread Kolman Nándor
Hi. Is there a simple way to get all the siblings after a specified node? Eg. : $('#x2').xxx() would give #x3, #x4 nodes. (Ids are not that simple, so I cannot use them in an id match :-).) Thx. Nandi ___ jQuery mailing list disc

Re: [jQuery] width bug with hide and show

2006-11-17 Thread Kolman Nándor
Of course. Thanks. :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brandon Aaron Sent: Friday, November 17, 2006 4:18 PM To: jQuery Discussion. Subject: Re: [jQuery] width bug with hide and show On 11/17/06, Kolman Nándor <[EMAIL PROTECTED]>

Re: [jQuery] width bug with hide and show

2006-11-17 Thread Kolman Nándor
would surround the table with a div and toggle the div instead of the table. -- Brandon Aaron On 11/17/06, Kolman Nándor <[EMAIL PROTECTED]> wrote: > My styles are in a stylesheet, I just wrote this example to be as simple as > possible. > Since I wrote my initial letter I recognized tha

Re: [jQuery] width bug with hide and show

2006-11-17 Thread Kolman Nándor
will resolve the issue. -- Brandon Aaron On 11/17/06, Kolman Nándor <[EMAIL PROTECTED]> wrote: > > > > > Hi! > > > > I have the following HTML structure: > > > > title > > > > ... >

[jQuery] width bug with hide and show

2006-11-17 Thread Kolman Nándor
Hi! I have the following HTML structure: title ... close/open I make the table disappear/reappear by clicking the "close/open" div using hide('fast') and show('fast'). After closing and opening, the table seems to forg

Re: [jQuery] jQuery 1.1 by the end of Nov

2006-11-15 Thread Kolman Nándor
What about using an object instead of an array? bind("click", handler, 1, {x: 1}); bind("click", handler, {x: 1}); ... Nandi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of "Jörn Zaefferer" Sent: Wednesday, November 15, 2006 1:22 PM To: jQuery Discussion

Re: [jQuery] conflict between jtip and thickbox

2006-11-09 Thread Kolman Nándor
Hi   >In _javascript_ I really miss not to have a print_r() function to debug. Often I use alert() and innerHTML in order to see what I am manipulating, >but here with objects, I don't know how to debug... If you develop on Firefox, you can use the firebug extension. It has a console

Re: [jQuery] jQuery and OOP

2006-10-25 Thread Kolman Nándor
nt,[this]); > this.button = $('#btnCounter'); > this.nr = 0; > } > > In the count method I set the incremented value of the counter to the text of > the button. > Counter.prototype = { > count: function(e,self) { > self.button.attr('value'

Re: [jQuery] jQuery and OOP

2006-10-25 Thread Kolman Nándor
f.button.attr('value', self.nr++); } } -- blair Kolman Nándor wrote: > 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 cal

Re: [jQuery] jQuery and OOP

2006-10-24 Thread Kolman Nándor
$btn.click( function() { $btn.attr( 'value', nr++ ); }); }); -Mike > From: Kolman Nándor > > 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,

[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