|
|
第1行: |
第1行: |
− | <html>
| |
− | <!-- ++Begin News Bar Wizard Generated Code++ -->
| |
− | <!--
| |
− | // Created with a Google AJAX Search Wizard
| |
− | // http://code.google.com/apis/ajaxsearch/wizards.html
| |
− | -->
| |
| | | |
− | <!--
| |
− | // The Following div element will end up holding the actual newsbar.
| |
− | // You can place this anywhere on your page.
| |
− | -->
| |
− | <div id="newsBar-bar-</html>{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}}<html>">
| |
− | <span style="color:#676767;font-size:11px;margin:10px;padding:4px;">载入中......</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?key=ABQIAAAAsec4RV8oAB2Dy0WfBAQeBRTMESNZnfEy0yiHpTUBSsIB22DJVhQj5pkQtCPttEKSsq0SH-jF_GCuOA&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 : true,
| |
− | resultStyle : GSnewsBar.RESULT_STYLE_COMPRESSED,
| |
− | linkTarget : GSearch.LINK_TARGET_BLANK,
| |
− | title : "</html>{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}}<html>资讯",
| |
− | horizontal : false,
| |
− | autoExecuteList : {
| |
− | executeList : ["</html>{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}}<html>"]
| |
− | }
| |
− | }
| |
− |
| |
− | newsBar = new GSnewsBar(document.getElementById("newsBar-bar-</html>{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}}<html>"), options);
| |
− | }
| |
− | // arrange for this function to be called during body.onload
| |
− | // event processing
| |
− | GSearch.setOnLoadCallback(LoadNewsBar);
| |
− | </script>
| |
− | <!-- ++End News Bar Wizard Generated Code++ -->
| |
− | </html>
| |