Hi, Try this
http://savedbythegoog.appspot.com/?id=ag5zYXZlZGJ5dGhlZ29vZ3ISCxIJU2F2ZWRDb2RlGNX0xgEM 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 -~----------~----~----~----~------~----~------~--~---
