Hey Charles --
Do you have a link to the page you are doing this on?  It would help me help
you :)

Since you are trying to move the search box higher on your page, is there a
reason why moving the HTML/JS code for it higher on the page won't work?  Or
maybe some CSS rules?

-Ben

On Mon, Sep 8, 2008 at 7:43 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> wrote:

>
> OK, I've just put the Google custom search on my page, using the
> overlay option.  Everything is working fine, but I want the overlay
> box to load higher up on the page.  I've looked around, and everything
> I can find looks completely different than the code I got from the
> custom search code generator.
>
> I'm more than willing to RTFM.  I just can't figure out where to find
> out how to get from the basic setup I've got, to the more advanced
> stuff that's in the examples.  Any help would be greatly appreciated.
>
> Thanks,
> --Charles...
>
>
> Here is the code it gave me:
>
> [code]
> <form action="" id="searchbox_017192992179336116846:xrzwalhauby"
> onsubmit="return false;">
>                          <div>
>                            <input type="text" name="q" size="20"/>
>                            <input type="submit" value="Search"/>
>                          </div>
>                        </form>
>                        <script type="text/javascript" src="
> http://www.google.com/coop/cse/
> brand?form=searchbox_017192992179336116846%3Axrzwalhauby&lang=en<http://www.google.com/coop/cse/brand?form=searchbox_017192992179336116846%3Axrzwalhauby&lang=en>
> "></
> script>
>
>                        <div id="results_017192992179336116846:xrzwalhauby"
> style="display:none">
>                          <div class="cse-closeResults">
>                            <a>&times; Close</a>
>                          </div>
>                          <div class="cse-resultsContainer" ></div>
>                        </div>
>
>                        <style type="text/css">
>                        @import url(
> http://www.google.com/cse/api/overlay.css);
>                        </style>
>
>                        <script src="http://www.google.com/uds/api?
>
> file=uds.js&v=1.0&key=ABQIAAAA12OZwTImSVWVHplooqZxSRShOhQBGbQPOR1YJo56D6wCuGoGMxSo1BMIQWNQ2zvZmTxBuFDEvcKRRQ&hl=en<http://www.google.com/uds/api?file=uds.js&v=1.0&key=ABQIAAAA12OZwTImSVWVHplooqZxSRShOhQBGbQPOR1YJo56D6wCuGoGMxSo1BMIQWNQ2zvZmTxBuFDEvcKRRQ&hl=en>
> "
> type="text/javascript"></script>
>                        <script src="
> http://www.google.com/cse/api/overlay.js"; type="text/
> javascript"></script>
>                        <script type="text/javascript">
>                        function OnLoad() {
>                          new
> CSEOverlay("017192992179336116846:xrzwalhauby",
>
> document.getElementById("searchbox_017192992179336116846:xrzwalhauby"),
>
> document.getElementById("results_017192992179336116846:xrzwalhauby"));
>                        }
>                        GSearch.setOnLoadCallback(OnLoad);
>                        </script>';
> [/code]
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX API" group.
To post to this group, send email to Google-AJAX-Search-API@googlegroups.com
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