Hi,

There are ways to do this with a bit of hackery but what may be the
best solution and provide the most flexibility for you would be to
just create your own controls using the JSONP aspects of the API.

http://code.google.com/apis/ajaxsearch/documentation/#fonje

If you need help with it I have done enough apps with it I can
probably help you out with what you need.


On Aug 7, 2:15 pm, George <[email protected]> wrote:
> Hi, thank you very much for the response.
> However, I think the roadblock, is how to have this same code be
> placed in the <body> of the document.
>
> I have a master page that calls various other included pages/blocks of
> HTML/etc.
> I want to have this google search code inside one of the includes, so
> it will be rendered in the body of the page.
> Is there anyway to still do this in this manner?
>
> Also, the search results area needs to be styled differently than the
> search form area, and overlay all of the other content on the page
> when it is shown. (Sorry for being so unclear the first post...)
> So, the search results area is hidden when the user first brings up
> the page.
> But when a search is conducted, I put the results in the search
> results area, and show it via javascript.
>
> If you look at my original code it does all of this, but it has the
> problem of not being able to hide and show the search results area
> until I'm ready.
>
> On Aug 7, 12:18 am, Vision Jinx <[email protected]> wrote:
>
> > Hi,
>
> > Try this
>
> >http://savedbythegoog.appspot.com/?id=ag5zYXZlZGJ5dGhlZ29vZ3ISCxIJU2F...
>
> > See if that does what you want.
>
> > Cheers!
> > Vision Jinx
>
> > On Aug 6, 2:56 pm, George <[email protected]> wrote:
>
> > > Okay, another newbie here. I just need a push in the right direction.
> > > I've searched the group and examples and documentation, but there's
> > > obviously still some holes in my understanding.
>
> > > What I want to do is this:
> > > - have a search box on the home page of our school's website
> > > - be able to style the search box and search button to match the
> > > already designed style
> > > - when the user enters data into the search box and clicks the
> > > "Search" button, have the results only search pages in our domain
>
> > > What I have done:
> > > - created a custom search for our domain
> > > - monkeyed around with the following 
> > > code...http://paste-it.net/public/e14f0fb/
>
> > > (I pasted it using the service suggested in the Posting Guidelines...)
>
> > > In the code, I'm trying to create the new search box, make sure the
> > > results are displayed in the 'searchResults' div (which is initially
> > > hidden in the stylesheet), and then have the searchResults div appear
> > > when a user conducts a search.
>
> > > I don't need the search to execute when the page is first loaded,
> > > because the search box just sits in the top right of all my pages. So,
> > > I need to keep the searchResults div hidden until someone actually
> > > executes a search.
>
> > > What appears to be happening is when the page is first loaded, the
> > > searchResults div is already visible, so I must need to break out the
> > > code a bit more.
>
> > > Couple more questions:
> > > 1) How do I NOT show the tabs view if I am using the Custom Search?
> > > (It displays one tab that is the name of my Custom Search Engine.)
>
> > > 2) How do I NOT get the results to open in new page? (The anchor tags
> > > have a target="_blank" on them.)
>
> > > Thank you for any and all insight!
> > > - George
--~--~---------~--~----~------------~-------~--~----~
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