Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #21971 > unrolled thread

Scaling with @media queries

Started byRichard Maher <maher_rjSPAMLESS@hotmail.com>
First post2013-11-12 06:18 +0800
Last post2013-11-11 17:28 -0800
Articles 2 — 2 participants

Back to article view | Back to comp.lang.javascript


Contents

  Scaling with @media queries Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2013-11-12 06:18 +0800
    Re: Scaling with @media queries "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2013-11-11 17:28 -0800

#21971 — Scaling with @media queries

FromRichard Maher <maher_rjSPAMLESS@hotmail.com>
Date2013-11-12 06:18 +0800
SubjectScaling with @media queries
Message-ID<l5rl4n$hnm$1@speranza.aioe.org>
Hi,

This is Google Maps API specific but could apply to other Javascript 
libraries as well.

InfoWindow/InfoBubble constructors do not allow you to specify "em" on 
the height/width arguments and mandate pixels. If I want them to scale 
down for smaller screen sizes do I have to code it at onload/domready?

What other options are people deploying?

Cheers

[toc] | [next] | [standalone]


#21979

From"Michael Haufe (TNO)" <tno@thenewobjective.com>
Date2013-11-11 17:28 -0800
Message-ID<9b6fea5b-dfc1-4d2a-b46f-3fca73231485@googlegroups.com>
In reply to#21971
On Monday, November 11, 2013 4:18:53 PM UTC-6, Richard Maher wrote:

> InfoWindow/InfoBubble constructors do not allow you to specify "em" on 
> the height/width arguments and mandate pixels. If I want them to scale 
> down for smaller screen sizes do I have to code it at onload/domready?

According to:

<https://developers.google.com/maps/documentation/javascript/reference#InfoWindowOptions>

The window will size to the content, in which case, specify "em" on <div> in your content? 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web