Does anyone know the code to insert into a standard AJAX Google News Bar code which would allow a user to input a name from which to have the News Bar search.
Currently, the News Bar code only searches out names entered as the "name" within the code itself entered by the programmer. Looking for a way to allow users to input a name from the News Bar itself.
EG- Input Box Displays News
Current coding is:
//-->where "keyword" can be any word
Would like to be able to allow the web page user to enter the keyword to search within the News Bar itself...
Thanks...
Currently, the News Bar code only searches out names entered as the "name" within the code itself entered by the programmer. Looking for a way to allow users to input a name from the News Bar itself.
EG- Input Box Displays News
Current coding is:
Code:
<script type="text/javascript">
function LoadNewsBar() {
var newsBar;
var options = {
largeResultSet : true,
title : "In the news",
horizontal : true,
linkTarget : GSearch.LINK_TARGET_BLANK,
autoExecuteList : {
executeList : ["keyword"]
}
}
newsBar = new GSnewsBar(document.getElementById("newsBar-bar"), options);
Would like to be able to allow the web page user to enter the keyword to search within the News Bar itself...
Thanks...
Comment