aym / google-ajax-apis

Automatically exported from code.google.com/p/google-ajax-apis
0 stars 0 forks source link

Google Brand does not appear in search form when using themes #448

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  google.load('search', '1', {style:google.loader.themes.GREENSKY});
2.  google.search.Search.getBranding(document.getElementById("branding"));
3.  <div id="branding">Loading...</div>

What is the expected output? What do you see instead?
The 'Powered by Google' icon should appear but it didn't.

What version of the product are you using? On what operating system?
I've tested in IE 8 and Firefox 3.6.3 on Windows 7 Professional. 

Please provide any additional information below.
When I removed the theme, i.e, google.load('search', '1'), the icon appeared. 

Original issue reported on code.google.com by smle...@gmail.com on 5 May 2010 at 6:27

GoogleCodeExporter commented 8 years ago
Depending on how the script and HTML are arranged on your page, the branding 
div may not exist when the call to document.getElementById is made. Could we 
see the site where you are experiencing this?

Original comment by jscud.w...@gmail.com on 28 Jul 2010 at 1:51

GoogleCodeExporter commented 8 years ago
I tested it using the example page on 
http://www.google.com/uds/samples/apidocs/branding.html. I downloaded the page 
and opened it on my browser. 

When I changed the google.load('search','1', 
{style:google.loader.themes.GREENSKY});
the branding doesn't show anymore. 

Original comment by smle...@gmail.com on 10 Aug 2010 at 10:38