[jQuery] Re: jquery.media.js modification

2009-09-26 Thread Fred K

I'm having a similar issue with the media plugin and Safari. According
to Safari's plugin list, mime type video/quicktime is limited to the
file types: mov,qt,mqv. This of course means that if you try and
publish an mp4 file, or if you would remap mp3 to play with Quicktime
instead of Flash, it'll fail (btw, the Flash demo on malsup.com/jquery/
media fails as well in Safari 4/Mac -- prompts alert claiming
incorrect mime type...). The list of file types associated with mime
type video/quicktime in jquery.media.js isn't correct (in the Safari
context). My question, see it as a follow-up to Jerome's if you will,
is if it's necessary to add new mime type definitions or if mime-types
can be made chainable (not sure if chainable is the right word here,
but, you get the drift)? I was thinking something like:

mimetype:'video/quicktime, video/mp4, video/mpeg',
pluginspage: 'http://www.apple.com/quicktime/download/',
types:
'aif,aiff,aac,au,bmp,gsm,mov,mid,midi,mpg,mpeg,mp4,m4a,m4v,psd,qt,qtif,qif,qti,snd,tif,tiff,wav,
3g2,3gp',
---
(The mime chain above still doesn't match all file types btw)
The alternative I guess would be to simply add a new block for each
QuickTime mime type?
Suggestions are welcome of course, I'm crap at scripting. ;)

Cheers,
Fred K

On Sep 17, 10:05 am, Jerome Chevreau jerome.chevr...@gmail.com
wrote:
 Hi there,

 I am using themediapluginand it works fine and is a lovelyplugin
 to have but i encountered a few problems where i needed to alter the
 js so i could be able to play certain file flv, mp4, mp3 as it could
 not be played. It looks like using my flash player it could not play
 flv and mp3 and my quicktime could not play my mp4. I Had to change
 them and make them play via winmediaplayer.

 Does anybody have had those problems?? or is it bad to change it as
 some users dont have codecs to play certain file and therefore need to
 use the flash player or quicktime.

 Thanks for any help.

 Regards,

 Jerome


[jQuery] JQuery plugin Tooltip: how to have a list of elements as tooltip body, not just one line

2009-06-25 Thread Fred

Hi guys,

I'm quite new to JQuery and JavaScript. An old website used to display
many columns with date infos in the middle of a table. When too many
dates are rendered, last part of the table can't be seen without
scrolling horizontally which is not so nice. To avoid this, we wish to
use the JQuery tooltip plugin. We want only a certain number of dates
to be rendered in the table, such as 3 elements (tuples of start / end
dates in fact), and add an icon after these dates with a tooltip
showing all dates on mouse over.

My problem is I don't want to show all these dates on a single line,
but rather print a Title, and one pair of start/end dates per line in
the tooltip body. But how ?

The solution I see from now, without having put hands in code deeply,
would be to define the tooltip's width so that a new line is forced
where I want, but it doesn't sounds to be a good solution. Beeing able
to put HTML code like BR or something directly in the 'title' field
used to create the tooltip would suit me, but I think it would be
syntaxically wrong.

Perhaps can you guys propose me a good solution ?

Thank you,
Fred.


[jQuery] Bug in jQuery Multiple File Upload Plugin

2009-05-07 Thread Fred

Hello,

I dowloaded the last version of this plugin that looks great.
But here is the big big problem.

I just tested the most trivial examples on the following webpages :
http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Examples

I checked the example :

Customising the file list - Example 8 A


The original function associated with this example that only allows
you to select one file :
$(function(){ // wait for document to load
 $('#T8A').MultiFile({
  STRING: {
   remove: 'img src=/@/bin.gif height=16 width=16 alt=x/'
  }
 });
});


I did a little modification to restrict the downloading to gif or jpg
files with the code below and it works great :
$(function(){ // wait for document to load
 $('#T8A').MultiFile({
  accept:'gif|jpg',
  STRING: {
   remove: 'img src=/@/bin.gif height=16 width=16 alt=x/'
  }
 });
});


But when I wanted to add a select limitation to 3 files with the
following code it is still limitated to one file.
I think it is very sad that a so simple instance create a bug.
It seems to be a bug
$(function(){ // wait for document to load
 $('#T8A').MultiFile({
  accept:'gif|jpg',
  max: 3,
  STRING: {
   remove: 'img src=/@/bin.gif height=16 width=16 alt=x/'
  }
 });
});

Does any one has an explanation for such failure.

Fred



[jQuery] jquery Plugin Validation + jquery Form Plugin

2008-06-27 Thread Fred Boucher

I have a problem using two plugins with Jquery :
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
and
http://www.malsup.com/jquery/form/#code-samples

I have a form where I need to check if fields are wrong or not (with
jquery Plugin Validation).
When the form is submitted and all fields ok, I need to load a page
into a div ('#response) using ajaxSubmit (from
http://www.malsup.com/jquery/form/#code-samples).

Here is my code :
jQuery(function() {
$('#response').css({ display: none});
var container = $('div#errors');

$(#Form1).validate({
errorContainer: container,
errorLabelContainer: $(ul, container),
wrapper: 'li',
meta: validate,
submitHandler: function(form) {
$(form).ajaxSubmit({
target: #response
});
$('#response').show();
}
});
});

The code above works very fine everywhere.

But... the content into the div called is also another form, whitch
get POST datas from the first form.
If contents are shown right in IE and FF, it is as if IE didn't load
the javascript included in the ajax content loaded.
I have absolutly no errors with Firebug and js console, but IE tells
me there are errors.

Here is the content of the div loaded :
script type=text/javascript src=includes/js/paiement.js/script

div
div style=float:right;
img src=images/icons/close.png alt=close id=reset /
/div
form action=# method=post id=FormPaiement
fields of form are here, I don't detail them
/form
/div

And here is the content of paiement.js :

$(document).ready(function() {
var container = $('div#errorsFormPaiement');

$(#FormPaiement).validate({
errorContainer: container,
errorLabelContainer: $(ul, container),
wrapper: 'li',
meta: validate,
submitHandler: function(form) {
alert('everything is ok, félicitations !');
}
});

$(#reset).click(function() {
$(#FormPaiement).resetForm();
$('#response').hide();
});
});


What is the problem with IE ?
When I click on #reset element, IE does not do anything, and when i
submit empty form, it does not validate the second form.
It is as if js is not loaded.

I tried to include js in anothers ways, encapsuled into script and /
script, or included in the head of my main page, but nothing more
better.

What did I do wrong for it does not work in IE ?

Sorry for my english, I hope you can understand everything as I tried
to explain them.


[jQuery] Re: jquery Plugin Validation + jquery Form Plugin

2008-06-27 Thread Fred Boucher

I send an answer but I don't see it.
So, you were right.
Thank you very much for your help, Jörn :)

On 27 juin, 14:56, Jörn Zaefferer [EMAIL PROTECTED]
wrote:
 Try to put the script you load into the ajaxSubmit-success-callback,
 instead of loading it together with the HTML. That should be much more
 reliable.

 Jörn

 On Fri, Jun 27, 2008 at 2:43 PM, Fred Boucher [EMAIL PROTECTED] wrote:

  I have a problem using two plugins with Jquery :
 http://bassistance.de/jquery-plugins/jquery-plugin-validation/
  and
 http://www.malsup.com/jquery/form/#code-samples

  I have a form where I need to check if fields are wrong or not (with
  jquery Plugin Validation).
  When the form is submitted and all fields ok, I need to load a page
  into a div ('#response) using ajaxSubmit (from
 http://www.malsup.com/jquery/form/#code-samples).

  Here is my code :
  jQuery(function() {
 $('#response').css({ display: none});
 var container = $('div#errors');

 $(#Form1).validate({
 errorContainer: container,
 errorLabelContainer: $(ul, container),
 wrapper: 'li',
 meta: validate,
 submitHandler: function(form) {
 $(form).ajaxSubmit({
 target: #response
 });
 $('#response').show();
 }
 });
  });

  The code above works very fine everywhere.

  But... the content into the div called is also another form, whitch
  get POST datas from the first form.
  If contents are shown right in IE and FF, it is as if IE didn't load
  the javascript included in the ajax content loaded.
  I have absolutly no errors with Firebug and js console, but IE tells
  me there are errors.

  Here is the content of the div loaded :
  script type=text/javascript src=includes/js/paiement.js/script

  div
  div style=float:right;
 img src=images/icons/close.png alt=close id=reset /
  /div
  form action=# method=post id=FormPaiement
  fields of form are here, I don't detail them
  /form
  /div

  And here is the content of paiement.js :

  $(document).ready(function() {
  var container = $('div#errorsFormPaiement');

 $(#FormPaiement).validate({
 errorContainer: container,
 errorLabelContainer: $(ul, container),
 wrapper: 'li',
 meta: validate,
 submitHandler: function(form) {
 alert('everything is ok, félicitations !');
 }
 });

 $(#reset).click(function() {
 $(#FormPaiement).resetForm();
 $('#response').hide();
 });
  });

  What is the problem with IE ?
  When I click on #reset element, IE does not do anything, and when i
  submit empty form, it does not validate the second form.
  It is as if js is not loaded.

  I tried to include js in anothers ways, encapsuled into script and /
  script, or included in the head of my main page, but nothing more
  better.

  What did I do wrong for it does not work in IE ?

  Sorry for my english, I hope you can understand everything as I tried
  to explain them.


[jQuery] Re: jquery Plugin Validation + jquery Form Plugin

2008-06-27 Thread Fred Boucher

You are right !
Thank you very much for your help, Jörn :)

On 27 juin, 14:56, Jörn Zaefferer [EMAIL PROTECTED]
wrote:
 Try to put the script you load into the ajaxSubmit-success-callback,
 instead of loading it together with the HTML. That should be much more
 reliable.

 Jörn

 On Fri, Jun 27, 2008 at 2:43 PM, Fred Boucher [EMAIL PROTECTED] wrote:

  I have a problem using two plugins with Jquery :
 http://bassistance.de/jquery-plugins/jquery-plugin-validation/
  and
 http://www.malsup.com/jquery/form/#code-samples

  I have a form where I need to check if fields are wrong or not (with
  jquery Plugin Validation).
  When the form is submitted and all fields ok, I need to load a page
  into a div ('#response) using ajaxSubmit (from
 http://www.malsup.com/jquery/form/#code-samples).

  Here is my code :
  jQuery(function() {
 $('#response').css({ display: none});
 var container = $('div#errors');

 $(#Form1).validate({
 errorContainer: container,
 errorLabelContainer: $(ul, container),
 wrapper: 'li',
 meta: validate,
 submitHandler: function(form) {
 $(form).ajaxSubmit({
 target: #response
 });
 $('#response').show();
 }
 });
  });

  The code above works very fine everywhere.

  But... the content into the div called is also another form, whitch
  get POST datas from the first form.
  If contents are shown right in IE and FF, it is as if IE didn't load
  the javascript included in the ajax content loaded.
  I have absolutly no errors with Firebug and js console, but IE tells
  me there are errors.

  Here is the content of the div loaded :
  script type=text/javascript src=includes/js/paiement.js/script

  div
  div style=float:right;
 img src=images/icons/close.png alt=close id=reset /
  /div
  form action=# method=post id=FormPaiement
  fields of form are here, I don't detail them
  /form
  /div

  And here is the content of paiement.js :

  $(document).ready(function() {
  var container = $('div#errorsFormPaiement');

 $(#FormPaiement).validate({
 errorContainer: container,
 errorLabelContainer: $(ul, container),
 wrapper: 'li',
 meta: validate,
 submitHandler: function(form) {
 alert('everything is ok, félicitations !');
 }
 });

 $(#reset).click(function() {
 $(#FormPaiement).resetForm();
 $('#response').hide();
 });
  });

  What is the problem with IE ?
  When I click on #reset element, IE does not do anything, and when i
  submit empty form, it does not validate the second form.
  It is as if js is not loaded.

  I tried to include js in anothers ways, encapsuled into script and /
  script, or included in the head of my main page, but nothing more
  better.

  What did I do wrong for it does not work in IE ?

  Sorry for my english, I hope you can understand everything as I tried
  to explain them.


[jQuery] Cluetip + UI.datepicker + show events onmouseover

2008-06-25 Thread Fred Boucher

Hello,

I am using cluetip 0.9.8 and UI.datepicker (http://marcgrabanski.com/
code/ui-datepicker) from Mark Grabanski.
The UI.datepicker displays a calendar, and I expect cluetip to show on
the event onmouseover the status of a day.

Here is the code I use :

$(document).ready(function() {
// when mouseover on a day
$('td.datepicker_daysCell a').mouseover(function(){
// add cluetip class
$('td.datepicker_daysCell a').addClass('cluetip');
// add href and rel attributes
$(this).attr({
href: testAJAX.txt,
rel: testAJAX.txt
});

// load cluetip
$('a.cluetip').cluetip({
cluetipClass: 'complet',
dropShadow: false,
sticky: false,
ajaxCache: false,
arrows: false,
onShow: function(ct, c){
$('a.test').click(function(){
var Plop = $(this).text();
alert(Plop);
});
}
});

});
});

The problem occures on firefox, because we need to mouseover twive on
a day to make it working.
On IE, the first mouseover event is working fine and show the content
of testAjax.txt.

Any idea of this trouble ?

Sorry if the question has already been asked.

Fred


[jQuery] Re: replace html on ajax success ie7

2008-06-14 Thread Fred

Nope, there is no javascript, just html.. thanks..anything else you
can think of?

On Jun 14, 3:03 am, ilrobyt [EMAIL PROTECTED] wrote:
 On 14 Giu, 01:02, Fred [EMAIL PROTECTED] wrote:



  Hi guys, I am having a wierd issue. It seems all is fine in firefox
  but in IE for some reason, although I can alert the value returned to
  the ajax post, I cannot seem to populate the html of my div. Here is
  my code:

  $.post(SERVER_URL,
'temp_key='+temp_post_key_n,
function(data){
   alert(data); // Displays returned html in ie and firefox
   $('#message_div').html(data); // Populated in Firefox, not in IE
   },
'html'
  );

  Also, If I set $('#message_div').html(data) to $
  ('#message_div').html('testing') I see testing in my div in both IE
  and Firefox. Thanks a ton!

  Fred.

 have you some javascript code in the server answer?
 IE strip script


[jQuery] Re: replace html on ajax success ie7

2008-06-14 Thread Fred

no, just html.

On Jun 14, 3:03 am, ilrobyt [EMAIL PROTECTED] wrote:
 On 14 Giu, 01:02, Fred [EMAIL PROTECTED] wrote:



  Hi guys, I am having a wierd issue. It seems all is fine in firefox
  but in IE for some reason, although I can alert the value returned to
  the ajax post, I cannot seem to populate the html of my div. Here is
  my code:

  $.post(SERVER_URL,
'temp_key='+temp_post_key_n,
function(data){
   alert(data); // Displays returned html in ie and firefox
   $('#message_div').html(data); // Populated in Firefox, not in IE
   },
'html'
  );

  Also, If I set $('#message_div').html(data) to $
  ('#message_div').html('testing') I see testing in my div in both IE
  and Firefox. Thanks a ton!

  Fred.

 have you some javascript code in the server answer?
 IE strip script


[jQuery] replace html on ajax success ie7

2008-06-13 Thread Fred

Hi guys, I am having a wierd issue. It seems all is fine in firefox
but in IE for some reason, although I can alert the value returned to
the ajax post, I cannot seem to populate the html of my div. Here is
my code:

$.post(SERVER_URL,
  'temp_key='+temp_post_key_n,
  function(data){
 alert(data); // Displays returned html in ie and firefox
 $('#message_div').html(data); // Populated in Firefox, not in IE
 },
  'html'
);

Also, If I set $('#message_div').html(data) to $
('#message_div').html('testing') I see testing in my div in both IE
and Firefox. Thanks a ton!

Fred.


[jQuery] Jquery browse dialog

2008-05-28 Thread Fred

Hi guys, I have to open a browse dialog window that allows selection
of multiple files, basically for selection of multiple files to
upload. Any ideas?
Thanks.


[jQuery] Re: $(document).ready(function() { giving error $ is not a function - what am I doing wrong?

2008-05-09 Thread Fred P

A little more specific:

You're using jQuery.noConflict() which allows you to use the variable
jQuery

jQuery(document).ready( function() {
jQuery(#sliding_cart).css({ display: none});
});


then later in your doc, you're using $ which is the same thing, if
you're not using  jQuery.noConflict(). However, it's one or the other,
not both.


 $(document).ready(function() {

 $(a).click(function(){
 alert(Thanks for visiting!);
 });

});

If you're using Prototype.js or any other JS Library that may use $,
then you need noConflict. If you're sure you'll never use any other JS
Library, then drop the noConflict and use $ instead of jQuery variable
everywhere.
If you're using some plugins or third party script asking you to use
noConflict for any reason, then use jQuery instead of $ (like those
guys: 
http://blog.evaria.com/wp-content/themes/blogvaria/jquery/index-multi.php).

Fred


[jQuery] Re: Turn HTML tables into graphs using flot

2007-12-17 Thread Fred Janon
Great work!

Fred

On Dec 18, 2007 10:42 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


 I'd been playing with jQuery and building tables from JSON data, and
 then flot came along right at the same time I was working on a project
 that required graphing data that was already in tables. I wrote a
 plugin to help me out that I think other people might find useful:

 http://blog.rebeccamurphey.com/2007/12/17/graph-table-data-jquery-flot/

 usage:

 $('#myTable').graphTable({series:'columns'});

 It's got a bunch of other properties too -- to choose which part of
 the table you want to use, where the graph should go, and how to turn
 the table data into numbers that flot can understand -- but everything
 except the series property is optional. It'll work with simple tables,
 but nothing with rowspans or colspans.

 Interested in anyone's suggestions on how to make it better ...



[jQuery] Re: Reminder: Last few hours to save 30% on jQuery in Action BETA

2007-11-01 Thread Fred Janon
Ooops, coupon expired. Too bad, I wish I heard about it earlier.

Fred

On 11/1/07, Fred Janon [EMAIL PROTECTED] wrote:

 Thanks for the answer, Yehuda. Hopefully the discount is still good...

 Fred

 On 11/1/07, Yehuda Katz [EMAIL PROTECTED] wrote:
 
  The book covers jQuery 1.2. The book got started pre-1.2, but we did a
  full-pass of the entire book to update it for 1.2. It also includes
  jQuery UI and livequery in Chapter 9, which are relatively new.
 
  Having done a ton of the research for the book, I can tell you that in
  addition to the book covering motivation (why the library does what it does)
  that you won't get anywhere else, there's a fair bit of material that was
  gleaned from a combination of disparate online documentation and reading the
  source code itself.
 
 
  My favorite feature in this book is the lab pages, which are online
  pages that allow you to experiment with concepts taught in the book. For
  instance, we have a selector lab that allows you to specify a selector, and
  see which elements are selected. The lab pages are tightly integrated into
  the book narrative, so you really get a lot of value in a format that is not
  available anywhere else.
 
 
  Also, the book has a number of full-chapter examples (Ajax comes to
  mind), which will help you tackle writing a full app start-to-finish,
  including minor issues that can get lost when writing a high-level overview.
  So check it out. I think you'll be pleasantly surprised :-D
 
 
  -- Yehuda
 
  On 10/31/07, Fred Janon [EMAIL PROTECTED]  wrote:
  
   Hi,
  
   What version of jQuery does the book cover? It would be nice if
   Manning decided to show an excerpt of another chapter (or part of) than 
   the
   introduction. For the introduction, we can go to the jQuery web site, but
   show me what's the real meat of the book? What does this book have that I
   can't find easily somewhere else? Hard to tell from the Table of 
   Contents. I
   love books and I buy lots of them, but it's getting hard to buy a book and
   discover that it's either almost obsolete when it comes out because 2
   versions of the software came out before the book is in the stores or the
   book doesn't address much more than what's on the web site, hence the book
   publishing market shrinking.
  
   Thanks
  
   Fred
  
   On 11/1/07, Yehuda Katz  [EMAIL PROTECTED]  wrote:
   
Hey guys,
   
I'm really proud of how well jQuery in Action has been selling over
the past few weeks, and how much feedback I've been getting from the
community. If you haven't gotten a chance to purchase it, I just wanted 
to
let you know that the 30% off coupon code expires tonight (not sure if 
it's
EST or PST...).
   
   
Get the book at: 
http://www.manning.com/affiliate/idevaffiliate.php?id=485_93
   
Use coupon code JQM30 for 30% off!
   
--
Yehuda Katz
Web Developer | Procore Technologies
(ph)  718.877.1325
   
  
  
 
 
  --
  Yehuda Katz
  Web Developer | Procore Technologies
  (ph)  718.877.1325
 




[jQuery] Re: Reminder: Last few hours to save 30% on jQuery in Action BETA

2007-11-01 Thread Fred Janon
Thanks for the answer, Yehuda. Hopefully the discount is still good...

Fred

On 11/1/07, Yehuda Katz [EMAIL PROTECTED] wrote:

 The book covers jQuery 1.2. The book got started pre-1.2, but we did a
 full-pass of the entire book to update it for 1.2. It also includes jQuery
 UI and livequery in Chapter 9, which are relatively new.

 Having done a ton of the research for the book, I can tell you that in
 addition to the book covering motivation (why the library does what it does)
 that you won't get anywhere else, there's a fair bit of material that was
 gleaned from a combination of disparate online documentation and reading the
 source code itself.


 My favorite feature in this book is the lab pages, which are online
 pages that allow you to experiment with concepts taught in the book. For
 instance, we have a selector lab that allows you to specify a selector, and
 see which elements are selected. The lab pages are tightly integrated into
 the book narrative, so you really get a lot of value in a format that is not
 available anywhere else.


 Also, the book has a number of full-chapter examples (Ajax comes to mind),
 which will help you tackle writing a full app start-to-finish, including
 minor issues that can get lost when writing a high-level overview. So check
 it out. I think you'll be pleasantly surprised :-D


 -- Yehuda

 On 10/31/07, Fred Janon [EMAIL PROTECTED]  wrote:
 
  Hi,
 
  What version of jQuery does the book cover? It would be nice if Manning
  decided to show an excerpt of another chapter (or part of) than the
  introduction. For the introduction, we can go to the jQuery web site, but
  show me what's the real meat of the book? What does this book have that I
  can't find easily somewhere else? Hard to tell from the Table of Contents. I
  love books and I buy lots of them, but it's getting hard to buy a book and
  discover that it's either almost obsolete when it comes out because 2
  versions of the software came out before the book is in the stores or the
  book doesn't address much more than what's on the web site, hence the book
  publishing market shrinking.
 
  Thanks
 
  Fred
 
  On 11/1/07, Yehuda Katz  [EMAIL PROTECTED] wrote:
  
   Hey guys,
  
   I'm really proud of how well jQuery in Action has been selling over
   the past few weeks, and how much feedback I've been getting from the
   community. If you haven't gotten a chance to purchase it, I just wanted to
   let you know that the 30% off coupon code expires tonight (not sure if 
   it's
   EST or PST...).
  
  
   Get the book at: 
   http://www.manning.com/affiliate/idevaffiliate.php?id=485_93
  
   Use coupon code JQM30 for 30% off!
  
   --
   Yehuda Katz
   Web Developer | Procore Technologies
   (ph)  718.877.1325
  
 
 


 --
 Yehuda Katz
 Web Developer | Procore Technologies
 (ph)  718.877.1325



[jQuery] Re: Reminder: Last few hours to save 30% on jQuery in Action BETA

2007-10-31 Thread Fred Janon
Hi,

What version of jQuery does the book cover? It would be nice if Manning
decided to show an excerpt of another chapter (or part of) than the
introduction. For the introduction, we can go to the jQuery web site, but
show me what's the real meat of the book? What does this book have that I
can't find easily somewhere else? Hard to tell from the Table of Contents. I
love books and I buy lots of them, but it's getting hard to buy a book and
discover that it's either almost obsolete when it comes out because 2
versions of the software came out before the book is in the stores or the
book doesn't address much more than what's on the web site, hence the book
publishing market shrinking.

Thanks

Fred

On 11/1/07, Yehuda Katz [EMAIL PROTECTED] wrote:

 Hey guys,
 I'm really proud of how well jQuery in Action has been selling over the
 past few weeks, and how much feedback I've been getting from the community.
 If you haven't gotten a chance to purchase it, I just wanted to let you know
 that the 30% off coupon code expires tonight (not sure if it's EST or
 PST...).

 Get the book at: http://www.manning.com/affiliate/idevaffiliate.php?id=485_93

 Use coupon code JQM30 for 30% off!

 --
 Yehuda Katz
 Web Developer | Procore Technologies
 (ph)  718.877.1325



[jQuery] [Site using jQ] Joost

2007-10-08 Thread Fred Janon
http://www.joost.com

Fred


[jQuery] New book: jQuery in Action

2007-09-14 Thread Fred Janon
Just got an email annoucing the early access to the book:

jQuery in 
Actionhttp://rs6.net/tn.jsp?t=5x7ypecab.0.5s76qecab.gimslwbab.54091ts=S0275p=http%3A%2F%2Fwww.manning.com%2Fbibeault
EARLY ACCESS *
*Bear Bibeault and Yehuda Katz
MEAP Release: September 2007
Softbound print: December 2007 | 300 pages
ISBN: 1933988355

http://www.manning.com/bibeault/

The first chapter is free http://www.manning.com/bibeault/

Any feedback would be appreciated!

Thanks

Fred


[jQuery] Re: Vibrator Plugin

2007-09-14 Thread Fred Janon
Are the demos now supposed (the non-saucy and the saucy one) to finish in
the sam place they started? They still don't seem to.

Also the saucy one doesn't work on IE6 Windz. The pict appears correctly but
only a garbled line is shaking. The original demo works fine. Not sure it's
an issue in the plugin or in the spicy sauce. :)

Fun apart, I can see its use in a portal environment to attract the user
attention to something that changed, in the same line as the Yellow Fade
Technique. I would probably like to see some optional constraints
(horizontal/vertical).

Good stuff.

Fred

On 9/14/07, Glen Lipka [EMAIL PROTECTED] wrote:

 Ok refresh.

 Glen

 On 9/13/07, Erik Beeson [EMAIL PROTECTED] wrote:
 
 
   Is this wrong?
 
  Maybe, but it's surprisingly fun. Now just replace the animated
  version with a static single frame when the mouse isn't over it.
 
  jQuery: the naughty library that your mother always warned you about.
 
  --Erik
 




[jQuery] Re: test

2007-09-05 Thread Fred Janon
I think Gmail changed something, I don't see my replies to group mails until
someone else answers again. The emails are in the sent folder until then.

Fred


On 9/5/07, Daniel Rossi [EMAIL PROTECTED] wrote:


 Interesting, im not getting the initial email, just the replies ! I'm
 using gmail pop though.

 On 05/09/2007, at 7:24 PM, Dylan Verheul wrote:

 
  Yes they are :-)
 
  On 9/5/07, Daniel Rossi [EMAIL PROTECTED] wrote:
 
  my emails arent coming through
 




[jQuery] Re: 3D carousel?

2007-08-02 Thread Fred Janon
Great work Franck!

I see it with IE6 but it doesn't sho up on the page with FF1.5?

Are you going to make it a plugin available on the jQuery site?

Thanks

Fred

On 8/2/07, Franck Marcia [EMAIL PROTECTED] wrote:


 I up this thread just to announce the brand new carousel of
 www.alapage.com,
 based on the work of Stefan Petre (http://interface.eyecon.ro).

 Many thanks to Stefan, many thanks to John.

 Franck.

 On 9 juil, 14:49, Michael Price [EMAIL PROTECTED] wrote:
  Fred Janon wrote:
   Has anyone done or know how to do a carousel like the 3D circular
   carousel in Flash inAmazon? It looks pretty cool. Forgive me if the
   link doesn't work for you but the carousel shows the best-seller books
   in a 3D circular carousel.
 
  http://www.amazon.com/ref=topnav_gw_/105-7722567-3277224
   http://amazon.com/ref=topnav_gw_/105-7722567-3277224
 
  Hi Fred,
  There's one in the Interface effects library as well:
 http://interface.eyecon.ro/demos
 
  You can see it demonstrated from the above link, near the bottom of the
  Technical Demos list.
 
  Regards,
  Michael Price




[jQuery] Re: [ANN] Dimensions 1.0 final is finally here!

2007-07-23 Thread Fred Janon
Cool! Thanks, Brandon! Great customer service :)

On 7/23/07, Brandon Aaron [EMAIL PROTECTED] wrote:

 Docs have been updated to specify that a method works with a hidden
 element or not.

 --
 Brandon Aaron

 On 7/22/07, Fred Janon  [EMAIL PROTECTED] wrote:
 
  Brandon,
 
  Thanks for the very prompt answer. Would you mind documenting these
  points in the docs? THat woudl be great!
 
  Thanks
 
  Fred
 
  On 7/23/07, Brandon Aaron [EMAIL PROTECTED]  wrote:
  
   All of the width and height methods work on hidden elements but the
   offset, position and offsetParent methods do not. All the methods handle
   positioned elements fine with the exception of fixed position. Fixed
   position has been very difficult to get implemented but it is a very high
   priority. I haven't done much testing with tables ... but to my knowledge 
   it
   all works just fine. If you come across an issue, feel free to email the
   list and/or submit a bug report on the Dimensions project page.
  
   Thanks!
  
   --
   Brandon Aaron
  
   On 7/22/07, Fred Janon [EMAIL PROTECTED] wrote:
   
Looks good, Brandon.
   
Does it work on: hidden element (display: none), positionned
elements (absolute or relative) or on table cells and rows?
   
Thanks
   
Fred
   
   
 On 7/23/07, Brandon Aaron [EMAIL PROTECTED]  wrote:

 The 1.0 release of Dimensions is finally here. It has been a long
 time in the making. Thanks to everyone who helped me test it!

 You can get the details and see an example using the new position
 method over at my blog:
 http://blog.brandonaaron.net/2007/07/22/dimensions-10/

 You can download dimensions from the project page:
 http://jquery.com/plugins/project/dimensions
 Or via SVN: 
 http://jqueryjs.googlecode.com/svn/trunk/plugins/dimensions/


 If you find any bugs or have any feature requests ... be sure to
 report them at the dimensions project page.

 Oh... and you can check out the documentation over here:
 http://brandonaaron.net/docs/dimensions/

 Thanks!

 --
 Brandon Aaron

   
   
  
 



[jQuery] Re: [ANN] Dimensions 1.0 final is finally here!

2007-07-22 Thread Fred Janon
Looks good, Brandon.

Does it work on: hidden element (display: none), positionned elements
(absolute or relative) or on table cells and rows?

Thanks

Fred


On 7/23/07, Brandon Aaron [EMAIL PROTECTED] wrote:

 The 1.0 release of Dimensions is finally here. It has been a long time in
 the making. Thanks to everyone who helped me test it!

 You can get the details and see an example using the new position method
 over at my blog: http://blog.brandonaaron.net/2007/07/22/dimensions-10/

 You can download dimensions from the project page:
 http://jquery.com/plugins/project/dimensions
 Or via SVN: http://jqueryjs.googlecode.com/svn/trunk/plugins/dimensions/

 If you find any bugs or have any feature requests ... be sure to report
 them at the dimensions project page.

 Oh... and you can check out the documentation over here:
 http://brandonaaron.net/docs/dimensions/

 Thanks!

 --
 Brandon Aaron



[jQuery] Re: [ANN] Dimensions 1.0 final is finally here!

2007-07-22 Thread Fred Janon
Brandon,

Thanks for the very prompt answer. Would you mind documenting these points
in the docs? THat woudl be great!

Thanks

Fred

On 7/23/07, Brandon Aaron [EMAIL PROTECTED] wrote:

 All of the width and height methods work on hidden elements but the
 offset, position and offsetParent methods do not. All the methods handle
 positioned elements fine with the exception of fixed position. Fixed
 position has been very difficult to get implemented but it is a very high
 priority. I haven't done much testing with tables ... but to my knowledge it
 all works just fine. If you come across an issue, feel free to email the
 list and/or submit a bug report on the Dimensions project page.

 Thanks!

 --
 Brandon Aaron

 On 7/22/07, Fred Janon [EMAIL PROTECTED] wrote:
 
  Looks good, Brandon.
 
  Does it work on: hidden element (display: none), positionned elements
  (absolute or relative) or on table cells and rows?
 
  Thanks
 
  Fred
 
 
   On 7/23/07, Brandon Aaron [EMAIL PROTECTED]  wrote:
  
   The 1.0 release of Dimensions is finally here. It has been a long time
   in the making. Thanks to everyone who helped me test it!
  
   You can get the details and see an example using the new position
   method over at my blog:
   http://blog.brandonaaron.net/2007/07/22/dimensions-10/
  
   You can download dimensions from the project page:
   http://jquery.com/plugins/project/dimensions
   Or via SVN: http://jqueryjs.googlecode.com/svn/trunk/plugins/dimensions/
  
  
   If you find any bugs or have any feature requests ... be sure to
   report them at the dimensions project page.
  
   Oh... and you can check out the documentation over here:
   http://brandonaaron.net/docs/dimensions/
  
   Thanks!
  
   --
   Brandon Aaron
  
 
 



[jQuery] Re: jquery book

2007-07-22 Thread Fred Janon
Very good service from the publishing company, the book was delivered in 10
days to Australia. I ordered both the eBook and the printed one, got the
eBook immediately.

Looking forward to getting the second one.

Thanks

Fred

On 7/12/07, Karl Swedberg [EMAIL PROTECTED] wrote:

   On Jul 11, 2007, at 6:04 PM, Jörn Zaefferer wrote:



 Karl Swedberg wrote:

 Correct.
 When the publisher split the book into 2, Jonathan and I took the
 opportunity to add a few chapters to the reference book so that we could
 make it a valuable resource in addition to the tutorial book. We're working
 through revisions on those chapters now.

 Those additionals chapters are definitively worth their paper. I'm looking
 forward to the finished work.


 --
 Jörn Zaefferer


 http://bassistance.de





 In case anyone is wondering how Jörn can make such a claim, he is one of
 the absolutely brilliant technical reviewers who have been offering
 invaluable feedback on these books over the past six months or so.

 Cheers to Jörn Zaefferer, Mike Alsup, Dave Methvin, Paul Bakaus, and Dan
 Bravender for their enormous help!



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








[jQuery] Re: 3D carousel?

2007-07-09 Thread Fred Janon
Cool, thanks David!

On 7/9/07, David [EMAIL PROTECTED] wrote:

 Hi Fred,

 There is an example of a jQuery 3D Carousel at
 http://www.activespotlight.com/

 You can follow the thread that discussed it here:


 http://groups.google.com/group/jquery-en/browse_thread/thread/caffe8e606a6bbea/7107419fc74469c9?lnk=gstq=Interface+3d+Carousel+problemsrnum=1#

 Cheers,

 David

 Fred Janon wrote:

 Has anyone done or know how to do a carousel like the 3D circular carousel
 in Flash in Amazon? It looks pretty cool. Forgive me if the link doesn't
 work for you but the carousel shows the best-seller books in a 3D circular
 carousel.

 http://www.amazon.com/ref=topnav_gw_/105-7722567-3277224

 Fred





[jQuery] 3D carousel?

2007-07-08 Thread Fred Janon
Has anyone done or know how to do a carousel like the 3D circular carousel
in Flash in Amazon? It looks pretty cool. Forgive me if the link doesn't
work for you but the carousel shows the best-seller books in a 3D circular
carousel.

http://www.amazon.com/ref=topnav_gw_/105-7722567-3277224http://amazon.com/ref=topnav_gw_/105-7722567-3277224

Fred


[jQuery] Re: OT - AJAX book

2007-06-29 Thread Fred Janon
Javascript: the definitive guide, David Flanagan, O'Reilly. You can buy the
book and also chapters in pdf online instantly for $3.99/chapter. Chapter 20
is about Ajax. A must have for the Javascript programmer (Crockford
recommends it), one chapter on Ajax, what you need and want to know.

http://www.oreilly.com/catalog/jscript5/index.html

Make sure you buy the Fifth Edition if you buy it, it's the latest one.

Fred

On 6/29/07, Angelo Zanetti [EMAIL PROTECTED] wrote:


 Hi all

 I've used JQuery for a project and it was fine. Now I want to buy a book
 just for AJAX not necessarily jQuery. What would you guys suggest?

 Thanks in advance.

 Angelo




[jQuery] Re: OT - AJAX book

2007-06-29 Thread Fred Janon
Let's not forget Pro Javascript by John Resig. I just bought the pdf
online, very good. A chapter on Ajax and a few after it on Ajax
applications.

Fred


On 6/30/07, Ganeshji Marwaha [EMAIL PROTECTED] wrote:

 Professional Ajax is also a very book, written by Nicholas C Zakas.

 I haven't read this book, but have heard a lotta positive feedback from
 people who have. I guess the book is in 2nd edition now.

 I believe the author got an offer from both yahoo and google soon after
 the first edition of this book was published.
 He chose yahoo!.

 -GTG



 On 6/29/07, Tobias Parent [EMAIL PROTECTED] wrote:
 
 
  Ajax in Action
  Ajax Design Patterns
  ... and of course, Head-Rush Ajax
 
  
   Angelo Zanetti wrote:
  
   Hi all
  
   I've used JQuery for a project and it was fine. Now I want to buy a
   book just for AJAX not necessarily jQuery. What would you guys
  suggest?
  
   Thanks in advance.
  
   Angelo
  
  
  
 
 



[jQuery] Re: New Plugin: HoverAccordion

2007-06-26 Thread Fred Janon
A click does strange things...

On 6/26/07, Bernd Matzner [EMAIL PROTECTED] wrote:


 Hello,

 I'm really excited: My first try at building a jQuery plugin!

 This is another accordion, but in this case, it's designed to open up
 by just moving your mouse over an item, just like on the
 http://www.apple.com/mac/
 website.

 Can be used together with the excellent hoverIntent plugin to avoid
 accidentally opening an item.

 See

 http://berndmatzner.de/jquery/hoveraccordion/

 for instructions and examples.

 Looking forward to your comments,

 Bernd




[jQuery] Re: Masked Input Plugin RC1

2007-06-22 Thread Fred Janon

Josh,

I think there is a problem even on your project page

http://digitalbush.com/projects/masked-input-plugin

I tried a date and a phone number, worked great until I decided to
delete ALL the numbers in the phone number. The ( disappeared and
then I couldn't enter any more characters. Same for the date.

It looks very good though, hopefully you'll work it out quickly!

Fred

On 6/22/07, Josh Bush [EMAIL PROTECTED] wrote:

 I'm getting there. I've released another revision to my Masked Input
 Plugin for jQuery. I'm calling this release candidate 1 because this
 is the feature set I wish to implement for v1.0 and I don't anticipate
 any breaking API changes.

 The following is a list of changes for this release.

* Fixed a Safari issue where backspace deleted wrong characters
 and messed up cursor position.
* Fixed an issue where pre-filled input (value=something) was
 deleted on focus.

 Please check it out at: http://digitalbush.com/projects/masked-input-plugin
 or on the new jQuery plugin repository at: 
 http://jquery.com/plugins/project/maskedinput

 Thanks
 Josh




[jQuery] Re: Masked Input Plugin RC1

2007-06-22 Thread Fred Janon

Hi Josh

IE 6 Windows

At load time IE throws an error: line 107 style is null or not an object.

I can confirn on the number entery that dleeting from the end with
multiple backspaces deletes the ( and then prevents any number to
appear when typing them.

Fred


On 6/22/07, Josh Bush [EMAIL PROTECTED] wrote:

 What browser and version are you in.  On FF2 I was able to highlight
 the entire text and hit delete and also highlight the entire text and
 hit backspace without any issue.

 I was able go from the end of the string to the beginning with
 backspace and once you backspace over the ( in the phone number, the
 mask disappears.  However, it does come back as soon as you start
 typing.  I'll do some more testing in IE,Opera, and Safari later to
 see what else is going on.  The mask shouldn't disappear here, but the
 functionality looks to still remain.

 Josh

 On Jun 22, 3:29 am, Fred Janon [EMAIL PROTECTED] wrote:
  Josh,
 
  I think there is a problem even on your project page
 
  http://digitalbush.com/projects/masked-input-plugin
 
  I tried a date and a phone number, worked great until I decided to
  delete ALL the numbers in the phone number. The ( disappeared and
  then I couldn't enter any more characters. Same for the date.
 
  It looks very good though, hopefully you'll work it out quickly!
 
  Fred
 
  On 6/22/07, Josh Bush [EMAIL PROTECTED] wrote:
 
 
 
   I'm getting there. I've released another revision to my Masked Input
   Plugin for jQuery. I'm calling this release candidate 1 because this
   is the feature set I wish to implement for v1.0 and I don't anticipate
   any breaking API changes.
 
   The following is a list of changes for this release.
 
  * Fixed a Safari issue where backspace deleted wrong characters
   and messed up cursor position.
  * Fixed an issue where pre-filled input (value=something) was
   deleted on focus.
 
   Please check it out at:http://digitalbush.com/projects/masked-input-plugin
   or on the new jQuery plugin repository 
   at:http://jquery.com/plugins/project/maskedinput
 
   Thanks
   Josh




[jQuery] Re: How is height calculated?

2007-06-17 Thread Fred Janon
Klaus,

Humm, I still can't get the size of an element while it's hidden and
absolute...

I tried with an element:

style=display: none; position: absolute

and

alert(id:  + elt.id +  height:  + elt.offsetHeight +  width:  +
elt.offsetWidth);
alert(id:  + elt.id +  style.height:  + elt.style.height +  style.width:
 + elt.style.width);

I still get height:0 and width:0 and style.height  as well as style.width.

Did you mean that the element position is made absolute, moved off screen
and made visible to get its size and then made static and hidden again?

Thanks

Fred

On 6/17/07, Klaus Hartl [EMAIL PROTECTED] wrote:


 Fred Janon wrote:
  Hi,
 
  I am trying to understand how the height of an element is calculated in
  jQuery. I don't understand how the height can be calculated especially
  when the element is hidden with display:none.
 
  Thanks
 
  Fred
 

 Fred,

 if the particular element is hidden, it is absolutely positioned while
 invisible (and the parent element its context), instead of display:
 none, and the height can then be calculated. Thereafter these styles
 are resetted.

 There is one issue: If not the element itself but some parent element is
 hidden via setting display to none, you won't get the correct height.
 Its just to expensive to use the above described technique for some
 parent element.



 --Klaus



[jQuery] How is height calculated?

2007-06-16 Thread Fred Janon
Hi,

I am trying to understand how the height of an element is calculated in
jQuery. I don't understand how the height can be calculated especially when
the element is hidden with display:none.

Thanks

Fred