[jQuery] Re: Stop browser to be closed

2008-09-18 Thread Feijó
I need some way to trigger a AJAX that will do the Logoff (and with that end the user session) if user just hit the X to close the browser. I will look about onbeforeunload, thanks! Feijó MorningZ escreveu: I'm not 100% sure what you are after ultimately... but i thin

[jQuery] Stop browser to be closed

2008-09-18 Thread Feijó
could I implement that with jQuery? Thanks a lot! Alessandro Feijó

[jQuery] Re: accessing the content of iframe

2008-06-13 Thread Alessandro Feijó
I'm trying to access content of a external frame, a page loaded from another server it seams impossible, when I try with local page, it works Is that so? Some kind of protection? thanks Feijó smoothcriminal escreveu: You can use it using the function contents() . For example if you

[jQuery] Re: what editor do you use?

2008-02-14 Thread Feijó
Thanks for the tip!! I set my copy line as CTRL+D and assigned that Swap with line above/below :) Feijó Sean O escreveu: I used Notepad++ for a while, thinking it was the bee's knees. But then I found PSPad a few months ago, and it's earned my title as go-to editor. Tabbed

[jQuery] Re: what editor do you use?

2008-02-14 Thread Feijó
Yeah, I'm enjoying that pspad but I cant find a good feature I'm used to use with notepad++ CTRL+D duplicate current line/selection.  Do you know if it exists in pspad? Or I can script it? baita abraço Feijó Stamen Georgiev escreveu: PSPad - http://www.pspad.com/ It

[jQuery] Re: what editor do you use?

2008-02-13 Thread Feijó
nice one!! I'll give it a try for few days timothytoe escreveu: I tried a bunch and ended up with PSPad.

[jQuery] Re: what editor do you use?

2008-02-13 Thread Feijó
They improved a little the interface, has been some time since the last time I saw it But editpad++ is free!! editplus has pay resources :) baita abraço Feijó Andy Matthews escreveu: Not sure what you mean...I just looked at a screenshot of Notepad++ and it looks almost the

[jQuery] Re: what editor do you use?

2008-02-13 Thread Feijó
I dont like the editplus interface, very ancient :) But its a good app too!! Feijó Andy Matthews escreveu: Editplus   www.editplus.com   Best one I've found in 6+ years of looking, been using it for about the same amount of time. From: jquery-en@googlegroup

[jQuery] Re: what editor do you use?

2008-02-13 Thread Feijó
lol yes, notepad++ Feijó spinnach escreveu: ..you mean notepad++ :).. i'm using it also, great little app.. dennis. Feijó wrote: I changed my own a few weeks ago, now I'm using Editpad++ (http://sourceforge.net/projects/notepad-plus/) its free

[jQuery] what editor do you use?

2008-02-13 Thread Feijó
I changed my own a few weeks ago, now I'm using Editpad++ (http://sourceforge.net/projects/notepad-plus/) its freeware, nice resources, like macros, quick-text, highlighted source, ... and yours? -- Feijó

[jQuery] Re: div index

2008-02-12 Thread Feijó
you post a little more info? Maybe some of your html code that goes along with what jquery is working with? Are you trying to add a new criteria text box to a search form when #new-criteria is clicked? Are you working with table cells or divs? On Feb 12, 3:14 pm, Feijó <[EMAIL PROTECTED]> wrot

[jQuery] div index

2008-02-12 Thread Feijó
of "this"?         $('#qz-criteria .qz-tablefield:eq('+index+')').after($last);     }); Thanks Feijó

[jQuery] [off topic] invite to game :)

2008-02-11 Thread Feijó
When you're not working, try this nice game to relax http://delta.astroempires.com/?ref=D.60589 I'm loving, started play about 10 days :) -- Feijó

[jQuery] Re: Appending content in order

2008-02-11 Thread Feijó
der="0" align="absmiddle">New criteria div> div> fieldset> the brighter blue, is the cloned in question. How to control the order it will be inserted/appended? the relevant jQuery is:     $("#thefilter img#new-criteria").click(function(){         $las

[jQuery] Re: Appending content in order

2008-02-11 Thread Feijó
x27;)             .find('.clean-criteria')             .trigger('click');     }); my triggers that event.  How to adjust with your suggestion? Feijó Karl Swedberg escreveu: Hi Feijó, you could try this ... $('div.main > div.sub:eq(2)').after(&

[jQuery] Appending content in order

2008-02-11 Thread Feijó
consider that html:                     I need to append a new as the 2nd, 3rd, middle, etc. Append() add after the last one. How can I do that? Its possible? Thanks Feijó

[jQuery] Re: Fighting a closure

2008-01-30 Thread Feijó
I'm yet to be an expert in jQuery :) But I would solve that like this: $(".port").click(function() {bigchart($(this).attr('port-id') )}); now in your html code, I guess its like: change to Feijó timothytoe escreveu: I think I submitted a half-done v

[jQuery] Re: Is this the best way?

2008-01-30 Thread Feijó
Yeah, its all div and within a particular parent!! I'm alreading having that kind of care, adding specificity for all my selectors. It should improve performance, I bet :) Thanks Joel Joel Birch escreveu: On 31/01/2008, Feijó <[EMAIL PROTECTED]> wrote: Its possible to simp

[jQuery] Re: Is this the best way?

2008-01-30 Thread Feijó
Hi Cabbite Thanks for your 0.02 Its possible to simple use like this? $('.qualif[level>3]').remove(); if level bigger then 3, remove it :) My code is dynamic, I cant just wrote all numbers I dont need to remove, like your example. Has to use a condition. Feijó cabbie

[jQuery] Re: Is this the best way?

2008-01-30 Thread Feijó
Thats it! Nice code Thanks Joel Feijó Joel Birch escreveu: Hi Feijó, Not sure if I understand, but I'll have a go at it: var x = 4; $('.qualif').filter(function() { return parseFloat( $(this).attr('level') ) > x; }).remove(); Joel Birch.

[jQuery] Is this the best way?

2008-01-30 Thread Feijó
ttr('level'));                 $('.qualif').each(function() {                     if ($(this).attr('level')>x)                         $(this).remove();                 }); I don't know if we can set a filter in $('') to look at a custom attribute, should be simpler than Feijó

[jQuery] Re: Autocomplete with ComboBox

2008-01-24 Thread Feijó
Damm, I was refering to Drupal Autocomplete solution.  Totally forgot to mention. A single autocomplete is automatic within drupal form API.  I need to extend that ability making the autocomplete sensitive to a combobox, using jquery off course. Anyone from this list did that? Feijó

[jQuery] Autocomplete with ComboBox

2008-01-24 Thread Feijó
with group help off course :) -- regards Feijó

[jQuery] Re: How to validate form controls

2008-01-18 Thread Feijó
try if ($('.mydiv').val()) { // has values } else { // don't has values } Feijó -- From: <[EMAIL PROTECTED]> Sent: Friday, January 18, 2008 3:24 AM To: "jQuery (English)" Subject: [jQuery] How to validate

[jQuery] Re: simple newbie js function problem...

2008-01-15 Thread Feijó
try with force function outside $...ready Feijó - Original Message - From: "tlob" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Tuesday, January 15, 2008 4:11 PM Subject: [jQuery] simple newbie js function problem... script type="text/

[jQuery] Re: Countdown - my first plugin

2008-01-13 Thread Feijó
I did thought about that But within 1 sec window, wont be a little anoying ? Imagine 5 or 10 of that in the same page, too much annimation... :) For a optional resource is interisting, I will investigate how to. Thanks Feijó - Original Message - From: Glen Lipka To: jquery

[jQuery] Countdown - my first plugin

2008-01-12 Thread Feijó
Feijó

[jQuery] Re: toggle function on checkbox

2008-01-08 Thread Alessandro Feijó
t; -- > View this message in context: > http://www.nabble.com/toggle-function-on-checkbox-tp14695340s27240p14695340.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com > . > > -- baita abraço Feijó

[jQuery] cluetip question

2008-01-04 Thread Feijó
p without ajax? With the first one runs. thanks Feijó

[jQuery] mery christmas!

2007-12-24 Thread Feijó
and great 2008 to ya'll !! huge hug baita abraço Feijó

[jQuery] Re: calling ajax with url parameter

2007-12-04 Thread Feijó
I like to set my own attributes, like that click here $(document).ready(function() { $('#item1').click(function() { $('#result').load('process.php', {a: $(this).attr('a'), b: $(this).attr('b') }); return false; }); }); hugs F

[jQuery] Re: Working with cluetip and validate

2007-11-23 Thread Feijó
I found that a few minutes after sent my msg to this group :) I have to thank you Karl a lot for that fabulous plugin! Feijó - Original Message - From: Karl Swedberg To: jquery-en@googlegroups.com Sent: Monday, November 19, 2007 3:17 PM Subject: [jQuery] Re: Working with

[jQuery] Re: Working with cluetip and validate

2007-11-23 Thread Feijó
Great tip!! Thanks, Josh Feijó - Original Message - From: Josh Nathanson To: jquery-en@googlegroups.com Sent: Monday, November 19, 2007 11:01 PM Subject: [jQuery] Re: Working with cluetip and validate You do not have to use inline validate messages. You can use the

[jQuery] Re: (this) question

2007-11-19 Thread Feijó
Indeed!!! Nice style Will adopt it thanks Feijó - Original Message - From: "Andy Matthews" <[EMAIL PROTECTED]> To: Sent: Monday, November 19, 2007 4:42 PM Subject: [jQuery] Re: (this) question Using the $ in a js variable (in the jQuery world) is generally

[jQuery] Re: (this) question

2007-11-19 Thread Feijó
why do you use $ in JS variables? get used to after long years in php? :) Feijó - Original Message - From: "Michael Geary" <[EMAIL PROTECTED]> To: Sent: Monday, November 19, 2007 3:14 PM Subject: [jQuery] Re: (this) question Every function call has its own &quo

[jQuery] Working with cluetip and validate

2007-11-19 Thread Alessandro Feijó
sugestion, both plugins could offer the possibility to set a custom attribute: or, more simple to read: I use custom attr in my drupal project without problems! Very pratical Thanks Feijó

[jQuery] Re: ClueTip Question...

2007-11-18 Thread Feijó
its monologue permited in this group? lol Feijó - Original Message - From: "Rick Faircloth" <[EMAIL PROTECTED]> To: Sent: Sunday, November 18, 2007 3:03 AM Subject: [jQuery] Re: ClueTip Question... > > Well... I guess asking a question spawns an answer. >

[jQuery] Re: Close/hide div on click outside

2007-11-16 Thread Feijó
Can you provide an code of your attempt? It may be simple, or not. Depend on your page. You could set a master div, then just bind a click event on it to hide the target div target content master content $('#master).click(function() { $('#target).fadeOut('slow&

[jQuery] Re: hiding checkbox AND label?

2007-11-14 Thread Feijó
Try this $('h3').click(function() { $(this).next('.details').find("input:checkbox").not(":checked").parent().hide(); }); Feijó - Original Message - From: "Priest, James (NIH/NIEHS) [C]" <[EMAIL PROTECTED]> To: Sent: Wedne

[jQuery] RES: [jQuery] autocomplete - show all

2007-11-09 Thread Feijó
Who handle the search isnt the plugin, its the SQL When your PHP (?) function recieves the plugin request for autocomplete list, check if the string input by user is *, then return all rows. Something like: If (!$string=='*') $where .= " and yourfield like '$string%'); The performance will

[jQuery] Re: ajax "kill" jQuery script after load

2007-11-08 Thread Feijó
I have the same problem, had been searching around how to fix that for 2 days I dont wanna use iframe Do I need to use eval ? how? Thanks Feijó - Original Message - From: "ryznar" <[EMAIL PROTECTED]> To: Sent: Wednesday, November 07, 2007 12:51 PM Subject: [jQ

[jQuery] stick sidebar

2007-11-03 Thread Feijó
I'm having problem to find out how to do that Dont know the keywords to google it I need an sidebar (like the one on the right at mininova.org) always showing up at the top of the browser, no mater what part of the page the user are. How can I do that? What's the event? thanks Feijó

[jQuery] Re: Checkboxes and radios

2007-10-27 Thread Feijó
wow!!! What a builtfull code :)) Worked perfectly Thanks a lot, Wizzud Hope I get that advanced in jquery soon []s Feijó On Oct 26, 9:04 pm, Wizzud <[EMAIL PROTECTED]> wrote: > OK, so they're actually children of the grandparents (aunts/ > uncles?)... > > var checkBo

[jQuery] Re: Checkboxes and radios

2007-10-26 Thread Feijó
Ops, sorry I add this jquery to dynamicaly insert the radio $(document).ready(function() { $('.form-checkbox').parent().parent().prepend(' '); }); On Oct 26, 3:28 pm, Wizzud <[EMAIL PROTECTED]> wrote: > And the radio buttons would be where? > >

[jQuery] Re: Checkboxes and radios

2007-10-26 Thread Feijó
m, Wizzud <[EMAIL PROTECTED]> wrote: > Need a bit more information! > If you don't show us some HTML it's a bit difficult to second guess > the relationship between checkbox and radio. > > On Oct 25, 8:34 pm, "Alessandro Feijó" <[EMAIL PROTECTED]> wrot

[jQuery] Checkboxes and radios

2007-10-25 Thread Alessandro Feijó
.form-checkbox:radio').attr('disabled', $(this).attr('checked')); }); It returns every checkbox, but I cant figure out how to find the radio object from each one Thanks in advance for any tip :) huge hug Feijó

[jQuery] Re: disable effect in images

2007-10-20 Thread Feijó
Nice idea!! Will try that one :) Thanks, Wizzud On Oct 19, 7:31 pm, Wizzud <[EMAIL PROTECTED]> wrote: > The simplest way is to reduce it's opacity ... > > jQuery('img').css({opacity:0.5}); > > On Oct 19, 10:31 am, "Alessandro Feijó" <[EMAIL

[jQuery] disable effect in images

2007-10-19 Thread Alessandro Feijó
Its possible to turn any image to gray simulating a disabled effect?? I'm trying to find it out but don't know what are the keywords to search for Thanks! -- huge hug Feijó