Clicks Installed, works great but i did take the liberty of modding the mod a little. Can't take credit for your idea, but here's a little twist I used on our site by combining two mods:
Embed a news bar on your NavBar and let your users see headlines and previews of Google News Search results that you've selected.
Step 1: in your navbar template find the first instance of:
Code:
<td class="alt1" width="100%">
Step 2: insert the following after:
<!-- ++Start News Bar Code++ -->
<div id="newsBar-bar">
<span style="color:#676767;font-size:11px;margin:10px;padding:4px;">Loading...</span>
</div>
<!-- Ajax Search Api and Stylesheet
// Note: If you are already using the AJAX Search API, then do not include it
// or its stylesheet again
-->
<script src="http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-nbw"
type="text/javascript"></script>
<style type="text/css">
@import url("http://www.google.com/uds/css/gsearch.css");
</style>
<!-- News Bar Code and Stylesheet -->
<script type="text/javascript">
window._uds_nbw_donotrepair = true;
</script>
<script src="http://www.google.com/uds/solutions/newsbar/gsnewsbar.js?mode=new"
type="text/javascript"></script>
<style type="text/css">
@import url("http://www.google.com/uds/solutions/newsbar/gsnewsbar.css");
</style>
<script type="text/javascript">
function LoadNewsBar() {
var newsBar;
var options = {
largeResultSet : false,
title : "In the news",
horizontal : true,
autoExecuteList : {
executeList : ["
Your Industry News"]
}
}
newsBar = new GSnewsBar(document.getElementById("newsBar-bar"), options);
}
// arrange for this function to be called during body.onload
// event processing
GSearch.setOnLoadCallback(LoadNewsBar);
</script>
<!-- ++End News Bar Code++ -->
Step 3: make sure to change the red "Your Industry News" to what ever your industry or interest is.
Step 4: click save.
DEMO
So thanks for the great mod.