Solved

google search engine

Posted on 2014-04-12
3
390 Views
Last Modified: 2014-04-12
I did the google search engine. I put the code in my website and nothing shows up. Am I missing something? Thx

<table border="0" align=right cellspacing="0" cellpadding="0">
                            <tr><td height="64" align="right">
                            <script>
								  (function() {
									var cx = '000878072980869832694:nkwke8lfea8';
									var gcse = document.createElement('script');
									gcse.type = 'text/javascript';
									gcse.async = true;
									gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
										'//www.google.com/cse/cse.js?cx=' + cx;
									var s = document.getElementsByTagName('script')[0];
									s.parentNode.insertBefore(gcse, s);
								  })();
								</script>
								<gcse:searchbox>test</gcse:searchbox>
                            </td></tr>

Open in new window

0
Comment
Question by:leblanc
  • 2
3 Comments
 
LVL 34

Accepted Solution

by:
Dan Craciun earned 500 total points
ID: 39996858
It's search, not searchbox:
<gcse:search>test</gcse:search>

HTH,
Dan
0
 
LVL 1

Author Comment

by:leblanc
ID: 39996863
I copied the the code straight from my Google account. Anyway it is working. Thank you.
0
 
LVL 34

Expert Comment

by:Dan Craciun
ID: 39996866
Glad I could help!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question