D

Jquery + me2day 검색

· 2011-08-22 (월) 12:45:40 · 2451
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="history" content="">
<meta name="author" content="[email protected]">
<link rel="stylesheet" type="text/css" href="/inc/css/global.css" media="screen" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.2.min.js"></script>
<title>미투데이 검색</title>
<style type="text/css">
 .module-twitterList {padding:10px; overflow:hidden; *zoom:1; background:#fff; overflow-y:auto;}
 .module-twitterList li {position:relative; width:100%; float:left; margin-bottom:10px; padding-bottom:10px; min-height:50px;_height:50px; border-bottom:1px dashed #dedede;}
 .module-twitterList li.last {border-bottom:none; padding-bottom:0; margin-bottom:0;}
 .module-twitterList .thum {position:absolute; top:0; left:0; width:50px; height:50px; overflow:hidden;}
 .module-twitterList .thum img {border:1px solid #ccc; width:48px; height:48px;}
 .module-twitterList p {padding:0 0 0 60px; color:#555; line-height:130%;}
 .module-twitterList p a {color:#888; line-height:130%;}
 .module-twitterList .userId {color:#555; font-weight:bold;}
 .module-twitterList .time {font-size:11px; color:#999;}
</style>
<script type="text/javascript">
<!--
function search_me2day(query){
 var html;
 var keyword= encodeURIComponent(query);
 $.getJSON("http://me2day.net/search.json?callback=?&query="+keyword+"&count=50",
 function(data) {
  $.each(data,
  function(i,item){  
   html ='<li>';
   html +=' <div class="thum">';
   html +=' <a href="#"><img src="'+item.author.face+'" alt="" /></a>';
   html +='</div>';
   html +='<p>';
   html +=' <a href="'+item.author.me2dayHome+'" class="userId">'+item.author.nickname+'</a> '+item.body+' ';
   html +=' <a href="#">'+item.author.me2dayHome+'</a> ';
   html +=' <br /><span class="time">'+item.pubDate+'</span>';
   html +='</p>';
   html +='</li>';
   $("#resultme").append(html);
  }); 
 });
} 
//-->
</script>
</head>
<body>
<div id="tabCon02" style="width:600px;padding:10px;border:#cccccc 1px solid;">
 <div class="module-twitterList" style="height:300px;"><ul id="resultme"></ul></div>
</div>
</body>
</html>
<script type="text/javascript">
<!--
 search_me2day('박정현');
//-->
</script>
 
근데 활동 지수 어떻게 하면 올라가는 거죠?
[이 게시물은 관리자님에 의해 2011-10-31 16:55:28 jQuery에서 이동 됨]
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
11-08-25 조회 3,648
11-08-25 조회 2,847
11-08-25 조회 2,530
11-08-24 조회 2,431
11-08-24 조회 3,069
11-08-24 조회 4,382
11-08-23 조회 2,454
11-08-23 조회 4,296
11-08-23 조회 3,440
11-08-23 조회 2,521
11-08-23 조회 2,753
11-08-23 조회 2,669
11-08-23 조회 2,789
11-08-23 조회 2,246
11-08-23 조회 2,386
11-08-23 조회 2,556
11-08-23 조회 2,972
11-08-23 조회 2,559
11-08-22 조회 2,998
11-08-22 조회 2,714
11-08-22 조회 2,861
11-08-22 조회 2,452
11-08-22 조회 2,731
11-08-21 조회 2,659
11-08-21 조회 2,583
11-08-20 조회 2,488
11-08-20 조회 2,854
11-08-20 조회 3,272
11-08-19 조회 2,687
11-08-19 조회 2,474
11-08-19 조회 5,008
11-08-19 조회 2,618
11-08-19 조회 2,474
11-08-19 조회 3,749
11-08-19 조회 3,200
11-08-18 조회 3,680
11-08-18 조회 2,216
11-08-18 조회 2,447
11-08-18 조회 2,278
11-08-18 조회 2,122
11-08-18 조회 2,249
11-08-18 조회 2,380
11-08-17 조회 3,160
11-08-17 조회 2,551
11-08-17 조회 2,698
11-08-17 조회 2,244
11-08-17 조회 2,657
11-08-17 조회 3,369
11-08-17 조회 2,786
11-08-16 조회 3,025
11-08-16 조회 2,529
11-08-16 조회 2,619
11-08-16 조회 2,482
11-08-16 조회 2,818
11-08-16 조회 2,614
11-08-16 조회 2,033
11-08-16 조회 2,186
11-08-16 조회 2,239
11-08-16 조회 2,587
11-08-16 조회 2,475
11-08-16 조회 2,479
11-08-15 조회 2,436
11-08-15 조회 2,949
11-08-13 조회 2,566
11-08-13 조회 2,621
11-08-13 조회 2,511
11-08-12 조회 2,302
11-08-12 조회 3,439
11-08-12 조회 3,217
11-08-12 조회 2,661
11-08-12 조회 2,450
11-08-11 조회 3,637
11-08-11 조회 2,933
11-08-11 조회 2,893
11-08-11 조회 2,422
11-08-10 조회 3,196
11-08-10 조회 5,412
11-08-10 조회 4,111
11-08-09 조회 2,689
11-08-09 조회 2,302
11-08-09 조회 2,382
11-08-09 조회 3,008
11-08-09 조회 2,655
11-08-09 조회 2,946
11-08-08 조회 3,044
11-08-08 조회 3,088
11-08-08 조회 2,177
11-08-08 조회 2,457
11-08-08 조회 4,359
11-08-08 조회 2,378
11-08-08 조회 2,911
11-08-08 조회 2,454
11-08-08 조회 2,258
11-08-08 조회 3,039
11-08-08 조회 2,289
11-08-07 조회 3,084
11-08-07 조회 2,644
11-08-06 조회 3,249
11-08-06 조회 3,244
11-08-06 조회 2,813