[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