[jQuery] Validate plugin, weird issues after remote validation implementation

2009-09-10 Thread Jean-Michel

Hi,

I got a form with a few fields. 2 of them are using remote validation.
So it's basically checking if username and email are already in
database.

The problem is those field seems to validate as soon has i click into
another field causing the error message to show up no mather if I did
put something in the field or not. What is more weird is that all the
error messages for the other field are shown at the same time. For
some reason display:none isn't added to the other messages when the
container get the display:block.

So it's basically not waiting for the form to be submitted for
validating those 2 fields. Others are ok.

Some other weird thing I noticed since I configured remote validation
is if I have thickbox on the same page has soon as I click on the
thickbox link it triggers the validation???

Any help will be greatly appreciated.


[jQuery] [validate] All error messages are shown when using remote validation

2009-09-08 Thread Jean-Michel

I got a form with a few inputs.

I'm using remote validation for 2 of them.

For some reasons when I as an example enter something in a form that
uses remote validation it gets validated after I click into the next
input it just doesn't wait for the form to get submitted. Any other
inputs which are not using remote validation are only validated upon
form submission.

Also when an input which is remotely validated triggers an error the
display:none isn't added to the other errors so i'm getting all errors
and not just the one for the field getting validated. All the other
inputs are adding display:none to the error messages not being
triggered by that specific input.

Any idea what could be causing this?


[jQuery] Jquery this keyword to show the current clicked div class

2009-08-13 Thread Jean-Claude Tounkara

I am new to Jquery and I need to use the this keyword to differentiate
which div class name needs to show.

Currently, my code below on '.bioclick' click event, every bio_desc is
displayed or showed. I just want to show the current clicked
'.bioclick' child '.bio_desc'. I tried using the this keyword but it
did not work. Please help with my code below.


$('.bio_desc').hide();



$('.bioclick').click(function() {

$('.speaker_wrapper').children('.bio_desc').toggle
('slow');

});

});


[jQuery] [validate] Refreshing the validator after dynamically adding a class to an element

2009-08-11 Thread Jean-Michel

Hi,

I know the refresh() method is gone since version 1.2 but for some
reason even if it's suposed to work without it I can't get it to work.

Here's the scenario:

I got a select box, depending on the selection I want certain element
to validate so I dynamically add validation class to those element
like this.

$(input#element).toggleClass({validate:{required:true}});

But when I click submit the element doesn't get validated at all but I
can see the class has been added in firebug.

Any clues what could be the problem?


[jQuery] Re: [validate] Refreshing the validator after dynamically adding a class to an element

2009-08-11 Thread Jean-Michel

Thanks, doing .toggleClass(required) fixed everything.

On Aug 11, 9:32 am, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
 Give that a try: .toggleClass(required)

 In your approach, its likely that the metadata isn't picked up, so
 you'd have to manually remove the cached metadata, via
 .data(metadata, null)

 Jörn

 On Tue, Aug 11, 2009 at 3:06 AM,

 Jean-Micheljean-michel.godin-dug...@voluzion.ca wrote:

  Hi,

  I know the refresh() method is gone since version 1.2 but for some
  reason even if it's suposed to work without it I can't get it to work.

  Here's the scenario:

  I got a select box, depending on the selection I want certain element
  to validate so I dynamically add validation class to those element
  like this.

  $(input#element).toggleClass({validate:{required:true}});

  But when I click submit the element doesn't get validated at all but I
  can see the class has been added in firebug.

  Any clues what could be the problem?


[jQuery] Re: CTRL+S to Insert Record PHP+JQUERY

2009-04-16 Thread Jean

do u wanna the sql too? LOL

On Thu, Apr 16, 2009 at 2:24 AM, bharani kumar
bharanikumariyer...@gmail.com wrote:
 Hi All ,
 Can u please tell ,
 How to implement  in jquery, php,,
 Insert record after pressed the CTRL+S in keyboard ,
 Thanks

 --
 உங்கள் நண்பன்
 பரணி  குமார்

 Regards
 B.S.Bharanikumar

 POST YOUR OPINION
 http://bharanikumariyerphp.site88.net/bharanikumar/




-- 
[]´s Jean a.k.a Suissa

Tecnólogo em Análise de Sistemas - UTF-PR
131


[jQuery] Re: [ANNOUNCE] Machinetag plugin- initial release

2009-04-15 Thread Jean

i want to know how to structure that in sql

On Tue, Apr 14, 2009 at 10:16 PM, cldwalker gabriel.hor...@gmail.com wrote:

 Hi,
  I'm announcing the initial release of Machinetag,  a jQuery plugin
 for your machine tag needs. Machine tags (aka triple tags) are just
 tags with two levels of context. For an intro to machine tags, read
 http://tagaholic.me/2009/03/26/what-are-machine-tags.html .

 Plugin links:

 Blog post: http://tagaholic.me/2009/04/14/i-am-machine-tag-and-so-can-you.html
 Code: http://github.com/cldwalker/machinetag.js/tree/master
 Demo: http://tagaholic.me/blog.html#post:*

 My plugin provides search and display functions for machine tagged
 content. My hope with this plugin is to bring machine tagging to
 everyone. It has mainly been a flickr-only thing for some time.

 This being my first jQuery plugin, all feedback is welcome, especially
 concerning jQuery conventions.

 Enjoy!
 Gabriel




-- 
[]´s Jean a.k.a Suissa

Tecnólogo em Análise de Sistemas - UTF-PR


[jQuery] Re: JSON , PHP, MySQL, and jQuery

2009-04-11 Thread Jean

[
 {'name': 'John', 'lastName': 'Doe','age':'25', 'height': '170',
 'weight': '120'},
 {'name': 'Jane', 'lastName': 'Doe','age':'26', 'height': '175',
 'weight': '121'},
 {'name': 'Jack', 'lastName': 'Doe','age':'27', 'height': '180',
 'weight': '122'} ]

i think is

{'
 [name': 'John', 'lastName': 'Doe','age':'25', 'height': '170',
 'weight': '120'],
['name': 'Jane', 'lastName': 'Doe','age':'26', 'height': '175',
 'weight': '121'],
 ['name': 'Jack', 'lastName': 'Doe','age':'27', 'height': '180',
 'weight': '122']}

isnt?

On Wed, Apr 8, 2009 at 11:21 PM, Renato Untalan phis...@gmail.com wrote:

 I'm having trouble parsing JSON in Javascript.

 The response i'm getting from PHP when making a request is:
 [
 {'name': 'John', 'lastName': 'Doe','age':'25', 'height': '170',
 'weight': '120'},
 {'name': 'Jane', 'lastName': 'Doe','age':'26', 'height': '175',
 'weight': '121'},
 {'name': 'Jack', 'lastName': 'Doe','age':'27', 'height': '180',
 'weight': '122'} ]

 How would I go about parsing this in Javascript?  Am I not encoding it
 correctly on the PHP Side?

 Here's my JAVASCRIPT:
        $.get(includes/functions_inside.php, {function : getAppList},
                function(data, textStatus){
                        alert( data[0] );
                }
        );

 Here's my PHP:

        $AppListQuery = $insideDB-customQuery($query);
        $rows = array();
        while($r = mysql_fetch_assoc($AppListQuery)) {
            $rows[] = $r;
        }
        print json_encode($rows);

 Thanks in advance!




-- 
[]´s Jean a.k.a Suissa

Tecnólogo em Análise de Sistemas - UTF-PR
www.tudopg.com.br
www.tudocuritiba.com.br
www.tudocacascavel.com.br
www.tudofoz.com.br
www.tudopuava.com.br


[jQuery] Problem Containts for select words

2009-04-08 Thread Jean Carlo


I am using the function to search for words in containts TR.
I have three words well (Sunday and Monday, Sunday and Monday and
Sunday)
Only is selected and the second Saturday and Sunday and Monday.
I was also selected to Sunday but could not.
Thanks to All

Im using$('table#horario tbody tr td:nth-child(' + n + '):contains('
+ textoCelula + ')').parents('tr').addClass('destacar');


Containts handle the months


[jQuery] Select Text

2009-04-07 Thread Jean


The link of this exercise is below
http://www.livrojquery.com.br/cap_10/arquivo-10.5c.html
I'm having problems selecting items Seg. e Dom.
Do not select.  Dom. use because it contains the function case
sensitive. Seg. e Dom. is different from.   Dom.
What is another selection to select the texts?


[jQuery] Re: Can some one convert simple code to jQuery

2009-03-12 Thread Jean-Marie POISSONNIER

It doesn't work because [...@attr] selectors were removed in jQuery 1.3.
http://docs.jquery.com/Release:jQuery_1.3#Changes

You can write something like this :

$(#follow_me).click(function()
{
$(input[name=article_id[]]).attr(checked, this.checked ?
checked :  )
})


[jQuery] [validate] Group highlighting fix?

2009-03-05 Thread Jean-Charles S

I have a group of fields (field 301 and 306) that are two inline
select boxes to represent the month and year.  I've grouped them with
the proper validate hash object (groups) and set the errorPlacement
to be after field 306.  All works fine as far as validation goes,
however I've also assigned a highlight function on the field's parent
element.  On all single fields, this works perfectly.  On the grouped
elements, however, if the first field is marked as invalid and the
second is marked as valid, highlight is called first for the first
field, highlighting the parent element, but then unhighlight is called
due to the second field and the parent element no longer has the
correct highlighting.

Is there anyway I can prevent this negating action from happening?  In
other words, prevent unhighlight from occuring as a result of the 2nd
field in the group technically being valid (yet the group is still
invalid)?


[jQuery] Form submission - Callback method not being called

2009-01-12 Thread Jean-Philippe Couture

Hi,

I am having some difficulties trying programatically submit a form.
The form never get submitted and the callback is never executed. Could
anyone please give me some pointers, please?

Take the following example:

---
?xml version=1.0 encoding=UTF-8?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN http://www.w3.org/
TR/xhtml11/DTD/xhtml11.dtd

html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en 
head
meta http-equiv=Content-Type content=text/html;
charset=UTF-8/
title/title

script type=text/javascript src=jquery-1.2.6.js/script

script type=text/javascript
jQuery.noConflict();
/script

script type=text/javascript
function handleFormSubmissionClick(event) {
handleValidation();
}

function handleValidation(args) {
jQuery(form).submit(handleFormSubmission);
}

function handleFormSubmission(event) {
//This callback is never executed...
return true;
}

jQuery(document).ready(function(){
jQuery(#submit).bind(click,
handleFormSubmissionClick);
});
/script
/head
body
form
input id=submit name=submit type=button
value=send /
/form
/body
/html
---

Best regards,
Jean-Philippe Couture, jcout...@gmail.com


[jQuery] is accessing element by a class faster than accessing X element by ID

2009-01-05 Thread jean-baptiste.demo...@digitick.com

Hi,

I want to know if it first code is faster than the second (and why) :

1st try :

div id=toto1 class=toto/div...
div id=toto2 class=toto/div...
div id=toto3 class=toto/div...

$(.toto).hide();


2nd try :


div id=toto1/div...
div id=toto2/div...
div id=toto3/div...

$(#toto1).hide();
$(#toto2).hide();
$(#toto3).hide();


(in my code, there are more than 50 toto)

Thanks for helping.


[jQuery] Re: [TUTORIAL] Create an amazing music player using mouse gestures hotkeys in jQuery

2008-12-05 Thread Jean

4 me too

On Fri, Dec 5, 2008 at 7:29 AM, Mika Tuupola [EMAIL PROTECTED] wrote:


 On Dec 4, 2008, at 7:28 PM, AdrianMG wrote:

 You can see the tutorial over here:

 http://yensdesign.com/2008/12/create-an-amazing-music-player-using-mouse-gestures-hotkeys-in-jquery/


 Should there be music too? It is silent for me FF3  Safari in OSX?

 --
 Mika Tuupola
 http://www.appelsiini.net/





-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Calling PHP Functions from jQuery?

2008-07-17 Thread Jean

Very nice!

On Mon, Jul 14, 2008 at 9:00 PM, Kevin Pepperman [EMAIL PROTECTED] wrote:
 I think this plugin does what you are looking for:

 http://plugins.jquery.com/project/EUReCa

 On Mon, Jul 14, 2008 at 10:11 AM, Yavuz Bogazci [EMAIL PROTECTED] wrote:

 Hi,

 is it possible to call php functions from jquery? I knew how to call
 a .php page from jquery with $.post and to echo output or return a
 JSON Object. But my application growth and there is an increase in
 single php pages. This is very confusing and the filemanagement is
 getting complicated.

 How are you solving this problem? Is a good tutorial or info out
 there? I have searched google and couldnt find a useful answer.

 thank a lot
 yavuz



 --
 Yogi Berra  - A nickel ain't worth a dime anymore.



-- 

[]´s Jean
www.suissa.info

 Ethereal Agency
www.etherealagency.com


[jQuery] Re: PLUGIN: jQuery Column Filters

2008-07-14 Thread Jean

Very nice!

On Mon, Jul 14, 2008 at 6:30 PM, Rey Bango [EMAIL PROTECTED] wrote:

 jQuery Column Filters by Tom Coote

 http://www.tomcoote.co.uk/jQueryColumnFilters.aspx

 Rey...




-- 

[]´s Jean
www.suissa.info

 Ethereal Agency
www.etherealagency.com


[jQuery] Re: [ANNOUNCE] jFlip plugin

2008-05-30 Thread Jean

Niiice!

On Fri, May 30, 2008 at 8:47 AM, Renato Formato
[EMAIL PROTECTED] wrote:

 Hi all,
 I've just released the jFlip plugin,
 a plugin to make unobtrusive flipping page image galleries using canvas
 (warning: no Flash needed!).

 It works with all jquery compatible browsers, IE included, using an enhanced
 version of excanvas I wrote.

 Enjoy!

 http://www.jquery.info/The-jFlip-plugin

 Renato Formato





-- 

[]´s Jean
www.suissa.info

 Ethereal Agency
www.etherealagency.com


[jQuery] force an error

2008-03-08 Thread Jean-Sébastien

how can i'd like to force an error after an ajax call, and work with
json array returned.
how do i do this?


[jQuery] Re: optimization in jquery

2008-03-06 Thread Jean-Sébastien

hi, in my case the element is selected with an i id, so i guess it's
found relatively quickly. but this div is about 800 html lines
(doesn't mean anything but i can't count tags). In fact i just made
some ajax pagination inside the div.

On Mar 6, 3:00 pm, Ariel Flesler [EMAIL PROTECTED] wrote:
 Hi H0tzen

    I disagree with you, I think 'a.foobar' is usually faster than your
 first selector. It's always relative, because you might have hundreds
 of a. Then you should first filter most out specifying a container,
 and then do the straight filter.
 Each part of the selector requires jQuery to check each matcheded
 element in the collection.

 I might be wrong, hope not.

 Cheers
 Ariel Flesler

 On 6 mar, 07:32, h0tzen [EMAIL PROTECTED] wrote:

  // store selector-results in variables and reuse
  $sel = $('.foo-class')

  $sel.click
  $sel.find('.bar')
  $sel.somePlugin
  

  // specify selectors as hard as possible
  $('body  div.foo  div.bar  a.foobar')
  is more specific and significantly faster than
  $('a.foobar')

  // use the scope
  $('div.foobar').click(function() {
    // using this as scope to start searching for .bar
     $('.bar', this).each( ... )
     or
     $(this).find('.bar').each( ... )

  });- Ocultar texto de la cita -

  - Mostrar texto de la cita -


[jQuery] optimization in jquery

2008-03-05 Thread Jean-Sébastien

hi, when i work on a big div tag (containing lots of others elements)
browser freeze, during few seconds.
is there a way to optimize this.
and more generally what are the best practices to optimize jquery
functions.


[jQuery] Star Rating plugin

2008-02-16 Thread Jean

This is a great plugin but dont work with 1.2.1 version of jquery. Are
someone using this plugin?

-- 

[]´s Jean
www.suissa.info

 Ethereal Agency
www.etherealagency.com


[jQuery] Re: jquploader 2 alpha 1 - rich file upload dialog plugin - please test and help

2008-01-31 Thread Jean

Works for me! But was interesting if able to select more than 1 file,
like swfuploader.

On Thu, Jan 31, 2008 at 9:36 AM, Alexandre Plennevaux
[EMAIL PROTECTED] wrote:
 Hello friends,

 I am working on the new version of jqUploader, a plugin that allows to
 replace the file inputs in a form  for a more user-friendly file upload
 dialog via the use of an invisible flash object.
 The new version allows for full customization via CSS and html, instead of
 having to tweak the flash file.

 I've pretty much finished a working prototype (still need to implement all
 the customizable options). It works well on WinXP FF2.

 WARNING: THIS IS ALPHA STUFF NOT TO BE USED IN PRODUCTION YET 

 demo is here: http://www.pixeline.be/experiments/jqUploader/v2/

 I have 2 requests:  query.jquploader2.js


 1/ can you test on your side and (especially mac users) let me know if the
 test works or not for you.
  2/ for plugin experts: if you look at the code i use functions that i would
 like that the user be able to modify, but i don't know exactly how to do
 that. For the moment, the js functions called by flash are sitting outside
 of the plugin loop.
  What would be the good way to allow users to modify what these function do?
 Basically their task is to update the html according to the flash events.
 The code is here:

 Thank you for your time,

 Alexandre

 --
 Alexandre Plennevaux
 LAb[au]

 http://www.lab-au.com



-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: jquploader 2 alpha 1 - rich file upload dialog plugin - please test and help

2008-01-31 Thread Jean

Windows XP w/ FF 2


Very cool design btw.

On Thu, Jan 31, 2008 at 10:01 AM, Alexandre Plennevaux
[EMAIL PROTECTED] wrote:

  btw, what is your browser and os ?


  On 31 jan, 12:51, Jean [EMAIL PROTECTED] wrote:
   Works for me! But was interesting if able to select more than 1 file,
   like swfuploader.
  
   On Thu, Jan 31, 2008 at 9:36 AM, Alexandre Plennevaux
  
  
  


  [EMAIL PROTECTED] wrote:
Hello friends,
  
I am working on the new version of jqUploader, a plugin that allows to
replace the file inputs in a form  for a more user-friendly file upload
dialog via the use of an invisible flash object.
The new version allows for full customization via CSS and html, instead 
 of
having to tweak the flash file.
  
I've pretty much finished a working prototype (still need to implement 
 all
the customizable options). It works well on WinXP FF2.
  
WARNING: THIS IS ALPHA STUFF NOT TO BE USED IN PRODUCTION YET 
  
demo is here:http://www.pixeline.be/experiments/jqUploader/v2/
  
I have 2 requests:  query.jquploader2.js
  
1/ can you test on your side and (especially mac users) let me know if 
 the
test works or not for you.
 2/ for plugin experts: if you look at the code i use functions that i 
 would
like that the user be able to modify, but i don't know exactly how to do
that. For the moment, the js functions called by flash are sitting 
 outside
of the plugin loop.
 What would be the good way to allow users to modify what these function 
 do?
Basically their task is to update the html according to the flash events.
The code is here:
  
Thank you for your time,
  
Alexandre
  
--
Alexandre Plennevaux
LAb[au]
  
   http://www.lab-au.com
  
   --
  
   []´s Jeanwww.suissa.info
  
  Ethereal Agencywww.etherealagency.com




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Shadowbox Media Viewer

2008-01-25 Thread Jean

=O

killerrr!
On Jan 25, 2008 1:26 PM, Karl Swedberg [EMAIL PROTECTED] wrote:

 Wow, Michael, that is gorgeous! Very smooth. Haven't looked at the
 code yet, but the presentation is outstanding. Fantastic work!


 --Karl
 _
 Karl Swedberg
 www.englishrules.com
 www.learningjquery.com



 On Jan 25, 2008, at 4:45 AM, mjijackson wrote:

 
  Hello all,
 
  I'm putting the finishing touches on a media viewer application that I
  coded up recently (think Thickbox). It can be used with jQuery or any
  other library. I created an adapter for jQuery, and I thought that
  somebody on this list might be interested.
 
  http://mjijackson.com/2008/01/22/shadowbox-js-media-viewer-1-0-beta/
 
  Enjoy,
 
  Michael





-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: jQuery Firefox vs IE Problem

2008-01-25 Thread Jean-Etienne LaVallee

This is a known JQuery bug...

This has to do with FF rendering tables compliant to the CSS2 spec for
display:... in FF table, tr, and td are given display values
of table, table-row, and table-cell respectively.  In IE they
all get block.

JQuery's show/hide animation methods switch display: between
hidden and block.  This will work fine for IE but totally breaks
the show() behavior in FF for rows or cells.

Swapping it back to display: default is the best way of getting
uniform behavior, but it still won't help with animations...

All around, it's very annoying since there are situations where either
you can't get out of using a table (e.g. for displaying tabular data)
or where you may need to use table layout for a legacy app.

Working on finding a better way of handling this... will post
somewhere here if I find such.

cheers,
Etienne


On Jan 17, 5:07 pm, ManuelMP [EMAIL PROTECTED] wrote:
 Ok, I'll try that.

 Thanks for your help.

 Cheers!
 Manuel Moniz Pereira



 Jeffrey Kretz wrote:

  Yeah, I see what's happening in firefox.

  I'm not sure if this will match the needs of your program, but I would
  recommend shifting your HTML into a CSS-based approach with divs or other
  elements rather than trying to use a table-layout.

  For example, a flyout menu with tables is a nightmare, but one with ul/li
  items is a piece of cake.

  Just my $0.02.

  JK

  -Original Message-
  From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
  Behalf Of ManuelMP
  Sent: Thursday, January 17, 2008 12:16 PM
  To: jquery-en@googlegroups.com
  Subject: [jQuery] Re: jQuery Firefox vs IE Problem

  Ok, I've tried the tr and it seems to work better.

  Although, there's still some extra space which firefox includes, and I
  think
  it wasn't supposed to...

  I've uploaded another file, with a second version:
 http://www.filaum.com/teste2.htmlhttp://www.filaum.com/teste2.html

  Thanks!
  Manuel Moniz Pereira

  Jeffrey Kretz wrote:

  I tried looking at your page, but I got a 404 not found error.

  Have you tried making the trshow/hide, rather than the td?

  JK

  -Original Message-
  From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
  Behalf Of ManuelMP
  Sent: Thursday, January 17, 2008 9:44 AM
  To: jquery-en@googlegroups.com
  Subject: [jQuery] jQuery Firefox vs IE Problem

  Hi all,

  I'm having problems with a difference in rendering between IE and
  Firefox.
  The thing is that when a td element is with display hidden, when I make
  it
  appear with jQueryshow, in IE it renders nicely, but in Firefox it
  appears displaced.

  I've put an online example page:  http://www.filaum.com/teste.html
 http://www.filaum.com/teste.html.

  The source code of the page is:

  html
  head
  script src=jquery-1.2.1.js type=text/javascript/script
  /head
  body

  table style=border: 1px solid green;
tr
  td width=100 style=border: 1px solid blue; # Click /td
/tr
tr
  td id=show_hide style=display: none; border: 1px solid black;
table width=100% height=100% style=border: 1px solid red;
  tr
td XPTO XPTO XPTO /td
  /tr
/table
  /td
/tr
  /table

  /body
  /html

  Thanks for all help!
  Cheers
  Manuel Moniz Pereira
  --
  View this message in context:

 http://www.nabble.com/jQuery-Firefox-vs-IE-Problem-tp14922466s27240p1...
  .html
  Sent from the jQuery General Discussion mailing list archive at
  Nabble.com.

  --
  View this message in context:
 http://www.nabble.com/jQuery-Firefox-vs-IE-Problem-tp14922466s27240p1...
  .html
  Sent from the jQuery General Discussion mailing list archive at
  Nabble.com.

 --
 View this message in 
 context:http://www.nabble.com/jQuery-Firefox-vs-IE-Problem-tp14922466s27240p1...
 Sent from the jQuery General Discussion mailing list archive at Nabble.com.


[jQuery] blur FireFox/IE

2008-01-19 Thread Jean-Sébastien

Hi, i'm trying to do a function on blur event, it works on Firefox but
not on IE. what's the reason?
 I just do this:
$('.down_menu.show').livequery('blur', function(){
  $(this).removeClass('show');
});

Maybe i should precise i'm using jquery 1.2.1


[jQuery] Re: Element not appended in IE7

2007-12-10 Thread Jean

i have the same problem, but this doesnt work too =/
t
On Dec 10, 2007 3:55 PM, Haingotiana A. RAKOTONJANAHARY
[EMAIL PROTECTED] wrote:
 $a = document.createElement('a');
 $(a).appendTo($container);
 




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Ann: Flot 0.1 released

2007-12-04 Thread Jean

Our projects will could be more desktop now =D

Thanks a lot!

On Dec 4, 2007 10:04 AM, Ole Laursen [EMAIL PROTECTED] wrote:

 Hi!

 I've just released Flot 0.1, a brand-new plot plugin for jQuery which
 focuses on simple usage, attractive looks and interactive features
 like zooming. It's like plotr and Plotkit, but hopefully a bit more
 intelligent when it comes to auto-adjusting axes.

 The project page is here:

   http://code.google.com/p/flot/

 And examples are here:

   http://people.iola.dk/olau/flot/examples/

 I also posted about the news on my blog:

   http://ole-laursen.blogspot.com/2007/12/flot-01-released.html

 I'm in the midst of writing the API documentation, but the examples
 should hopefully get you started and the available settings are
 documented in the source code at the top of the file.

 --
 Ole Laursen
 http://people.iola.dk/olau/




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] dataType POST

2007-12-03 Thread Jean-Sébastien

(i post this message again i've posted it 2 hours ago but it didn't
appear yet.)

in jquery doc is written : warning script will turn posts into gets
so, is there a way to send POST or DELETE or PUT ajax query with
datatype: 'script'?

  regards


[jQuery] dataType POST

2007-12-03 Thread Jean-Sébastien

on jquery, is sayed (about dataType='script'): # warning script will
turn posts into gets .

Is there another to have a dataType='script' and force POST, or PUT or
DELETE ?

regards


[jQuery] Re: Jquery call strips away script tags

2007-11-29 Thread Jean

For that i use
 $.ajax({
   type: GET,
   url: view/agenda/agenda.js,
   dataType: script
 });
inside my $(document).ready
On Nov 26, 2007 7:26 PM, Ramon Quiusky [EMAIL PROTECTED] wrote:

 Yes there is...I'm using the linked select jquery plugin that returns 
 javascript/jquery code but it gets stripped away! Thanks!


 -Original Message-
 From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John 
 Resig
 Sent: Monday, November 26, 2007 10:57 AM
 To: jquery-en@googlegroups.com
 Subject: [jQuery] Re: Jquery call strips away script tags


 If you inject the string into the document (which both load and append
 do) the scripts will be executed and then removed. Is there any
 particular reason why you want the script elements?

 --John

 On Nov 26, 2007 12:49 PM, RR_QQ [EMAIL PROTECTED] wrote:
 
 
  Hello!  have a jquery ajax call that returns some HTML that has javascript
  code in it but it seems all the javascript is being stripped away. I read
  somewhere that that is the way the jquery acts. Is there anyway around this?
  I posted about the same topic last week but no one replied. HELP!
 
  Here are two things I have tried that just have NOT worked (all HTML is
  returned EXCEPT the javascript code):
 
  # method 1:
  $(#target_div).load(url);
 
  msg = $.ajax({
  type: POST,
  url: http://localhost/myproject/getHtml.php;,
  data: id= + id,
  async: false
 
  }).responseText;
 
  $(#target_div).html(msg);
 
  Any help is treatly appreciated
  --
  View this message in context: 
  http://www.nabble.com/Jquery-call-strips-away-%22%3Cscript%3E%22-tags-tf4876614s27240.html#a13954590
  Sent from the jQuery General Discussion mailing list archive at Nabble.com.
 
 




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com
 th


[jQuery] Re: Pretty Calendar Plugin

2007-11-29 Thread Jean

Mootools always the best for interface =/

On Nov 29, 2007 2:37 PM, weepy [EMAIL PROTECTED] wrote:

 http://www.electricprism.com/aeron/calendar/

 Unfortunately it's in MooTools - would it be difficult to port ?





-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Pretty Calendar Plugin

2007-11-29 Thread Jean

And they are very good in this uhn =p
Let jqueryfy them \o/

On Nov 29, 2007 2:59 PM, Rey Bango [EMAIL PROTECTED] wrote:

 Mootools itself is not the best for interfaces. Mootool users, though,
 appear to go to great length to style their apps nicely.

 Rey


 Jean wrote:
  Mootools always the best for interface =/
 
  On Nov 29, 2007 2:37 PM, weepy [EMAIL PROTECTED] wrote:
  http://www.electricprism.com/aeron/calendar/
 
  Unfortunately it's in MooTools - would it be difficult to port ?
 
 
 
 
 




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: selector to string

2007-11-27 Thread Jean-Sébastien

hi suni,  want to send an ajax query, in which i tell the dom element
to update.

On Nov 27, 8:58 am, Suni [EMAIL PROTECTED] wrote:
 I dont think there is any easy way to do that.

 A single DOM element could have 10 different selectors that match it
 (or others with it). Such a function could return just #myId, or
 maybe div.foobar a.

 Why would you need to do this in the first place? Once you've selected
 an element you generally should _avoid_ selecting it again with a
 selector string (why bother the extra overhead of re-selecting since
 you already have the element selected?). You can just pass the object
 as a parameter to whatever functions you might need.

 What are you trying to accomplish?

 --
 Suni


[jQuery] Re: selector to string

2007-11-27 Thread Jean-Sébastien

i want to send an ajax query in which i pass the element to update:

$.ajax({url: _href,data: rel= + escape(#myId a.myClass)})

On Nov 27, 8:58 am, Suni [EMAIL PROTECTED] wrote:
 I dont think there is any easy way to do that.

 A single DOM element could have 10 different selectors that match it
 (or others with it). Such a function could return just #myId, or
 maybe div.foobar a.

 Why would you need to do this in the first place? Once you've selected
 an element you generally should _avoid_ selecting it again with a
 selector string (why bother the extra overhead of re-selecting since
 you already have the element selected?). You can just pass the object
 as a parameter to whatever functions you might need.

 What are you trying to accomplish?

 --
 Suni


[jQuery] selector to string

2007-11-26 Thread Jean-Sébastien

I'm sure it's a simple question, but i'm looking in the api but don't
find it.
How do i convert my selected element to a string?  something like :
#myId a.myClass


[jQuery] Re: new plugin: jClocke

2007-11-20 Thread Jean

REALLY COOL, but how i can change the minutes?


On Nov 20, 2007 12:40 AM, dbzz [EMAIL PROTECTED] wrote:

 i have been working on a plugin and have gotten to the point where i
 think i need some feedback. i'm sure there are bugs and code that
 could be better or is just bad practice. i haven't done any docs or
 extensive demos - this is just sort of a proof of concept. so have a
 look and feel welcome to reply.

 http://briskey.com/jClocke

 cheers,
 db




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Autosuggest

2007-11-20 Thread Jean
 of the recipient
followed by the address and post code for the autocomplete to work.
If the user was to start with a postcode or street address, as most
users would probably consider sensible, then the autocomplete would
return no results.
 
What I really need is something that works in a similar manner to the
autocomplete plugins I've found so far, but that doesn't care about
the order of the words typed into the search box.  The only constraint
should be that the strings being matched against contain all the words
typed.
 
For example, if an address is listed as Mister Foobar, 123 Fake
street, Quuxville, AS1 23D, then the autocomplete plugin would suggest
that address if the user typed in fake street as1, or fake
foobar.  Are there any autocumplete plugins that support doing this?
 
   --
   View this message in 
   context:http://www.nabble.com/Autosuggest-tf4835224s27240.html#a13842444
   Sent from the jQuery General Discussion mailing list archive at 
   Nabble.com.




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Why plugin repository dont have a search?

2007-11-14 Thread Jean

  Always when i come to find some plugin i have to click to browse by
name and use the search of Firefox to find what i want, so why dont
have any search field?

sorry the bad english

-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: jqGrid update

2007-11-14 Thread Jean

and the client side sorter?

On Nov 13, 2007 11:10 AM, Tony [EMAIL PROTECTED] wrote:

 Ryura,
 Yes there is solution for this. Please check the JSON SubGrid example
 - you can pass parameters from master grid.
 Regards
 Tony


 On 13 Ноем, 01:51, Ryura [EMAIL PROTECTED] wrote:
  Wonderful, these client side editing features will be incredibly
  helpful.
 
  Any status on the subgrid suggestion I made (allow you to compare any
  two columns instead of just id=)?
 
  On Nov 12, 3:43 pm, Steve Brownlee [EMAIL PROTECTED] wrote:
 
   Fantastic job, Tony.  I already know where I can use this.
 
   On Nov 12, 5:59 am, Tony [EMAIL PROTECTED] wrote:
 
Just now I have updated the jqGrid.
The news are:
- Row editing
- From now jqGrid can accept XML and JSON data with arbitrary
structure using a xmlReader and jsonReader.
 
Demo at:http://trirand.com/jqgrid/jqgrid.html
 
Just now I will work hard on documentation.
Enjoy
Tony





-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: jQuery.LocalScroll 1.1.2

2007-11-14 Thread Jean

Very nice, and some about easing??

On Nov 12, 2007 8:41 PM, Flesler [EMAIL PROTECTED] wrote:

 Hi, I've released version 1.1.2 of this plugin.

 Changes are:
  - The default settings have been exposed for modification.
  - The plugin can still work for dynamically added anchors, using the
 setting 'persistent'.
  - The trigger event can be something else than click.
  - It's possible to make the anchors alter the hash in the address bar
 (the default behavior).

 This is the project page: http://jquery.com/plugins/project/LocalScroll
 And the demo: http://www.freewebs.com/flesler/jQuery.LocalScroll/

 Hope it'll be useful for someone.

 Ariel Flesler





-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: For Brazilians jQuery Developers

2007-11-01 Thread Jean

Unfortunally this dont work here
firebug said: uncaught exception: Permissão negada para chamar o
método XMLHttpRequest.open

On 10/31/07, alexanmtz [EMAIL PROTECTED] wrote:

 O que vocês estavam querendo é isso: 
 http://www.alexandremagno.net/portfolio_dev/contato
 ?

 Tente postar violando alguma regra de validação e depois enviem...

 Eu tinha desenvolvido um script assim e estou escrevendo ele para o
 blog...

 On 31 out, 08:25, Jean [EMAIL PROTECTED] wrote:
  Bom eu tinha um questionario que deixava uma mensagem de Aguarde
  enquanto validava, mas não era pa nenhuma faculdade, apesar que o
  questionario era p/ pos do meu chefe =p
 
  On 10/30/07, Web Specialist [EMAIL PROTECTED] wrote:
 
 
 
   Abacaxi,
 
   obrigado pelo comentário mas no caso daquela mensagem o desenvolvedor
   comentava sobre outra coisa. Fui descobrir o esquema da mensagem
   bisbilhotando o código fonte dele.
 
   Marco Antonio
 
Em 30/10/07, abacaxi [EMAIL PROTECTED] escreveu:
 
Antonio, pesquise por loading message aqui ou em
   http://jquerybrasil.com/forum/lofiversion/index.php
 
ph
 
On Oct 30, 2:50 pm, Web Specialist  [EMAIL PROTECTED]
wrote:
 I'm here to ask to a brazilian jQuery developer about a form 
 validation
 example published here days ago.
 
 Outro dia um desenvolvedor brasileiro nos mostrou um exemplo aqui de 
 uma
 validação onde ele apresenta uma tela de AGUARDE... no momento da
   chamada
 da validação do formulário(usando Jorn Form Validation). Alguém se
   lembra
 desse post? Eu queria ver novamente aquele exemplo que achei bastante
 interessante. Se não me falha a memória era um form de uma 
 universidade
   do
 estado do Paraná.
 
 Obrigado.
 
 Marco Antonio
 
  --
 
  []´s Jeanwww.suissa.info
 
 Ethereal Agencywww.etherealagency.com




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: [NEWS] Site Using jQuery: TurboTax.com

2007-11-01 Thread Jean

I already see that plugin but i cant find in repository and i cant
remeber the exactly name

On 11/1/07, Lee Hinde [EMAIL PROTECTED] wrote:

 On 10/31/07, Guy Fraser [EMAIL PROTECTED] wrote:
 
  Lee Hinde wrote:
   http://cherne.net/brian/resources/jquery.hoverIntent.html
  
   On 10/31/07, Guy Fraser [EMAIL PROTECTED] wrote:
  
That rocks! I love the use of hover intent on the basic/delux/etc 
   panels -
   which plugin was used to do that?
  
 
  Oops - I should have been more specific - what plugin is used to zoom
  out the panels when you hover over them? I particularly like the way
  the text scales smoothly. There's so much JS used on that site that I
  can't see the college for the fish :s
 
 My skill set ends at reading the html source. :-)



-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Autocomplete - which one??

2007-11-01 Thread Jean

I will try that http://jquery.com/plugins/project/ac

On 10/31/07, Priest, James (NIH/NIEHS) [C] [EMAIL PROTECTED] wrote:

  -Original Message-
  From: sgrover [mailto:[EMAIL PROTECTED]

  touched in a while).  I'm looking for suggestions on which is the
  recommended plugin, and is relatively easy to use.

 I've had great luck with Jorn's version...

 http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/

 Good docs.  Not sure about formatting - I've always stuck with the
 standard output with a few CSS tweaks.

 Jim



-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: passing this

2007-11-01 Thread Jean-Sébastien

i just test it, it is just nice! and really usefull.

On Nov 2, 2:43 am, Danny [EMAIL PROTECTED] wrote:
 I played with this (and was inspired by the code 
 inhttp://blog.jcoglan.com/2007/10/30/asynchronous-function-chaining-in-...)
 and created a namespacing plugin:

 (function($){
   $.namespace = function(ns, functions){
 $.fn[ns] = function() {return this.extend(functions)};
   };
   $.namespace('$', $.fn); // the default namespace

 })(jQuery);

 So now you can have a plugin:
 $.fn.func = function(){alert('plugin'); return this'};

 and create plugins in a namespace:
 $.namespace ('mynamespace', {
   func: function() {alert('namespaced plugin'); return this;},
   otherfunc: function() {return this.css('color', 'yellow');}

 });

 And if you do
 $('div').func(); // alerts 'plugin' -- no namespace
 But
 $('div').mynamespace().func(); // alerts 'namespaced plugin'
 And
 $('div').mynamespace().func().$().func(); // alerts 'namespaced
 plugin', then resets to the normal jquery and alerts 'plugin'

 Danny

 On Oct 28, 5:50 pm, Jean-Sébastien [EMAIL PROTECTED]
 wrote:

  sorry, james i didn't see someone answer me.
  what i want to do is ('div').set_of_plugins.choosen_plugin(). where
  the first level (set_of_plugins) is kind of container (namespace) of
  all my plugins. is it possible to do it?

  On Oct 28, 5:20 pm, James Dempster [EMAIL PROTECTED] wrote:



[jQuery] Re: [News]: Plugin Development Pattern (blog entry)

2007-10-31 Thread Jean

Superb!

On 10/30/07, Karl Swedberg [EMAIL PROTECTED] wrote:
 Hey everyone,

 Mike Alsup posted a fantastic entry called Plugin Development Pattern today.
 If you've been writing jQuery plugins, or thinking about writing one, this
 is definitely worth a good, careful read.

 http://www.learningjquery.com/2007/10/a-plugin-development-pattern


 --Karl
 _
 Karl Swedberg
 www.englishrules.com
 www.learningjquery.com






-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: For Brazilians jQuery Developers

2007-10-31 Thread Jean

Bom eu tinha um questionario que deixava uma mensagem de Aguarde
enquanto validava, mas não era pa nenhuma faculdade, apesar que o
questionario era p/ pos do meu chefe =p

On 10/30/07, Web Specialist [EMAIL PROTECTED] wrote:
 Abacaxi,

 obrigado pelo comentário mas no caso daquela mensagem o desenvolvedor
 comentava sobre outra coisa. Fui descobrir o esquema da mensagem
 bisbilhotando o código fonte dele.

 Marco Antonio

  Em 30/10/07, abacaxi [EMAIL PROTECTED] escreveu:
 
  Antonio, pesquise por loading message aqui ou em
  http://jquerybrasil.com/forum/lofiversion/index.php
 
  ph
 
  On Oct 30, 2:50 pm, Web Specialist  [EMAIL PROTECTED]
  wrote:
   I'm here to ask to a brazilian jQuery developer about a form validation
   example published here days ago.
  
   Outro dia um desenvolvedor brasileiro nos mostrou um exemplo aqui de uma
   validação onde ele apresenta uma tela de AGUARDE... no momento da
 chamada
   da validação do formulário(usando Jorn Form Validation). Alguém se
 lembra
   desse post? Eu queria ver novamente aquele exemplo que achei bastante
   interessante. Se não me falha a memória era um form de uma universidade
 do
   estado do Paraná.
  
   Obrigado.
  
   Marco Antonio
 
 




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: how can i upload file with $.post and php

2007-10-30 Thread Jean

i used the ajaxForm plugin for that
it´s use a hidden iframe to send the file

On 10/30/07, Aditya Mooley [EMAIL PROTECTED] wrote:
 On 10/30/07, Saleh Souzanchi [EMAIL PROTECTED] wrote:
 
  i can not use  $.post for upload file
  plz help me.(i need sample)
 
 

 It is not possible to upload files using AJAX as multipart posting is not
 supported by JS

 --
 Aditya Mooley
 =
 PHP Applications for E-Biz: http://www.sanisoft.com
 Coppermine Picture Gallery: http://coppermine.sf.net
 Koppermine KDE Client: http://koppermine.sf.net
 =


-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: passing this

2007-10-28 Thread Jean-Sébastien

sorry, james i didn't see someone answer me.
what i want to do is ('div').set_of_plugins.choosen_plugin(). where
the first level (set_of_plugins) is kind of container (namespace) of
all my plugins. is it possible to do it?

On Oct 28, 5:20 pm, James Dempster [EMAIL PROTECTED] wrote:
 There is already a jQuery .parent() method.

 Not quite sure what your trying todo. But each method is run in the
 context of the selected elements.

 e.g.

 jQuery.fn.extend({
 test: function() {
 return this.each(function() {
// do something with elements
 });
 }

 });

 would do something with all the selected elements via test. $
 ('div').test()

 /James

 On Oct 27, 8:49 pm, Jean-Sébastien [EMAIL PROTECTED]
 wrote:

  Hello,

  i want to call a function $('#selection').parent.child()

  with the following code :

  jQuery.fn.extend({
parent: {
  child: function(o){ doSomethingWith(selectedElement) }
}

  });

  but i dont know how to pass the selected element through parent
  (#selection) to child function.

  regards.



[jQuery] passing this

2007-10-27 Thread Jean-Sébastien

Hello,

i want to call a function $('#selection').parent.child()

with the following code :

jQuery.fn.extend({
  parent: {
child: function(o){ doSomethingWith(selectedElement) }
  }
});

but i dont know how to pass the selected element through parent
(#selection) to child function.

regards.



[jQuery] Re: Code in loop

2007-10-26 Thread Jean

Ae brazuca naum sei do resto mas sei que vc esta errando aqui
var id = $(this).attr(id_delete)

The attr method catch  or set a the value of the jq object.
Try this
var id = $(this).attr(id)


On 10/25/07, Jimmy Neph [EMAIL PROTECTED] wrote:
 This is the code:
 $(.delete).click(function(e){
 var id = $(this).attr(id_delete)
 $(#confirm_box).css({left: e.pageX-453, top: e.pageY})
 $(#confirm_box).fadeIn(300);
 $(#del_nao).click(function(){
 $(#confirm_box).fadeOut(300);
 $(.delete).attr(id_delete,);
 });
 $(#del_sim).click(function(){
 alert(id);
 $(#del_sim).attr(id_user,id);
 $.ajax({
 type: POST,
 url:../painel/kern_usuarios.php,
 data:
 id=+$(this).attr(id_user)+acao=del_user,
 success: function(msg){
 if(msg)
 {
 $(#confirm_box).fadeOut(300)

 $(#answer_box).text(Usuario deletado com
 sucesso);
 $(#answer_box).fadeIn(1000, function(){
 $(this).animate({opacity:1.0}, 1000, ,
 function(){
 $(this).fadeOut(1000, function(){

 $($(tr).attr(id_linha)).find([EMAIL PROTECTED]+id+]).slideUp(slow);
 });
 });
 });
 }
 else
 {
 $(#confirm_box).fadeOut(300)

 $(#answer_box).text(Erro ao deletar
 usuario);
 $(#answer_box).fadeIn(300);
 }
 }
 });
 });
 });


 I believe that is a sintax problem...But I'm yet noob in Jquery...

 2007/10/25, Glen Lipka  [EMAIL PROTECTED]:
  Can you post a simple page that demonstrates the problem?
  It's easier to debug that way.
 
  Glen
 
 
 
  On 10/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  
   Hi there friends!!!
  
   I'm having problems with a code here using AJAX on Jquery.
   When I do only one click in my object, it works fine, but, when I
   click again in other object the previous result of id continue stored.
  
   What I have to do to solve this problem??
  
  
 
 




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Code in loop

2007-10-26 Thread Jean

Então para vc colocar o evento para funcionar apenas 1x p/ cada
elemneto utilize a funcao once, tipo $(.image).once(function(){
alert('Urrul'); }) mas axo que não é isso que vc quer, axoq  eh isso

   $(.delete).bind('click', function(e){
   var _id = $(this).attr(id);
   $(#confirm_box).css({left: e.pageX-453, top: e.pageY})
   $(#confirm_box).fadeIn(300);
   $(#del_nao).bind('click', function(){
   $(#confirm_box).fadeOut(300);
   $(.delete).attr(id,);
   });
   $(#del_sim).bind('click', function(){
   alert(_id);
   $(#del_sim).attr(id,_id);
   $.ajax({
   type: POST,
   url:../painel/kern_usuarios.php,
   data: {id:_id, acao: del_user},
   success: function(msg){
   if(msg)
   {
   $(#confirm_box).fadeOut(300)
  
   $(#answer_box).text(Usuario deletado com
   sucesso);
   $(#answer_box).fadeIn(1000, function(){
  
 $(this).animate({opacity:1.0}, 1000, ,
   function(){
  
 $(this).fadeOut(1000, function(){
  
  
 $($(tr[id=+_id+]).slideUp(slow);
   });
   });
   });
   }
   else
   {
   $(#confirm_box).fadeOut(300)
  
   $(#answer_box).text(Erro ao deletar
   usuario);
   $(#answer_box).fadeIn(300);
   }
   }
   });
   });
   });

On 10/26/07, Jimmy Neph [EMAIL PROTECTED] wrote:
 Opa Jean
 Então...Coloquei esse id aí prá poder zerar e tentar fazer com que o código
 parasse com esse loop...Mas tb naum tá dando muito certo...
 O que rola é que ele acaba pegando todos os eventos onclick que eu faço
 nessas imagens...Queria que ele reconhecesse sempre um só...Entendeu qual a
 treta???rsrsrsrs


 2007/10/26, Jean [EMAIL PROTECTED]:
 
  Ae brazuca naum sei do resto mas sei que vc esta errando aqui
  var id = $(this).attr(id_delete)
 
  The attr method catch  or set a the value of the jq object.
  Try this
  var id = $(this).attr(id)
 
 
  On 10/25/07, Jimmy Neph [EMAIL PROTECTED] wrote:
   This is the code:
   $(.delete).click(function(e){
   var id = $(this).attr(id_delete)
   $(#confirm_box).css({left: e.pageX-453, top: e.pageY})
   $(#confirm_box).fadeIn(300);
   $(#del_nao).click(function(){
   $(#confirm_box).fadeOut(300);
   $(.delete).attr(id_delete,);
   });
   $(#del_sim).click(function(){
   alert(id);
   $(#del_sim).attr(id_user,id);
   $.ajax({
   type: POST,
   url:../painel/kern_usuarios.php,
   data:
   id=+$(this).attr(id_user)+acao=del_user,
   success: function(msg){
   if(msg)
   {
   $(#confirm_box).fadeOut(300)
  
   $(#answer_box).text(Usuario deletado com
   sucesso);
   $(#answer_box).fadeIn(1000, function(){
  
 $(this).animate({opacity:1.0}, 1000, ,
   function(){
  
 $(this).fadeOut(1000, function(){
  
  
 $($(tr).attr(id_linha)).find([EMAIL PROTECTED]+id+]).slideUp(slow);
   });
   });
   });
   }
   else
   {
   $(#confirm_box).fadeOut(300)
  
   $(#answer_box).text(Erro ao deletar
   usuario);
   $(#answer_box).fadeIn(300);
   }
   }
   });
   });
   });
  
  
   I believe that is a sintax problem...But I'm yet noob in Jquery...
  
   2007/10/25, Glen Lipka  [EMAIL PROTECTED]:
Can you post a simple page that demonstrates the problem?
It's easier to debug that way.
   
Glen
   
   
   
On 10/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED]  wrote:

 Hi there friends!!!

 I'm having problems with a code here using AJAX on Jquery.
 When I do only one click in my object, it works fine, but, when I
 click again in other object the previous result of id continue
 stored.

 What I have to do to solve this problem??


   
   
  
  
 
 
  --
 
  []´s Jean
  www.suissa.info
 
Ethereal Agency
  www.etherealagency.com
 




-- 

[]´s Jean

[jQuery] Re: Code in loop

2007-10-26 Thread Jean

I think this will works

$(.delete).bind('click', function(e){
var _id = e.target.id;
$(#confirm_box).css({left: e.pageX-453, top: e.pageY})
$(#confirm_box).fadeIn(300);
$(#del_nao).bind('click', function(){
$(#confirm_box).fadeOut(300);
$(.delete).attr(id,);
});
$(#del_sim).bind('click', function(){
alert(_id);
$(#del_sim).attr(id,_id);
$.ajax({
type: POST,
url:../painel/kern_usuarios.php,
data: {id: _id, acao:del_user,
success: function(msg){
if(msg)
{
$(#confirm_box).fadeOut(300)
$(#answer_box).text(Usuario deletado
com sucesso);
$(#answer_box).fadeIn(1000, function(){
$(this).animate({opacity:1.0}, 1000,
, function(){
$(this).fadeOut(1000, function(){
$(tr[id=+_id+]).slideUp(slow);
});
});
});
}
else
{
$(#confirm_box).fadeOut(300)
$(#answer_box).text(Erro ao deletar usuario);
$(#answer_box).fadeIn(300);
}
}
});
});
});

On 10/26/07, Jimmy Neph [EMAIL PROTECTED] wrote:
 Opa Jean
 Então...Coloquei esse id aí prá poder zerar e tentar fazer com que o código
 parasse com esse loop...Mas tb naum tá dando muito certo...
 O que rola é que ele acaba pegando todos os eventos onclick que eu faço
 nessas imagens...Queria que ele reconhecesse sempre um só...Entendeu qual a
 treta???rsrsrsrs


 2007/10/26, Jean [EMAIL PROTECTED]:
 
  Ae brazuca naum sei do resto mas sei que vc esta errando aqui
  var id = $(this).attr(id_delete)
 
  The attr method catch  or set a the value of the jq object.
  Try this
  var id = $(this).attr(id)
 
 
  On 10/25/07, Jimmy Neph [EMAIL PROTECTED] wrote:
   This is the code:
   $(.delete).click(function(e){
   var id = $(this).attr(id_delete)
   $(#confirm_box).css({left: e.pageX-453, top: e.pageY})
   $(#confirm_box).fadeIn(300);
   $(#del_nao).click(function(){
   $(#confirm_box).fadeOut(300);
   $(.delete).attr(id_delete,);
   });
   $(#del_sim).click(function(){
   alert(id);
   $(#del_sim).attr(id_user,id);
   $.ajax({
   type: POST,
   url:../painel/kern_usuarios.php,
   data:
   id=+$(this).attr(id_user)+acao=del_user,
   success: function(msg){
   if(msg)
   {
   $(#confirm_box).fadeOut(300)
  
   $(#answer_box).text(Usuario deletado com
   sucesso);
   $(#answer_box).fadeIn(1000, function(){
  
 $(this).animate({opacity:1.0}, 1000, ,
   function(){
  
 $(this).fadeOut(1000, function(){
  
  
 $($(tr).attr(id_linha)).find([EMAIL PROTECTED]+id+]).slideUp(slow);
   });
   });
   });
   }
   else
   {
   $(#confirm_box).fadeOut(300)
  
   $(#answer_box).text(Erro ao deletar
   usuario);
   $(#answer_box).fadeIn(300);
   }
   }
   });
   });
   });
  
  
   I believe that is a sintax problem...But I'm yet noob in Jquery...
  
   2007/10/25, Glen Lipka  [EMAIL PROTECTED]:
Can you post a simple page that demonstrates the problem?
It's easier to debug that way.
   
Glen
   
   
   
On 10/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED]  wrote:

 Hi there friends!!!

 I'm having problems with a code here using AJAX on Jquery.
 When I do only one click in my object, it works fine, but, when I
 click again in other object the previous result of id continue
 stored.

 What I have to do to solve this problem??


   
   
  
  
 
 
  --
 
  []´s Jean
  www.suissa.info
 
Ethereal Agency
  www.etherealagency.com
 




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: OT: a very simple download indicator (marquee strikes back)

2007-10-26 Thread Jean

LOL

On 10/26/07, Klaus Hartl [EMAIL PROTECTED] wrote:

 marquee direction=right.../marquee

 ;-)


 http://www.stilbuero.de/2007/10/26/a-very-simple-download-indicator-the-glorious-return-of-the-marquee-tag/


 --Klaus




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Prevent comment SPAM with jQuery

2007-10-24 Thread Jean

I like the ideia, my grandpa dont use internet LOL


On 10/23/07, Codex [EMAIL PROTECTED] wrote:

 Hey people,

 I came up with an idea to help fight comment spam, the stuff most of
 us hate. It's just an idea, maybe it won't even work. But take a look
 and tell me what you think, or tell me why this won't work. It's
 basically a captcha that requires user action with draggables/
 droppables.

 http://www.strezlab.com/dropcomment.html

 I'd love to hear what you guys think!

 Gavin

 PS: Yeah, this should be in the UI-section, which it is, but I thought
 here might be a good place too.




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Modifying CONFIRM method

2007-10-10 Thread Jean

I´m trying customize my alert and confirm dialogs, but the confirm
dont have the same behavior like your original, like pausing the load
of document until answer it. Has someone who now how i can get this
behavior??

For while i´m using the exemplo of jqModal site

function confirm(msg, callback) {
  $('#confirm')
.jqmShow()
.find('p.jqmConfirmMsg')
.html(msg)
.end()
.find(':submit:visible')
.click(function(){
if(this.value == 'Sim'){
(typeof callback == 'string') ? window.location.href = 
callback : callback();
}
$('#confirm').jqmHide();
});
}

-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: ANNOUCE: jQuery lightBox plugin

2007-10-07 Thread Jean

Very cool!

Parabéns ve!!

On 10/7/07, Leandro Vieira Pinho [EMAIL PROTECTED] wrote:

 Guys,

 I have translate the jQuery lightBox plugin page into english. And, I
 have did a new layout too.

 See: http://leandrovieira.com/projects/jquery/lightbox/

 On Oct 5, 12:05 am, Guy Fraser [EMAIL PROTECTED] wrote:
  Leandro Vieira Pinho wrote:
   The jQuery lightBox plugin 0.2 version are available.
 
  Very nice plugin. Does the caption part of the box need to slide in
  every time the next/previous image is shown?




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: [PREVIEW] another future grid: jquery.KIKEgrid alpha...

2007-10-05 Thread Jean

swt!

On 10/5/07, Enrique Meléndez Estrada [EMAIL PROTECTED] wrote:

 http://www.ita.es/jquery/kikegrid.htm

 This is a preview of something I'm working on. You can see a first
 integration of plugins
 jquery.grid.columnSizing+jquery.grid.columnSizing+ a plugin for
 navigating via mouse  keys + an edition on line, etc...

 *Why another grid? OK, easy answer:*

 * MOST grids change a simple HTML TABLE into more TABLES and add
   numbers of infinite DIVs  I want it to remain SIMPLE (JUST the
   original HTML TABLE + smart CSS)
 * Other grids are SLOW in rendering time, and BAD for lot of data
   cells on screen (and i want huge tables for Intranets)
 * Other grids DO NOT support FULL keyboard navigation (such as in a
   SPREADSHEET application)
 * Other grids DO NOT support neither of this 2 behaviors: a
   conservative editing table (once selected a cell, press ENTER or
   DOUBLECLICK to edit/record) and as a spreadsheet table (using more
   KEYs for navigation and edition)

 *THIS IS ALPHA, I'll change for sure programming, plugin names (and
 versions), css, etc...* (only tested in IE7 and FF2)

 ...and next week I'll take holidays for a month, so my work will be
 delayed to next November...;-)

 --
 Enrique Meléndez Estrada (2367)
 Servicios Informáticos
 Organización y Servicios Internos
 Instituto Tecnológico de Aragón




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: editease - my first plugin endeavor

2007-10-01 Thread Jean

GREAT JOB!!!

On 10/1/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Well I have been playing with jQuery for a few months, and wanted to
 test a few basic concepts.  Mostly to do with injecting content into
 the DOM on the fly in a usable way, to give some older client sites of
 mine, CMS capabilities without having to do a full conversion of the
 site to a database driven CMS.

 In other words I was looking for the quickest short cut, and install
 script, possible so that I didn't need to spend hours converting sites
 to suit a full CMS.

 What came out of this idea is a little plugin I have called editEase
 for want of a better name (and naming things is not my forte) that
 allows for edit in place of content by writing to the include file
 instead of using a database.  Knowing one of my clients (and their
 lack of technical skills), a WYSIWYG editor had to be an option, along
 side a plain text area, and TinyMCE seemed a good choice given it
 works in nearly all browsers (including Opera).

 Anyways, I have created a little project file here: 
 http://code.google.com/p/editease/
 which has links to a short video http://screencast.com/t/Ayk7at3C
 (only a 1 minute investment of your time, instead of having to read
 through a lot of stuff to work out what I am on about), a live demo,
 and the download files.

 There are 2 dependencies on other jQuery plugins, being Thickbox and
 Dimensions, although figured most would use them a lot already.

 Would appreciate any feedback on this idea.

 Cheers
 Stephen




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Problems with $.post and $.ajax

2007-09-30 Thread Jean

or can use $_REQUEST ;D

On 9/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

  I'm trying to learn jQuery so I can use ajax much easier than writing
  ordinary javascripts. But it isn't working for me. Tried soo many
  different (and Very easy) things and they won't work. Can someone
  explain what I am doing wrong?

  This is just a little testpage.
  custom.js:
  
  $(document).ready(function() {
  $(a#go).click(function(){
   $.post(test.php,{
 namn: $(#namn).val()
  (How is this
  variable set? to $_POST['namn'] or $namn?)
   });
  return false;
  });
 
  });
 
  -
  test.php:
 
  ?
  echo Hello,;
  echo $namn.!; (have tried $_POST['namn'] too)
  ?
  ---
  index.php file:
 
  !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
  http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  html xmlns=http://www.w3.org/1999/xhtml;
  head
  meta http-equiv=Content-Type content=text/html; charset=utf-8 /
  titleUntitled Document/title
  script src=jquery.js type=text/javascript/script
  script src=custom.js type=text/javascript/script
  /head
 
  body
   pHej/p
   /div
   input type=text name=namn id=namn /
  pa href=# id=goGO!/a /p
  /body
  /html
 
  ---
 
  I would really appreciate if you helped me understand this. I have
  read soo many tutorials on the net but it won't work anyway...
  Best Regards /Oscar

 First of all if you send request by POST ($.post) then in PHP you var
 will be in $_POST array, if by GET ($.get) in $_GET (there is an
 exception, read about register_globals),
 so in PHP you should use $_POST['namn']

 Second of all, your request imho runs well (you can check that with
 Firebug (in NET tab)), but you forgot to put callback:

$.post(test.php,{
  namn: $(#namn).val()}, function(data) { //this is callback
  alert(data); //do something with return data
  });

 and thats all! :)

 Hope it helps :)

 Regards
 Michael




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: injecting HTML with load() how to bind events?

2007-09-28 Thread Jean

Try the livequery plugin, i think is that u need.

On 9/27/07, kamiseq [EMAIL PROTECTED] wrote:

 im loading some HTML with ajax, and as in jQ every events are bound,
 to HTML elements, just after page is loaded, how can I force jQ code
 to bind event handlers to new HTML.

 I could trigger some js function with jQ after loading has finished
 but maybe there is a better way to do so.




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Validate plugin limited? with line error

2007-09-26 Thread Jean

Yes, thanks for help!

http://www.interalfa.com.br/questionarios/questionario.php?cod=31

On 9/25/07, Jörn Zaefferer [EMAIL PROTECTED] wrote:

 Jean schrieb:
  Sorry for my previous email talking about the limitation of Validate
  plugin with 50 or more elements to validade. Is not an error but the
  script stops in this line
 
 Can you post a test page for that issue?

 -- Jörn



-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Tablesorter dd/mm/YYY date problem

2007-09-26 Thread Jean

Unfortunally i´m a jquery noob =/

On 9/26/07, Christian Bach [EMAIL PROTECTED] wrote:
 I like the idea!

 I don't have the time to put together such a solutions, is anyone interested
 in helping out?

 /christian



 2007/9/26, Kia Niskavaara  [EMAIL PROTECTED]:
 
 
  A suggestion is that all parsers (except the basic ones) are removed from
 the plugin, and selectable
  from an archive. This is very useful for custom date sorters etc, and will
 make the plugin even smaller.
 
  Jean wrote:
 Have i write my parser for dd/mm/ date format? The plugin use
 mm/dd/
   either i changing in plugin configs
  
 




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Tablesorter dd/mm/YYY date problem

2007-09-26 Thread Jean

Unfortunally dont works, it is sorting like mm/dd/ =/
Ow i forgot to say some cells have text like no prevision where dont
have a date.


On 9/26/07, Christian Bach [EMAIL PROTECTED] wrote:
 To change the date-format to the one you requested just pass the dateFormat
 options like this:

 $(table).tablesorter({dateFormat: 'uk'});

 /christian

 2007/9/26, Jean  [EMAIL PROTECTED]:
 
  Unfortunally i´m a jquery noob =/
 
  On 9/26/07, Christian Bach [EMAIL PROTECTED] wrote:
   I like the idea!
  
   I don't have the time to put together such a solutions, is anyone
 interested
   in helping out?
  
   /christian
  
  
  
   2007/9/26, Kia Niskavaara  [EMAIL PROTECTED]:
   
   
A suggestion is that all parsers (except the basic ones) are removed
 from
   the plugin, and selectable
from an archive. This is very useful for custom date sorters etc, and
 will
   make the plugin even smaller.
   
Jean wrote:
   Have i write my parser for dd/mm/ date format? The plugin use
   mm/dd/
 either i changing in plugin configs

   
  
  
 
 
  --
 
  []´s Jean
  www.suissa.info
 
 Ethereal Agency
  www.etherealagency.com
 




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Tablesorter dd/mm/YYY date problem

2007-09-25 Thread Jean

  Have i write my parser for dd/mm/ date format? The plugin use mm/dd/
either i changing in plugin configs

-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Validate plugin limited?

2007-09-25 Thread Jean

Is a limite of how much inputs we can validate? I have a form with 52
questions what is {required:true} very required. In a 29 questions
required it works fine!

-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Validate plugin limited? with line error

2007-09-25 Thread Jean

Sorry for my previous email talking about the limitation of Validate
plugin with 50 or more elements to validade. Is not an error but the
script stops in this line

line 487
lem.tagName  elem.ownerDocument  !elem.ownerDocument.body;

jquery-1.2.1
-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] [Announce] WYMeditor 0.4 released

2007-09-12 Thread Jean-Francois Hovinne

Hi All,

I'm glad to announce the release of WYMeditor 0.4, a jQuery-based
XHTML editor.

This release includes new XHTML and CSS parsers, and fixes some
outstanding bugs. Thanks to all the contributors who made it possible!

Website: http://www.wymeditor.org/
Download: http://sourceforge.net/project/showfiles.php?group_id=148869

Enjoy,
jf



[jQuery] Re: [Announce] WYMeditor 0.4 released

2007-09-12 Thread Jean-Francois Hovinne

On Sep 12, 3:44 pm, Alexandre Plennevaux [EMAIL PROTECTED]
wrote:
 Wow, it 's starting to take nicely shape, i think i'll give it a try soon.
 Congratulation jf !

Thanks!

 What, as a potential user working in real life scenarios, i would like to
 see how flexible it is: for example, a very basic version (like underline,
 italic, bold) and a full featured version.
 Also, is it possible to skin it?

Yes, almost every aspect of the editor is customizable.
Please take a look at the getting started examples included in the
package, and at the documentation, available at:
http://trac.wymeditor.org/trac

 Would you consider adding these suggestions to the demo page on your site?

Hmm, good idea - why not?



[jQuery] Re: [Announce] WYMeditor 0.4 released

2007-09-12 Thread Jean-Francois Hovinne

The file browser is an often requested feature, and we're actually
planning an API to do this sort of things.
Anyway, there's an image gallery implementation example, using
jCarousel and CodeIgniter, available at:
http://trac.wymeditor.org/trac/wiki/Contrib/ImageGalleryExample

I'll take a look at thefilebrowser, which looks interesting.

On Sep 12, 4:24 pm, Alexandre Plennevaux [EMAIL PROTECTED]
wrote:
 One more request: possibility to upload images, within a file browser (boum
 boum bang, a full project in itself) !

 To keep this feature light, i would be perfectly happy with the
 possibility of using an external file manager to feed the textarea with an
 image, such ashttp://thefilebrowser.com/ , having it work nicely with
 wymeditor.



[jQuery] Re: [Announce] WYMeditor 0.4 released

2007-09-12 Thread Jean-Francois Hovinne

Joan Piedra a écrit :
 Hi Jean-Francois,
 I like how this project is getting better and better, I'd love to see a
 better support for the latest safari and Opera.

Agreed. In fact we're currently working on the Safari implementation:
http://trac.wymeditor.org/trac/browser/branches/0.5/wymeditor/jquery.wymeditor.safari.js

 For Alexandre's idea, I'd suggest to wait until this sunday and take a
 look at the UI uploader plugin, maybe this could be a useful, to upload
 images and files and link them directly in the editor.

Good call, thanks for pointing me to it!

jf



[jQuery] Re: Live Query and tables problem

2007-09-05 Thread Jean

Sorry but your example isnt work
now i remove the login validation

http://www.interalfa.com.br/kbs/pesquisa_teste.php

On 9/4/07, Brandon Aaron [EMAIL PROTECTED] wrote:
 I wasn't able to see that site but I went ahead and created a small test
 case based on the information you provided.

 http://brandonaaron.net/jquery/issues/livequery/table_test/table_test.html

 I'm not able to reproduce the error you are getting.


 --
 Brandon Aaron

 On 9/4/07, Jean  [EMAIL PROTECTED] wrote:
 
  I´m trying to do the hover example of the site
 
  http://www.interalfa.com.br/kbs/pesquisa_teste.php
 
  i´m using dimensions e auto plugins
 
 
  On 9/4/07, Brandon Aaron  [EMAIL PROTECTED] wrote:
   Are there any other scripts included? Would you mind posting up the
 example?
  
   --
   Brandon Aaron
  
  
   On 9/4/07, Jean  [EMAIL PROTECTED] wrote:
   
Is a very simple example and dont works =/
   
$('tr').livequery('mouseover', function(){
 $(this).addClass('hover');});
   
t has no properties
[Break on this error] t = t.className || t;
jquery.js (line 349)
   
and in
$('tr').livequery('mouseout', function(){
   $(this).removeClass('hover');});
   
elem.className has no properties
[Break on this error]  jQuery.grep( elem.className.split(/\s+/),
   function(cur){
jquery.js (line 342)
--
   
[]´s Jean
www.suissa.info
   
   Ethereal Agency
www.etherealagency.com
   
  
  
 
 
  --
 
  []´s Jean
  www.suissa.info
 
 Ethereal Agency
  www.etherealagency.com
 




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Validation plugin site down, Jörn?

2007-09-05 Thread Jean

I cant see the site a long long time ago =/

On 9/5/07, Jörn Zaefferer [EMAIL PROTECTED] wrote:

 Suni schrieb:
  Cant reach http://bassistance.de/jquery-plugins/jquery-plugin-validation/,
  it just gives me a blank page.
 
  I'd love to see all the comments and documentation, since I'm having
  lots of problems using the additional-methods.js (gives javascript-
  errors in FF).
 

 I'm still unable to figure out whats wrong with that page. I get
 occansional reports about the issue, but I have no idea whats the cause.

 Someone else reported that he managed to view the site using Opera.

 -- Jörn




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Live Query and tables problem

2007-09-04 Thread Jean

Is a very simple example and dont works =/

$('tr').livequery('mouseover', function(){ $(this).addClass('hover');});

t has no properties
[Break on this error] t = t.className || t;
jquery.js (line 349)

and in
$('tr').livequery('mouseout', function(){ $(this).removeClass('hover');});

elem.className has no properties
[Break on this error]  jQuery.grep( elem.className.split(/\s+/), function(cur){
jquery.js (line 342)
-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Problem with validate plugin in IE6?

2007-08-28 Thread Jean

Thank Youuu a lot!

On 8/27/07, SeViR [EMAIL PROTECTED] wrote:

 Jean escribió:
  I dont know why but with validate code my js dont run anything =/
  even though a simple alert
  I´m trying with IE6, FF works fine!
 
  Is somebody with the same problem??
 
  $(document).ready(
  function()
  {
$(#validando).hide();
$(#Responder).bind('click', function(){
var old_title = document.title;
document.title = Validando...;
mostraMSG(validando);
 
$(#envia_quest).validate({
errorClass: error_valida,
errorElement: em,
errorPlacement: function(error, element) {
   error.appendTo( 
  element.parents(ul).find(li.aki_erro) );
}, - THIS IS THE ERROR
 
 I marked above the error. You have a list of object element with a final
 comma. This simple error
 was my nightmare one month ago :-P. Be careful.
});//fim validate
escondeMSG(validando);
document.title = old_title;
});
 
escondeMSG(carregando);
  });
  function mostraMSG(container) {
$(#total).hide();
$(#+container).show();
  }
  function escondeMSG(container) {
$(#+container).hide();
$(#total).show();
  }
 
 


 --
 Best Regards,
  José Francisco Rives Lirola sevir1ATgmail.com

  SeViR CW · Computer Design
  http://www.sevir.org

  Murcia - Spain




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
jQuery (English) group.
To post to this group, send email to jquery-en@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-en?hl=en
-~--~~~~--~~--~--~---



[jQuery] Problem with validate plugin in IE6?

2007-08-27 Thread Jean

I dont know why but with validate code my js dont run anything =/
even though a simple alert
I´m trying with IE6, FF works fine!

Is somebody with the same problem??

$(document).ready(
function()
{
$(#validando).hide();
$(#Responder).bind('click', function(){   
var old_title = document.title;
document.title = Validando...;
mostraMSG(validando); 

$(#envia_quest).validate({
errorClass: error_valida,
errorElement: em,
errorPlacement: function(error, element) {
   error.appendTo( 
element.parents(ul).find(li.aki_erro) );
},
});//fim validate   
escondeMSG(validando);
document.title = old_title; 
}); 

escondeMSG(carregando);
});
function mostraMSG(container) { 
$(#total).hide();
$(#+container).show();
}
function escondeMSG(container) {
$(#+container).hide();
$(#total).show();
}

-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: [SOLVED] jQuery Form Plugin and Validation Form

2007-08-22 Thread Jean

I´m with same trouble but that didnt work for me

$(#envia_quest).validate({
errorPlacement: function(error, element) {
   error.appendTo( 
element.parents(ul).find(li.aki_erro) );
},
submitHandler: function(form) {
jQuery(form).ajaxForm(function(data) {
if(data)
alert(Obrigado por ter 
respondido esse questionário!);
else
alert(Aconteceu algum 
erro!!!);
});
}//fim handler
});//fim validate   

This dont validate and dont submit =/
Wav validating before when i was using a type=submit
but i want to use type=button

How i can workaround this??

On 8/16/07, Freud [EMAIL PROTECTED] wrote:

 Well, it finally works ;)
 I tried an other syntax and it went good.
 Here comes the code, if it could help :

 $(#interv).validate({
 errorContainer: $(#alertes),
 errorLabelContainer: $(#alertes ul),
 errorWrapper: li,
 rules: {
int_societe: { required: true }
 },
 messages: {
 int_societe: Test soc
 },
 submitHandler: function(form) {
 $(#interv).ajaxSubmit({
 success:ValidatInterv,
 target:#alertes2,
 url:  
 soa.php?action=modif
 });
 }
 });

 Thanx for the help,
 Freud


 On Aug 16, 8:53 am, Freud [EMAIL PROTECTED] wrote:
  Hi,
 
  first of all, excuse me for my language, I'm french ;) so I'll try to
  make it simple...
 
  I'm using the JQuery Form Plugin and it works perfectly fine :
 
  $(document).ready(function() {
  var options2 = {
  target:#alertes,
  url:  soa.php?action=modif
  };
 
  $(#interv).submit(function() {
  $(this).ajaxSubmit(options2);
  return false;
  });
 
  });
 
  I tried the validation form plugin, which is quite amazing, and it
  also works great.
 
  $(document).ready(function() {
  $.validator.setDefaults({
  errorContainer: $(#alertes),
  errorLabelContainer: $(#alertes ul),
  errorWrapper: li,
  rules: {
 int_societe: { required: true }
},
messages: {
  int_societe: Test soc
  }
  //,submitHandler: function(form) {$
  (#interv).ajaxSubmit(options2);},
 });
$(#interv).validate();
 
  });
 
  Now, I wanna use both. That's where it started to go wrong. When I
  uncomment the SubmitHandler line, the validation is still OK but the
  form is submitted normally, not using the Ajaxian method.
 
  Could someone help me on this case ? I spent my night on this stuff
  and I start feeling depressed :)
 
  Thx,
  Freud




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Problems with VALIDATE PLUGIN

2007-08-21 Thread Jean

I´m so sorry!!!

On 8/20/07, Jörn Zaefferer [EMAIL PROTECTED] wrote:

 Jean schrieb:
  The error is in 795 line
  jQuery(element).data is not a function
  [Break on this error] : jQuery(element).data();
 
 Please check Dependencies section of the plugin page. The - not so
 helpful - error indicates that the metadata plugin is missing. Gonna
 rename that method...

 http://bassistance.de/jquery-plugins/jquery-plugin-validation/#dependencies

 -- Jörn



-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Problems with VALIDATE PLUGIN

2007-08-21 Thread Jean

Yes is that i was searching for =P
thanks a lot! i will put into structure list

On 8/21/07, Jörn Zaefferer [EMAIL PROTECTED] wrote:

 Jean schrieb:
  Really lol
  Dude i´m with a little problem to append the error msg in the right place
  look my structure
 
  ul
  label for='perg9'strongPergunta 9/strong: Qual o faturamento
  anual da empresa?/labelbr /
input type='hidden' id='p9' name='p9' value='110'
li//Here is the supost place/li
 
  liinput type='radio' name='perg9' id='perg9'
  class='{required:true}' value = '105' /
  Até R$ 240.000/li
  liinput type='radio' name='perg9' id='perg9'
  class='{required:true}' value = '83' /De R$ 240.001 a R$
  2.400.000/li
  liinput type='radio' name='perg9' id='perg9'
  class='{required:true}' value = '84' /De R$ 2.400.001 a R$
  60.000.000/li
  liinput type='radio' name='perg9' id='perg9'
  class='{required:true}' value = '106' /Acima de R$
  60.000.001/li/ul
 
  IsnterrorElement : li,??
 
  if a i can append between /label li is better.
  i´m trying a lot diferent elements but it returns in the same position 
  always =/
 

 errorElement alone won't help. Check the example for errorPlacement:

 $(#myform).validate({
 errorPlacement: function(error, element) {
 error.appendTo( element.parent(td).next(td) );
 }
 });

 -- Jörn



-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Problems with VALIDATE PLUGIN

2007-08-20 Thread Jean

I had a problem with a validation plugin in a form with some ul li fomatation
couze i´m using display: table and cia to emulate a table formation
Can anyone help me?

div class=table
ul class=tr
li class=td
label for=razao
Razatilde;o Social: /label /li
li class=td
input name=razao id=razao type=text value=da empresa
size=50 maxlength=100 class={required:true} //li
/ul
br /
ul class=tr
li class=td
label for=respons
Responsaacute;vel: /label /li
li class=td
input name=respons id=respons type=text value=pelas respostas
size=50 maxlength=80 class={required:true} /
/li
/ul
br /
ul class=tr
li class=td
label for=mail
Email: /label/li
li class=td
input name=mail id=mail type=text value=de contato size=50
maxlength=50 class={required:true,email:true} //li
/ul
/div

-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Problems with VALIDATE PLUGIN

2007-08-20 Thread Jean

Couse i´m not using a table layout =P
but i´m using div.table ul.tr li.td
.table {
display: table;
}
.tr{
display: table-row;
}
.td {
display: table-cell;
}

The error is in 795 line
jQuery(element).data is not a function
[Break on this error] : jQuery(element).data();

a bit of code

div class='table borda_lickert'
ul class='tr'
li class='lickert'img 
src='images/emoticon_triste.gif'
alt='Discordo Plenamente' //li
li class='lickert'nbsp;/li
li class='lickert'img 
src='images/emoticon_mai_o_meno.gif'
alt='Meio Termo' //li
li class='lickert'nbsp;/li 
li class='lickert'img src='images/emoticon_feliz.gif'
alt='Concordo Plenamente' //li

/ul
ul class='tr'
li class='lickert'input type='radio' name='perg23' 
id='perg23'
value='107' //li
li class='lickert'input type='radio' name='perg23' 
id='perg23'
value='108' //li
li class='lickert'input type='radio' name='perg23' 
id='perg23'
value='109' //li
li class='lickert'input type='radio' name='perg23' 
id='perg23'
value='110' //li
li class='lickert'input type='radio' name='perg23' 
id='perg23'
value='111' //li
/ul
/div


Thanks for your atention!!!


On 8/20/07, Jörn Zaefferer [EMAIL PROTECTED] wrote:

 Jean schrieb:
  I had a problem with a validation plugin in a form with some ul li 
  fomatation
  couze i´m using display: table and cia to emulate a table formation
  Can anyone help me?
 
 Could you explain what exactly your problem is?

 If you are using a table layout, why don't you use a table? Here is an
 example for the errorPlacement option that works with a table layout,
 assuming that the error message should be displayed in the cell next to
 the input [label, input, message].

 $(#myform).validate({
 errorPlacement: function(error, element) {
 error.appendTo( element.parent(td).next(td) );
 },
 success: function(label) {
 label.text(ok!).addClass(success);
 }
 });


 -- Jörn



-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Updated Plugin: jQuery Timers. jQuery-oriented setTimeout/setInterval

2007-08-15 Thread Jean

so sad =/
i liked so much that licence lol


On 8/15/07, Tane Piper [EMAIL PROTECTED] wrote:

 I moved my code over to this licence recently but I'm hosted on google code.

 Google take the *very* strong view of licence prolifiration and warned
 me that if I didn't change back to one of the 8 licences that they
 have listed my project would be thrown off their site.  So just a
 warning to anyone who would like to use this licence, google code
 won't host you.


 On 15/08/07, Rey Bango [EMAIL PROTECTED] wrote:
 
  Blair,
 
  I have to say this was the best part of your plugin's docs:
 
  This plugin is licenced with the WTFPL. In short, do whatever the f**k
  you want with it.
 
  I laughed my butt off on that one. ;)
 
  Rey
 
  Blair Mitchelmore wrote:
   I released this a couple days ago but as was discussed on a previous
   thread http://groups.google.com/group/jquery-en/browse_thread/thread/
   ea0e4f59bb87cf6e there were some method naming issues and I also
   wanted to add a feature that another setInterval wrapper had. Lucky I
   did, because I discovered a preexisting bug which had gone unnoticed
   and fixed in the new release. The plugin has been renamed along with
   the methods it defines. The url for the source file has been changed
   as well to mirror the naming changes. I talked up some of the features
   of the plugin in the earlier thread and I've now rewritten the demo
   page to explain some of that better so hopefully you enjoy.
  
   Demo page: http://jquery.offput.ca/every
   Source file: http://jquery.offput.ca/js/jquery.timers.js
  
   -blair
  
  
 


 --
 Tane Piper
 http://digitalspaghetti.me.uk

 This email is: [ ] blogable [ x ] ask first [ ] private



-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Do we have something like Mootools:Kwick on jQuery?

2007-08-14 Thread Jean

I´m waiting for the final release =D
only have to work around this delay in FF

On 8/11/07, Ganeshji Marwaha [EMAIL PROTECTED] wrote:
 I am working on something like that... it is not a completed version, but
 works enough to get the point across.
 I will be making it into a full featured plugin sometime this week.

 Here is the link to it...
 http://www.gmarwaha.com/jquery/jkwick/test/test.html

 Hoep that helps.

 -GTG



 On 8/11/07, Rey Bango [EMAIL PROTECTED] wrote:
 
  Hola Ricardo,
 
  Check the mailing archives as there was a whole series of discussions
  about accordians.
 
 
 http://groups.google.com/group/jquery-en/search?group=jquery-enq=accordianqt_g=Search+this+group
 
  Rey...
 
  ricardoe wrote:
   Hi everyone, regards from México. (Sorry for my english, is not very
   good)
   I've been developing a website for my little companie
   ( www.tuukuls.com.mx) but my comrades saw the mootools page and they
   are fascinated by the kwick accordion.
   I love jQuery, so, do we have something like that?
  
   Regards :D
  
  
 




-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: populate div with ajax inquiry

2007-08-10 Thread Jean

i think u want this

$(#div_id).load('url.php',{somedata: or_nothing}, function(){
alert('Loaded'); });

On 8/10/07, Steve Finkelstein [EMAIL PROTECTED] wrote:
 Hi all

 I'm looking to populate a div with information from a database ... don't
 want to pass any parameters to the serverside script, just want the div
 updated according to my query if the db record sets are modified, is
 .ajaxStart() the appropriate function for this?

 I'm basically looking to have the jquery poll the server every X seconds.
 Since HTTP is a connectionless protocol, I'm not entirely sure what the
 proper way would be to stop/start the request using good practices.

 In pseudo-type code it should work like this:

 User visits site.

 a request is made from the client to the server to invoke a function.
 a function on the server-side queries my mysql database with a simple query.
 the result set is returned as an array to the javascript object.
 the javascript object gets injected into the DOM.

 No parameters are passed in the ajax request to the server.

 thanks again for any insight folks.

 - sf



-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Re: Autocomplete

2007-08-10 Thread Jean

that link is yours version of autocomplete?


[jQuery] [Announce] charToTable plugin

2007-08-07 Thread Jean-Francois Hovinne

Hi All,

charToTable is a jQuery plugin I wrote some weeks ago.
This plugin converts characters to HTML tables.
You can even create animations, or a glyph editor with it.
Perhaps it will be useful for somebody, who knows?

Description + demos:
http://www.hovinne.com/blog/index.php/2007/07/12/131-jquery-chartotable-plugin

Enjoy,
jf



[jQuery] Re: [Announce] charToTable plugin

2007-08-07 Thread Jean-Francois Hovinne


Robert O'Rourke a écrit :
 Neat =]

Thanks!

 Perhaps using tables like that would be another way to do captcha? Not
 writing it out with jquery but with a server side script.

Interesting idea!
Actually some kind of HTML encoded captcha, see
http://it.slashdot.org/article.pl?sid=06/12/31/2359227

 Can the plugin
 go in reverse for some js validation or something like that?

Explain, please?



[jQuery] Re: [Announce] charToTable plugin

2007-08-07 Thread Jean-Francois Hovinne

 If you made 2 key (and fundamental changes) I think you could speed up the
 performance immensely:

 1) Change to using div elements
 2) Only use on div (or td) for a block of space. (For example on your
 String to tables example, the j has 3 rows of 8 columns that are all
 blank. If you just made that a single element, it would speed things up.
 Idealistically you go both vertical and horizontal, so the first element
 would take up 4 columns by 12 rows--since that's all whitespace.)


Thanks for the tip!
I suppose it should be easy to use colspans/rowspans.



[jQuery] Re: WYSIWYG Editing with Form Plugin

2007-07-30 Thread Jean-Francois Hovinne

Thanks for promoting WYMeditor, Tane!
Please note that the website is located at http://www.wymeditor.org/

Cheers ;)
jf

On 30 juil, 19:48, Tane Piper [EMAIL PROTECTED]
wrote:
 Shaun,

 You could also try out the jQuery based WYMeditor at www.wymeditor.com
 - I've used it sucessfully with the form plugin.  Its currently not as
 feature-rich as those other editors, but it plays very nicely with
 what your trying to do.



[jQuery] Announce: fixedBox plugin

2007-07-30 Thread Jean-Francois Hovinne

Hi,

fixedBox is a simple and lightweight jQuery plugin that allows you to
easily display a fixed box in the web page.
The box is centered by default, but you can also define the left and/
or top positions.

More info:
http://www.hovinne.com/blog/index.php/2007/07/30/134-fixedbox-jquery-plugin

Enjoy,
jf



[jQuery] Re: [ANNOUNCEMENT] jqShuffle plugin (alpha)

2007-07-30 Thread Jean

really really cool!

On 7/30/07, Mike Alsup [EMAIL PROTECTED] wrote:

 This is really cool, Ben!!

 Mike

  http://www.benjaminsterling.com/experiments/jqShuffle/



-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com


[jQuery] Problems with tablesorter

2007-07-24 Thread Jean


I have a little problem with tablesorter plugin

node has no properties
[Break on this error] return node.innerHTML;
line 147

Because mi table is inside another table (old layout) and this error aoccours
but in other page when i load by ajax and set the tablesorter this works

and the both have the same estructure =/

--

[]´s Jean
www.suissa.info

  Ethereal Agency
www.etherealagency.com


[jQuery] Re: ANNOUNCE: tablesorter 2.0 beta released!

2007-07-18 Thread Jean


I´m with a problem to sorter a text column, don´t sorte correctly
I have to add a parser? If yes, how?

On 7/18/07, Christian Bach [EMAIL PROTECTED] wrote:



 Could you please post a 'float' parser to the list? I think there was one
in the old tablesorter
 release, but unfortionatley I've deleted it.


There is a set of experimental parser available here:
http://lovepeacenukes.com/tablesorter/2.0/jquery.tablesorter.parsers.js

I haven't had the time to test them and there of the experimental status.

/christian




--

[]´s Jean
www.suissa.info

  Ethereal Agency
www.etherealagency.com


[jQuery] Re: ANNOUNCE: Horizontal Accordion 0.51

2007-07-17 Thread Jean


Great Job!!! And great design for the accordion ;D

On 7/17/07, Alexander Graef [EMAIL PROTECTED] wrote:





Hi,

Did some updates to the way the horizontal accordion works. You can find the
new download and example here:

http://dev.portalzine.de/index?/Horizontal_Accordion--print



I will be moving this to a plugin for a more generic approach for version
0.6.



Enjoy

Alexander



-

portalZINE(R)- innovation uncovered

http://www.portalzine.de



dev.portalZINE(R) - all about development

http://dev.portalzine.de



pro.portalZINE(R) - customized experience

http://pro.portalzine.de





--

[]´s Jean
www.suissa.info

  Ethereal Agency
www.etherealagency.com


[jQuery] Re: Announce: jFeed - jQuery RSS/ATOM feed parser plugin

2007-07-16 Thread Jean-Francois Hovinne

FYI, I just posted an article describing a technique to avoid the
server-side proxy:
http://www.hovinne.com/blog/index.php/2007/07/16/133-jss-javascript-simple-syndication

On 15 juil, 23:49, Michael Geary [EMAIL PROTECTED] wrote:
 Ah, of course. Server proxy. I should have thought of that. Very nice - will
 take a look at it!



[jQuery] Re: Announce: jFeed - jQuery RSS/ATOM feed parser plugin

2007-07-15 Thread Jean-Francois Hovinne

Yes, though you can use a server-side proxy to load external feeds.
BTW, a basic one is provided in the archive for testing purposes.

On 15 juil, 23:25, Michael Geary [EMAIL PROTECTED] wrote:
 Nifty idea, but this will only work within a single domain, right?



[jQuery] Re: using JSON... and the jQuery book

2007-07-12 Thread Jean


Yeah i´m using a lot json for now
with json_encode and json_decode libs for php \o/

On 7/12/07, GianCarlo Mingati [EMAIL PROTECTED] wrote:


Hi all.
http://www.gcmingati.net/wordpress/wp-content/uploads/jsonhelicopters.html

Here's what i learned form the book, chapter 6 (Ajax techniques).
I went faster than i expected. The book explains clearly and easily
how to dinamically insert content into a page... wow this is hooking
me as much as my r/c helicopters do.
Now i know i can use xml, json, plain html or even javascript files as
external 'data'. Personally the json methos seems the easier.
In the example my first page EVER with data from a separate json file.
Ciao!
I'm happy, i'm getting into this web2.0 stuff with fun.


GC





--

[]´s Jean
www.suissa.info

  Ethereal Agency
www.etherealagency.com


[jQuery] Re: using JSON... and the jQuery book

2007-07-12 Thread Jean


tkz for the tip ;D

On 7/12/07, Jack Killpatrick [EMAIL PROTECTED] wrote:


This might be of interest to you, too:

   http://code.google.com/p/trimpath/wiki/JavaScriptTemplates

It will get you around having to do stuff like:

$.each(entry['model'], function(modIndex, mod){
result += 'li'+ mod + '\/li';
});

I use it all the time for merging json data into jst templates (jst's
are just plain text/html files with template stuff in them). Works
great, is quite fast, too. I've used it for a large reporting project,
with giant tables of data: rather than generating a bunch of html on the
server and passing it to the client, I just pass json back and use
trimpath and a jst to do the merge and a simple
$('#myDiv').html(mergeResults); to dump the results to screen. More fun,
IMO, than the various DOM-node building plugins, too.

FYI, I usually use jquery $.get() to fetch the jst file from the server,
rather than use textareas and such (which is what the simple demo's
there show).

- Jack

GianCarlo Mingati wrote:
 Hi all.
 http://www.gcmingati.net/wordpress/wp-content/uploads/jsonhelicopters.html

 Here's what i learned form the book, chapter 6 (Ajax techniques).
 I went faster than i expected. The book explains clearly and easily
 how to dinamically insert content into a page... wow this is hooking
 me as much as my r/c helicopters do.
 Now i know i can use xml, json, plain html or even javascript files as
 external 'data'. Personally the json methos seems the easier.
 In the example my first page EVER with data from a separate json file.
 Ciao!
 I'm happy, i'm getting into this web2.0 stuff with fun.


 GC









--

[]´s Jean
www.suissa.info

  Ethereal Agency
www.etherealagency.com


[jQuery] Re: WYSIWYG Editor in Jquery

2007-07-10 Thread Jean-Francois Hovinne

Hi Gurpreet,
It's a pity that you plan to abandon using WYMeditor because of sparse
documentation.
Please feel free to ask any questions/send feedback on the mailing-
list [1] or on the forum [2], we'll be glad to help.

Cheers,
jf

[1]: http://lists.wymeditor.org/
[2]: http://forum.wymeditor.org/

On Jul 3, 10:41 am, G[N]Urpreet Singh [EMAIL PROTECTED] wrote:
 Thanks guys,
 But I used WYMEDITOR (http://www.wymeditor.org/en/) for this project. Making
 it work was a pain primarily because of sparse documentation.




  1   2   >