[jQuery] adding #current position / #total to jquery cycle paginator?

2009-09-15 Thread Luciano A. Ferrer
for the bad english :) luciano

[jQuery] Re: how to align right (not left) images with variable widths?

2009-09-08 Thread Luciano A. Ferrer
will then treat the divs as the slides and you can right align your images inside the divs. Mike Thanks a lot Mike! that worked great! :) best regards luciano

[jQuery] how to align right (not left) images with variable widths?

2009-09-08 Thread Luciano A. Ferrer
? best regards, and sorry for the bad english :) luciano

[jQuery] Traversing not

2009-06-30 Thread Luciano
I'm trying to use the function Not (): when I run the command on the TAG A and works $ (this). find ( a). not ( '[href ^=/]'). attr ( target, ) when I run the command on the tag IMG not working $ (this). find ( img). not ( '[src ^=/]'). attr ( target, ) what may be happening?

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread Nic Luciano
by ID as a subset of the DOM node.. alert($(html).find(#test) becomes alert($(#test, html)); Hope some of this helps... cheers! Nic Luciano Senior Web Developer @ AdaptiveBlue http://www.twitter.com/nicluciano http://www.linkedin.com/in/nicluciano On Mon, Apr 13, 2009 at 3:35 PM, Nic Hubbard

[jQuery] Re: Accessing a JSON property from an unknown variable?

2009-02-13 Thread Nic Luciano
Oh wow, I didn't realize JSON would act like an associative array in that way... Thanks guys! On Fri, Feb 13, 2009 at 7:10 PM, Josh Nathanson joshnathan...@gmail.comwrote: foo[fooProp] // returns barVal Is that what you mean? -- Josh -Original Message- From:

[jQuery] Re: $.getScript - passing the response.

2009-02-12 Thread Nic Luciano
Close but You should be using .get() for this, with an onsuccess callback (also see datatype). .getscript is solely for loading javascript files to execute. Sent from my iPhone On Feb 11, 2009, at 11:13 PM, brian.overl...@gmail.com brian.overl...@gmail.com wrote: I'm using

[jQuery] Re: Removing all styles from an element-

2009-02-12 Thread Nic Luciano
I considered it, but because of the ambiguity I run into I just need to specify every single Css property... Thought there might be something clever I could do with jquery but pobably not... Thanks Sent from my iPhone On Feb 12, 2009, at 12:08 AM, Ricardo Tomasi ricardob...@gmail.com

[jQuery] Re: how to differentiate between click and dragend events?

2009-02-11 Thread Nic Luciano
Try starting a timer on mouse down, and only register the click event if the timer is less than x milliseconds. The fringe case for this would be users who click for seconds, or who drag in milliseconds. I'm .positive. this is not the best possible way to handle this, but it could be a

[jQuery] Re: how to include JQuery from a page loaded by AJAX?

2009-02-11 Thread Nic Luciano
in your success callback, just re-execute your .corners() function. If that's not right it should point you in the right direction... cheers! Nic Luciano http://www.twitter.com/nicluciano http://www.linkedin.com/in/nicluciano On Wed, Feb 11, 2009 at 9:35 PM, Davis ywk...@gmail.com wrote: hello

[jQuery] Re: Finding the last sibling.

2009-02-11 Thread Nic Luciano
$(div :last-child); (or this wacky way I tried before I learned CSS selectors $(div).children()[$(div).children().size() - 1])...) Nic Luciano http://www.twitter.com/nicluciano http://www.linkedin.com/in/nicluciano On Wed, Feb 11, 2009 at 9:49 PM, Risingfish risingf...@gmail.com wrote

[jQuery] Re: how to include JQuery from a page loaded by AJAX?

2009-02-11 Thread Nic Luciano
You need to be executing the Javascript in the callback of your AJAX function, NOT in the head of the document you are loading. Aside, if you are using jQuery anyway you should consider using it's own AJAX functions... On Wed, Feb 11, 2009 at 10:06 PM, Davis ywk...@gmail.com wrote: hello,

[jQuery] Re: how to include JQuery from a page loaded by AJAX?

2009-02-11 Thread Nic Luciano
Hey Davis... So, the issue is that your calling corners once, it executes on all the elements currently IN the document. When you load new elements via AJAX, they are appended AFTER corners has already done it's magic. So where it says... if (xmlHttp.readyState == 4){ var res =

[jQuery] Re: how to include JQuery from a page loaded by AJAX?

2009-02-11 Thread Nic Luciano
PS - Again, I don't even know for sure if this is the issue. :) On Wed, Feb 11, 2009 at 10:32 PM, Nic Luciano adaptive...@gmail.com wrote: Hey Davis... So, the issue is that your calling corners once, it executes on all the elements currently IN the document. When you load new elements via

[jQuery] Re: A small incompatibility about selector on Jquery 1.3.1

2009-02-11 Thread Nic Luciano
Hey Jack- I think this is the right group for these issues:... :) http://groups.google.com/group/jquery-dev Nic Luciano http://www.twitter.com/nicluciano http://www.linkedin.com/in/nicluciano On Wed, Feb 11, 2009 at 9:53 PM, jack datac...@gmail.com wrote: The following works on before

[jQuery] Re: how to include JQuery from a page loaded by AJAX?

2009-02-11 Thread Nic Luciano
You should think about using jQuery's ajax ( http://docs.jquery.com/Ajax/jQuery.ajax#options) while you're at it... if you did, you could attach your .corners() function to ajaxComplete ( http://docs.jquery.com/Ajax/ajaxComplete#callback) so you wouldn't have to include it in every call. Glad to

[jQuery] Re: Status Codes = docs

2009-02-11 Thread Nic Luciano
went OK). Data type is the format of the data you are expecting to return (html for plain html to insert into your document, json for js objects, etc)... Nic Luciano http://www.twitter.com/nicluciano http://www.linkedin.com/in/nicluciano On Wed, Feb 11, 2009 at 8:52 PM, Tim Johnson t...@johnsons

[jQuery] Re: Click Links in the Nnavigation Bar

2009-01-30 Thread Nic Luciano
What exactly are you trying to do, what is the issue? Maybe just preference here (and I'm also just guessing what you're asking) but I don't see a reason not to put the events on the elements themselves $(ul li a).click(function() {

[jQuery] Re: var divcount = $(div#div2).length; --- returns wrong value

2009-01-19 Thread Nic Luciano
Hey Bartee, I think your problem is that .length() returns the number of elements in the object you're acting on. In you're case, there's only one object (a text node). So, it should return one. What you're actually looking for is $(div#div2).text().length; On Mon, Jan 19, 2009 at 12:25 PM,

[jQuery] Re: jQuery in a Firefox Extension...

2009-01-18 Thread Nic Luciano
Anyone? I was looking forward to using jQuery in the extension but I might have to do without... :[ On Fri, Jan 16, 2009 at 3:47 PM, Nic Luciano nic.luci...@gmail.com wrote: Hm, that makes sense. So, I suppose I could do something like jQuery.noConflict(); var doc

[jQuery] Re: rating using thumbs up thumbs down.

2009-01-18 Thread Nic Luciano
It's unlikely there's a plugin to do what you want to do since javascript is client side, and saving to any sort of database would require at least some web service. On Sun, Jan 18, 2009 at 12:46 PM, Pragan pragan...@gmail.com wrote: Hi, I am looking to implement a rating system using thumbs

[jQuery] Re: How select first link??

2009-01-17 Thread Nic Luciano
The reason it's not working is you're using the first-child selector. What you're doing by using that is selecting every anchor that is the first parent of it's child (which is all of them since they lie immediately under a list item). The selector you want to be using is just first (a:first),

[jQuery] Re: How select first link??

2009-01-17 Thread Nic Luciano
Simple correction, I meant the first child of it's parent*. Just in case it wasn't clear. Cheers- Nic http://www.twitter.com/nicluciano On Sat, Jan 17, 2009 at 2:05 PM, Nic Luciano nic.luci...@gmail.com wrote: The reason it's not working is you're using the first-child selector. What you're

[jQuery] Re: How select first link??

2009-01-17 Thread Nic Luciano
That's true, but that's exactly how it's supposed to function. On Sat, Jan 17, 2009 at 3:35 PM, jQuery Lover ilovejqu...@gmail.com wrote: No he is not! Suppose you have this scenario: div id=container ul id=menu liHome/li lia href=#Rules/a/li

[jQuery] Re: How select first link??

2009-01-17 Thread Nic Luciano
On Jan 17, 2009, at 3:39 PM, Nic Luciano wrote: That's true, but that's exactly how it's supposed to function. On Sat, Jan 17, 2009 at 3:35 PM, jQuery Lover ilovejqu...@gmail.com wrote: No he is not! Suppose you have this scenario: div id=container ul id

[jQuery] Re: jQuery in a Firefox Extension...

2009-01-16 Thread Nic Luciano
Hm, that makes sense. So, I suppose I could do something like jQuery.noConflict(); var doc = window.content.document; jQuery(#id, doc); Which would solve the issue that jQuery doesn't live in the HTML anymore (and lives in the browser). But how would this work on .ajax functions? Do I have

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-16 Thread Nic Luciano
This might work for Superfish but isn't it also a possibility by doing this you could do the exact opposite of what you're trying to accomplish, as this could also override any other third party CSS you're trying to use? While I guess it's not technically incorrect, there's no reason to include

[jQuery] Change mask onclick, how do ?

2008-10-08 Thread Luciano Mazzetto
Hi guys I have the problem when go change de mask, i`m using maskedinput http://digitalbush.com/projects/masked-input-plugin/ my code: input name=tip type=radio id=tip_j title=Jurídica value=J/Jurídicabr input name=tip type=radio id=tip_f title=Física value=F/Física

[jQuery] Change mask onclick, how do it ?

2008-10-08 Thread Luciano
Hi, I have the problem when go change de mask, i`m using maskedinput http://digitalbush.com/projects/masked-input-plugin/ my code: input name=tip type=radio id=tip_j title=Jurídica value=J/ Jurídicabr input name=tip type=radio id=tip_f title=Física value=F/ Física

[jQuery] sort table by class

2008-05-20 Thread Luciano
hi, i want create sort table in 3 tables byclass the code: $(.box table).tableSorter({ sortColumn: 'name', sortClassAsc: 'header-asc', sortClassDesc: 'header-desc', highlightClass:

[jQuery] Re: how i can access classes in my div?

2008-05-14 Thread Luciano Mazzetto
'); }); well... first of all I'm not quite sure about the html Luciano posted. I supposed something like this: div id=box1 class=box div class=bloc-topcontent top/div div class=bloc-centercontent slideToggle/div /div because the code he posted at the beginning contains

[jQuery] how i can access classes in my div?

2008-05-12 Thread Luciano
how i can access classes in my div? example: $(#box1.bloc-top).click(function () { $(.bloc-center).slideToggle(slow); }); $(#box2.bloc-top).click(function () { $(.bloc-center).slideToggle(slow); }); $(#box3.bloc-top).click(function () {

[jQuery] Re: how i can access classes in my div?

2008-05-12 Thread Luciano
hdfsuahd it`s ok ok.. i forgot space..#box2. bloc-top On 12 maio, 20:35, Luciano [EMAIL PROTECTED] wrote: how i can access classes in my div? example: $(#box1.bloc-top).click(function () { $(.bloc-center).slideToggle(slow); }); $(#box2.bloc-top).click(function

[jQuery] Re: how i can access classes in my div?

2008-05-12 Thread Luciano
how i could do it`s commands? On 12 maio, 22:35, darren [EMAIL PROTECTED] wrote: you could even use commas in your selector so that you aren't repeating your statements. On May 12, 5:51 pm, Luciano [EMAIL PROTECTED] wrote: hdfsuahd it`s ok ok.. i forgot space..#box2. bloc-top On 12

[jQuery] Re: how do it?

2008-05-07 Thread Luciano Mazzetto
I try do your example, but no make upper-case, so i try: $(this).val($(this).val().toUpperCase()); and got success without problems, onkeyup all upunts make this value for upper-case... thank`s On Tue, May 6, 2008 at 5:47 PM, Karl Swedberg [EMAIL PROTECTED] wrote: Luciano, If you're

[jQuery] how do it?

2008-05-06 Thread Luciano
I have a input = search and a form = form-search, well i need create action keypress on input search i do this: $(document).ready(function() { $('input #search') .keypress(function(){ $('#inf').fadeIn('normal');

[jQuery] Re: how do it?

2008-05-06 Thread Luciano Mazzetto
sorry, i do this it and return ERROR no function.. $('input#search').toUpperCase(); On Tue, May 6, 2008 at 4:10 PM, Luciano Mazzetto [EMAIL PROTECTED] wrote: sure!, but i need do it ? $('input#search').toUpperCase(); // ??? On Tue, May 6, 2008 at 12:27 PM, Alexandre Plennevaux

[jQuery] Re: how do it?

2008-05-06 Thread Luciano Mazzetto
that, this $('input #search') should be $('input#search') Hope this helps! alex On Tue, May 6, 2008 at 3:46 PM, Luciano [EMAIL PROTECTED] wrote: I have a input = search and a form = form-search, well i need create action keypress on input search i do this: $(document

[jQuery] load http:// with load() ??

2008-04-24 Thread Luciano Mazzetto
Hi, I need loading http request inside my div content. I do this it $(#content).load(http://www.google.com.br;); but not OK ?? How i can load this page in my div ? tks.. -- att. Luciano M. www.m2t.com.br

[jQuery] $(#content).load('http://www.google.com.br') is a possible ?

2008-04-24 Thread Luciano Mazzetto
Hi, I need loading http request inside my div content. I do this it $(#content).load(http://www.google.com.br;); but i hadn't sucess How i can load this page in my div ? tks..

[jQuery] post ajax jquery

2008-04-24 Thread Luciano Mazzetto
hi, i tryed do it http://www.malsup.com/jquery/form/#getting-started but my form do submit normal, and not in ajax... so no return callback function somebody can help-me ? thanks code script type=text/javascript src=lib/jquery.js/script script type=text/javascript

[jQuery] Re: Using animate within an IFrame

2007-11-29 Thread Luciano G. Panaro
I think what's going on is that you are trying to access a dom element of the Iframe doc, and AFAIK you can't do that directly with jQuery selectors. However I found a discussion where this is solved: http://groups.google.com/group/jquery-en/browse_thread/thread/744ba7fdabd9066a/d060e3f85c3bdbd8

[jQuery] Re: Edit database rows

2007-11-22 Thread Luciano G. Panaro
[EMAIL PROTECTED] wrote: Hi Luciano, Not sure what you're telling me. I will fetch the rows with Perl in my backend and send it to a page. Will jqGridViewcould make Ajax calls when updating? Actually you will need something in the middle, that is, an exposed page (PHP, ASP, whatever

[jQuery] Re: Edit database rows

2007-11-21 Thread Luciano G. Panaro
Hi, Actually you will need something in the middle, that is, an exposed page (PHP, ASP, whatever) that would act as a proxy of your postgres database. That way, the jquery plugin will be able to access that page when trying to create / edit / update rows. Hope it helps! Luciano. On Nov 21, 6

[jQuery] Re: New Plugin: jQuery Fx Queues

2007-11-21 Thread Luciano G. Panaro
Just to let you guys know, I've just updated the plugin. The functions were renamed and the issue when a queued animation that has a wait time set is stopped (there is a still an issue regarding that when starting and stopping repeatedly, I'll keep on looking at it). Thanks, Luciano. On Nov 21

[jQuery] Re: New Plugin: jQuery Fx Queues

2007-11-20 Thread Luciano G. Panaro
Regarding the 7-8 issue, I've just noticed that. I'll be fixing it today I guess =) But the 8 moving when 3 or 4 is a bit odd, since the animate for that element is not launched yet (well, at least it shouldn't be launched =P). Thanks Ethan! On Nov 19, 10:30 pm, bigethan [EMAIL PROTECTED]

[jQuery] Re: New Plugin: jQuery Fx Queues

2007-11-20 Thread Luciano G. Panaro
jQuery's core queueing method does it only for the selected element. But when you want to do it for different elements (first fade in #1, then slide down #2, etc.), you need to do it by passing callbacks to each animation. This plugin does something similar to what there is already in jQuery,

[jQuery] New Plugin: jQuery Fx Queues

2007-11-19 Thread Luciano G. Panaro
(Sorry if I'm double posting) Hi, I created a new plugin that reimplements the queueing system, allowing the possibility of having global queues for jquery's animations (similar to what Scriptaculous has). http://jquery.com/plugins/project/fxqueues http://www.decodeuri.com/jqueryfxqueues/ New

[jQuery] Re: New Plugin: jQuery Fx Queues

2007-11-19 Thread Luciano G. Panaro
. IMO, you should shorten the name of methods a bit, to make more jQuery- ish. For example: jQuery.fxQueues.clearQueue, I'd remove the 'Queue' part, as it is obvious what are you clearing. Very nice. Ariel Flesler On 19 nov, 15:56, Luciano G. Panaro [EMAIL PROTECTED] wrote: (Sorry if I'm

[jQuery] how to use scrollto to scroll in other elements?

2007-08-06 Thread Luciano A. Ferrer
english! :) luciano

[jQuery] mootools accordion, all items closed at page load?

2007-07-05 Thread Luciano A. Ferrer
Hi! I need to use mootools accordion, but just with 1 item... so, it would be nice to have it closed when pages loads... Do you have any idea about how to achieve this? (I am stupid using javascript... :( ) TIA, and sorry for the bad english :) luciano

[jQuery] Re: mootools accordion, all items closed at page load?

2007-07-05 Thread Luciano A. Ferrer
On 7/5/07, Rey Bango [EMAIL PROTECTED] wrote: Are you using jQuery, MooTools or both? Rey only jquery... I have solved it! changed the line $(dd:not(:first)).hide(); to $(dd:first).hide(); This is the right way? luciano Luciano A. Ferrer wrote: Hi! I need to use mootools