Thursday, January 7, 2010

Re: Repositioning Google Logo, Terms of Use and Copyrights

Hi Andrew and thank you for your help.

It wasn't difficult to move the Google Logo, as it has a css class
associated to it.

#logocontrol{
LEFT: 0px !important;
BOTTOM: -35px !important;
}

The notices and terms I padded down using javascript on page
initialisation, so in simple effects, I am just moving it and keeping
it all tidy. I was also trying an alternative suggestion I found on
here that a Google employee once mentioned, which was to shrink the
copyright and terms text to a minimum. Other suggestions were to add a
white background, but then that would cover over the Google Logo when
guiding the map over certain countries due to the no-wrap styles
property on notices, or to chop off the copyright notices with
overflow:hidden, but I'm sure that violates it.

if(TUCText = document.getElementById('gmap').lastChild){
TUCText.previousSibling.style.fontSize = "xx-small";
//TUCText.previousSibling.style.backgroundColor =
"#FFFFFF";
//TUCText.previousSibling.style.bottom = '-35px';
TUCText.previousSibling.style.whiteSpace =
'normal';
}

Though I appreciate your suggestion, the boss wishes to have the map
container a specific size as to keep the page proportional with the
other components on page. The Google Logo being just clear of the map,
and not interfering with the other page components, would be perfect.
I would also like to suggest if it would be possible to change the
white-space property of the notice too so that it breaks (bottom
image) on overflow instead of spilling over (top image). It's not as
good as I had intended with it under the map, but at least it won't
effect other controls on the page! I've linked an example the problem
along with my suggestion.

http://google-maps-api.googlegroups.com/web/Google%20Map%20TUC%20wrapped.png?gsc=IVoE1AsAAAAD40lAJELuZkdI-s1sig-u

Let me know what you think :)

Cheers,

Shaun

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate