⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 searchcount.js

📁 关于QT的国际化,帮助不同国家人员之间的交流
💻 JS
字号:
var globalQuery;/* * Find out if there are any search results for the given query */function searchQuery(query) { globalQuery = query;            var req = newXMLHttpRequest(); if (req) {   req.onreadystatechange = getReadyStateHandler(req, processSearchResults);   req.open("GET", "http://www-128.ibm.com/developerworks/search/SearchRouter.jsp?query=" + query, true);   req.send(""); }}/* * If there are results, print the <table> html */function processSearchResults(result) {   var contents = document.getElementById("contents");    if (result != null && result > 0 && contents != null) {       var displayQuery = globalQuery;      displayQuery = displayQuery.replace(/\+/g, " ");      displayQuery = unescape(displayQuery);      contents.innerHTML = "<table width=\"75%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tr valign=\"top\"><td bgcolor=\"#f6f6f6\" width=\"16\"><img src=\"//www.ibm.com/i/v14/icons/fw_bold.gif\" height=\"16\" width=\"16\" border=\"0\" vspace=\"3\" alt=\"\" /></td><td align=\"left\" bgcolor=\"#f6f6f6\" width=\"*\"><p><a class=\"fbox\" width=\"70%\" href=\"http://www.ibm.com/developerworks/search/searchResults.jsp?source=google&searchType=1&searchSite=dW&searchScope=dW&query="+globalQuery+"\">More dW content related to: <b>"+displayQuery+"</b></a></p></td><td bgcolor=\"#f6f6f6\" width=\"3\"><img src=\"//www.ibm.com/i/c.gif\" height=\"1\" width=\"3\" border=\"0\" alt=\"\" /></td></tr></table>";   }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -