Not Solved [How To?] Install Google Search
Not Solved
Users are complaining about the basic search engine. I have created a custom search from CSE Google -

  (function() {
    var cx = '007038648298853744575:1rur5psgcxm';
    var gcse = document.createElement('script');
    gcse.type = 'text/javascript';
    gcse.async = true;
    gcse.src = '' + cx;
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(gcse, s);

can anyone advise on where to insert it?

Thanks in advance.
Not Solved
It's simple, you can add the script function in footer and add the
where ever you want it to appear(header is a good place).
Not Solved
Does the script need to be in its own div?
Not Solved
(2016-11-30, 03:53 PM)Roger R Wrote: Does the script need to be in its own div?

It depends on how you like the style. The div will allow you to add your own CSS to just that selector, or at least make it easier.
Software Engineer specializing in C# Program Development

Forum Jump:

Users browsing this thread: 1 Guest(s)