Re: [PLUG] [Pdx-pm] Browser window height, javascript, jquery - solved

2009-08-07 Thread Keith Lofstrom
On Fri, Aug 07, 2009 at 02:14:19PM -0700, Keith Lofstrom wrote: > I want to make my wydiwys presentation tool autoscale single > images to the browser window. I want to fill as much of the > window as I can, while preserving the image aspect ratio. > The math is easy, but learning the pixel heigh

Re: [PLUG] Browser window height, javascript, jquery

2009-08-07 Thread Rogan Creswick
On Fri, Aug 7, 2009 at 2:37 PM, Joe Pruett wrote: >>> According to the Jquery docs at http://docs.jquery.com/CSS/height: >>> >>> $(window).height();   // returns height of browser viewport >>> $(document).height(); // returns height of HTML document >>> >>> Is that what you're looking for? >> >> I

Re: [PLUG] Browser window height, javascript, jquery

2009-08-07 Thread Joe Pruett
>> According to the Jquery docs at http://docs.jquery.com/CSS/height: >> >> $(window).height(); // returns height of browser viewport >> $(document).height(); // returns height of HTML document >> >> Is that what you're looking for? > > I do not believe this will give you the right numbers. I ge

Re: [PLUG] Browser window height, javascript, jquery

2009-08-07 Thread drew wymore
What you're looking for is viewport height/width. I'm not in front of a box right now to see if jQuery has some such function to grab that info. Drew On 8/7/09, Keith Lofstrom wrote: > I want to make my wydiwys presentation tool autoscale single > images to the browser window. I want to fill as

Re: [PLUG] Browser window height, javascript, jquery

2009-08-07 Thread ckonstanski
> According to the Jquery docs at http://docs.jquery.com/CSS/height: > > $(window).height(); // returns height of browser viewport > $(document).height(); // returns height of HTML document > > Is that what you're looking for? I do not believe this will give you the right numbers. I get 1680x10

Re: [PLUG] Browser window height, javascript, jquery

2009-08-07 Thread ckonstanski
> I want to make my wydiwys presentation tool autoscale single > images to the browser window. I want to fill as much of the > window as I can, while preserving the image aspect ratio. > The math is easy, but learning the pixel height of the inside > of the browser window is surprisingly difficult

Re: [PLUG] Browser window height, javascript, jquery

2009-08-07 Thread Aaron Jorbin
According to the Jquery docs at http://docs.jquery.com/CSS/height: $(window).height(); // returns height of browser viewport $(document).height(); // returns height of HTML document Is that what you're looking for? On 8/7/09, Keith Lofstrom wrote: > I want to make my wydiwys presentation tool

Re: [PLUG] Browser window height, javascript, jquery

2009-08-07 Thread Joe Pruett
i think you can use things like: $(window).height() $(window).width() to find the size of the page. window is a literal variable name, not something you replace. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/

[PLUG] Browser window height, javascript, jquery

2009-08-07 Thread Keith Lofstrom
I want to make my wydiwys presentation tool autoscale single images to the browser window. I want to fill as much of the window as I can, while preserving the image aspect ratio. The math is easy, but learning the pixel height of the inside of the browser window is surprisingly difficult. I am u

Re: [PLUG] Need Disk Recovery!

2009-08-07 Thread m0gely
Chaz Sliger wrote: > Apologies for using an existing thread, but my posts are getting bounced... > > I'm looking for a good disk recovery service. > Disk is emitting clicking noises. > > Samsung, 80 Gb, IDE Ultra ATA-133, 7200 RPM, 9ms Avg Seek. > > Model No: 0891J2FXB95822 > > This is out of

Re: [PLUG] Bluetooth woes, brainstorm needed

2009-08-07 Thread John Jason Jordan
On Fri, 7 Aug 2009 02:42:15 -0700 drew wymore dijo: > > Doesn't sound like a bluetooth problem at all but rather a problem with X > and bluetooth John. Since 2 BT mice don't work but the phone does and X is > the difference in the equation I'd check /var/log/X.log.* when you have the > issue with

Re: [PLUG] On Tethering

2009-08-07 Thread Robert Kopp
My experience with Ubuntu 9.04 and T-Mobile (USB) is that the connection is recognized by both the computer and the phone, but I can't view any pages. I hope I can figure out what the problem is, because it's the only reason I would need a Windows partition on my laptop. Robert "Tim" Kopp ht

Re: [PLUG] comcast customers beware

2009-08-07 Thread Rogan Creswick
On Fri, Aug 7, 2009 at 2:45 AM, drew wymore wrote: > > Qwest as the ISP does this as well and has been doing it for quite awhile. > It is incredibly annoying. > I still find this preferable to Clearwire's method of "contacting" you with important account alerts: they redirect *one* http request t

Re: [PLUG] comcast customers beware

2009-08-07 Thread drew wymore
On Wed, Aug 5, 2009 at 8:46 PM, Carlos Konstanski < ckonstan...@pippiandcarlos.com> wrote: > > http://tech.slashdot.org/story/09/08/05/1926257/Comcast-the-Latest-ISP-To-Try-DNS-Hijacking?art_pos=11 > > Carlos > > ___ > PLUG mailing list > PLUG@lists.pdxl

Re: [PLUG] Bluetooth woes, brainstorm needed

2009-08-07 Thread drew wymore
On Fri, Aug 7, 2009 at 12:51 AM, John Jason Jordan wrote: > For a year and a half I have been using a Razer bluetooth mouse with my > Thinkpad T61, currently at Jaunty x86_64. It has always "just worked." > > At the meeting tonight I booted my computer and discovered that the > mouse did not funct

Re: [PLUG] Bluetooth woes, brainstorm needed

2009-08-07 Thread Keith
John Jason Jordan wrote: > > Something has gone wrong, but what could have gone wrong all by itself > merely by shutting down and restarting? I have done that hundreds of > times, and the Razer always worked as soon as the boot process ended. I > am out of ideas. I need a brainstorm here. Any sugg

[PLUG] Bluetooth woes, brainstorm needed

2009-08-07 Thread John Jason Jordan
For a year and a half I have been using a Razer bluetooth mouse with my Thinkpad T61, currently at Jaunty x86_64. It has always "just worked." At the meeting tonight I booted my computer and discovered that the mouse did not function. I tried all kinds of hcitool and hidd commands, but could not g