已采纳回答 / Edge2J
top:$('#search-form').offset().top+$('#search-form')+10,left:$('search-form').offset(),根据你的代码,选择器错了,$('#search-input'),少了.left,应该是left:$('#search-input').offset().left,
2017-06-23
最新回答 / Granzon
<!doctype html><html><head><meta charset="utf-8"><title>测试</title><link href="测试.css" rel="stylesheet" type="text/css"></head><body> <div class="search-container"> <div id="search_tab" cl...
2017-06-16
我决定当一次雷锋,老师的源代码好像不太完整。我写完放在github上了:https://github.com/hellojeana/bing-search-page/tree/master
希望大家也可以给我点点STAR~~嘻嘻
希望大家也可以给我点点STAR~~嘻嘻
2017-06-04
最赞回答 / 慕丝4684016
$.ajax({ type:'get', async:true, url:"http://api.bing.com/qsonhs.aspx?type=cb&q="+searchText, dataType:"jsonp", jsonp:'cb', jsonpCallBack:'callback', success:function (d) { var d=d.AS...
2017-05-31