I would prefer to go down the path of allowing the user to specify classes
to be added instead of adding to a specific element that may or may not work
cross browser.

-- Luke


On Thu, Jun 30, 2011 at 6:44 PM, Johannes Schill
<[email protected]>wrote:

> It's basically because we use different styles applied to the
> pac-container, depending on which template is used. Sometimes the
> pac-container is relatively positioned to another container, sometimes its X
> pixels wide and sometimes its Y pixels wide, sometimes the top/left-values
> need to be overridden etc. I suppose i can rewrite my code and work around
> it by adding a class to the body-tag or to the pac-container itself + some
> scripting to position the container, but it would have been smooth with an
> appendTo- and/or optionalCssClass-option to avoid the hacking and keep the
> markup as free from sin as possible.
>

Yup as you said, best option for now is to add focus/blur listeners to the
input element(s) to add a class name to the body and then having .myclass
.pac-container etc.


>
> Cheers
> Johannes
>
>
> Den torsdagen den 30:e juni 2011 kl. 09:36:46 UTC+2 skrev Luke (Google
> Employee):
>>
>> Currently there is no plan to do that. Can you elaborate more as to why
>> you would want it?
>>
>> It can cause issues when trying to display the autocomplete without
>> messing with the styles of that element - this is the reason it got moved
>> out.
>>
>> -- Luke
>>
>>
>> On Thu, Jun 30, 2011 at 5:16 PM, Johannes Schill <[email protected]>wrote:
>>
>>> Thanks for your quick reply. Last question: will there be an optional
>>> "appendTo"-parameter or similar to be able to attach it back to the
>>> search-field if needed?
>>>
>>> Thanks again.
>>>
>>> Johannes
>>>
>>> Den torsdagen den 30:e juni 2011 kl. 09:12:40 UTC+2 skrev Luke (Google
>>> Employee):
>>>>
>>>> This change was expected. Release notes will be coming out soon.
>>>>
>>>> -- Luke
>>>>
>>>>
>>>> On Thu, Jun 30, 2011 at 4:44 PM, Johannes Schill <[email protected]>wrote:
>>>>
>>>>> Does this mean the pac-container is supposed to be right before the
>>>>> closing body-tag in the future or was that change an expected one?
>>>>>
>>>>> Cheers
>>>>> Johannes
>>>>>
>>>>> Den torsdagen den 30:e juni 2011 kl. 00:42:38 UTC+2 skrev Luke (Google
>>>>> Employee):
>>>>>>
>>>>>> We are looking into the scroll issue.
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> -- Luke
>>>>>>
>>>>>>
>>>>>> On Thu, Jun 30, 2011 at 2:36 AM, Ross Allen <[email protected]> wrote:
>>>>>>
>>>>>>> Noticed this as well, and it started causing the problem I posted
>>>>>>> about yesterday: http://code.google.******
>>>>>>> com/apis/maps/documentation/**ja****vascript/forum.html?place=**topi
>>>>>>> ****c%2Fgoogle-maps-js-api-v3%**2Fqx****crhCMEEjo%2Fdiscussion<http://code.google.com/apis/maps/documentation/javascript/forum.html?place=topic%2Fgoogle-maps-js-api-v3%2FqxcrhCMEEjo%2Fdiscussion>
>>>>>>>
>>>>>>> Are you guys able to use the Autocomplete popup when the window's
>>>>>>> scrollY is greater than 0?
>>>>>>>
>>>>>>> --
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "Google Maps JavaScript API v3" group.
>>>>>>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/**ms****g/google-maps-js-api-v3/-/**EZ0-
>>>>>>> ****DyXGkgIJ<https://groups.google.com/d/msg/google-maps-js-api-v3/-/EZ0-DyXGkgIJ>
>>>>>>> .
>>>>>>>
>>>>>>> To post to this group, send email to [email protected]**.
>>>>>>> To unsubscribe from this group, send email to google-maps-js-a...@**
>>>>>>> googlegrou****ps.com.
>>>>>>> For more options, visit this group at http://groups.google.com/**
>>>>>>> group****/google-maps-js-api-v3?**hl=en<http://groups.google.com/group/google-maps-js-api-v3?hl=en>
>>>>>>> .
>>>>>>>
>>>>>>
>>>>>>  --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Google Maps JavaScript API v3" group.
>>>>> To view this discussion on the web visit https://groups.google.com/d/*
>>>>> *ms**g/google-maps-js-api-v3/-/**novi**jabp8J4J<https://groups.google.com/d/msg/google-maps-js-api-v3/-/novijabp8J4J>
>>>>> .
>>>>> To post to this group, send email to [email protected]**.
>>>>> To unsubscribe from this group, send email to google-maps-js-a...@**
>>>>> googlegrou**ps.com.
>>>>> For more options, visit this group at http://groups.google.com/**group
>>>>> **/google-maps-js-api-v3?**hl=en<http://groups.google.com/group/google-maps-js-api-v3?hl=en>
>>>>> .
>>>>>
>>>>
>>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Maps JavaScript API v3" group.
>>> To view this discussion on the web visit https://groups.google.com/d/**
>>> msg/google-maps-js-api-v3/-/**zia1EC89M-8J<https://groups.google.com/d/msg/google-maps-js-api-v3/-/zia1EC89M-8J>
>>> .
>>> To post to this group, send email to [email protected]**.
>>> To unsubscribe from this group, send email to google-maps-js-a...@**
>>> googlegroups.com.
>>> For more options, visit this group at http://groups.google.com/**
>>> group/google-maps-js-api-v3?**hl=en<http://groups.google.com/group/google-maps-js-api-v3?hl=en>
>>> .
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-maps-js-api-v3/-/gRuTWh5cW2wJ.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to