Need help with Google Site Search

Knowledge: Java, C++

I am attempting to add a search bar to my site that will search the entire site (not just one page). I was having trouble finding tutorials to code this myself and I have no knowledge of javascript or HTML. I went with the google custom site search and the actual code works just fine I just have a separate issue. I added the code to an HTML item but when I search, the search only shows up in the little window I have allowed for it. Is there any way to have this open as a new page, or at the very least, in a new tab? The only fix I have is to spread the box across the entire page but then I can’t use the links so that really isn’t a fix. Should I give up on this and just focus on making my own or try working this code into the page code?

UPDATE: In the CSE ‘look and feel’ settings, I was able to set it to set it to open in a new page or in the window. However, if it is set to open in the same page the search box just disappears after being used. Is opening in a new tab the best I can get it or could I circumvent that somehow?

Code:

gcse:searchbox-only</gcse:searchbox-only>

As you can see by my tabs, this has been a lot of fun :')

Hi,
There is lightbox feature. Check it out:

Roi.

Thanks for the reply roi.

Im not sure the lightbox feature could help with what i need. I would have to create an event when i use the html element that would open the new window in a light box. I don’t know if that is possible or even worth it.

Rob