How to make search results appear in new tab instead in the same page with custom google search engine?

Simply add target='_blank' as shown below:



<!-- Google custom search box Start -->
<div class='cse' style='color:#000000;float:right;margin:-2px 2px 2px 2px ;'>
<form action='http://www.google.com/cse' id='cse-search-box' target='_blank'>
<input name='cx' type='hidden' value='015439459623024823530:mivr08rhiag'/>
<input name='q' size='20' type='text'/>
<input name='ie' type='hidden' value='ISO-8859-1'/>
<input name='sa' type='submit' value='Search'/>
</form>
<script src='http://www.google.com/cse/brand?form=cse-search-box&amp;lang=en' type='text/javascript'/>
</div>
<!-- Google custom search box End -->

The above code is for custom google search box which can be put in menu/navigation bar in blogger.

You can read further on 'How to make navigation/menu bar in Blogger?' here.

     


No comments:

Post a Comment

So, What have you to say after reading this blog? Was it helpful? Do you have any suggestions? Do you need more clarification/s on any topic/s other than this? Please leave me a message.