Well, I think the problem is found in the way that you're using google.load. 
Namely, you've got it inside a function that you want to call after the onload 
event fires. This is perfectly acceptable, but to use it this way, you want to 
include the callback parameter, as below.

google.load('search','1',{callback:myCallback});

If you choose to use it this way, you'll also need to move the rest of the 
OnLoad function into a function called myCallback. Alternatively, you can 
simply move the google.load call outside of the OnLoad function.

Of course, however you choose to use the google.load call, you'll need to 
uncomment the google.setOnLoadCallback line as well.

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
[email protected]

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

On Jul 5, 2010, at 2:06 PM, Ciber wrote:

> Hello!
> 
> I work for a non-profit organization and am having a bit of trouble
> getting the site search to work.
> 
> I get the error:
> [The HTML that caused this error was generated by a script.] Unmatched
> </link> encountered.  Ignoring tag.
> 
> I read up on it online, and apparently if you use the nocss option,
> then the error does go away, but the entire page goes blank. Not sure
> why.
> 
> I was wondering if anyone else had found a solution for it?
> 
> Here's the site incase you'd like to reproduce the error:
> http://www.mccombs.utexas.edu/research/CIBER/summer/
> 
> Once loaded, open the console screen and run:
> 
> google.load('search','1')
> 
> OR
> 
> google.load('search','1',{nocss:1})
> 
> In Chrome or Firefox.
> 
> -ciber
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google AJAX APIs" 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-ajax-search-api?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" 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-ajax-search-api?hl=en.

Reply via email to