D

Jquery + me2day 검색

<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에서 이동 됨]
댓글을 작성하시려면 로그인이 필요합니다.

팁게시판

6,077건

디자인과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
제목 글쓴이 날짜 조회
11-10-18 조회 630
11-10-15 조회 1,859
11-10-10 조회 912
11-10-02 조회 834
11-09-28 조회 710
11-09-24 조회 737
11-09-22 조회 663
11-09-05 조회 1,259
11-08-31 조회 640
11-08-31 조회 793
11-08-31 조회 771
11-08-29 조회 1,375
11-08-28 조회 849
11-08-25 조회 960
11-08-17 조회 660
11-08-16 조회 893
11-08-11 조회 1,327
11-08-07 조회 1,043
11-08-03 조회 851
11-07-22 조회 709
11-07-12 조회 1,660
11-06-27 조회 544
11-06-01 조회 311
11-05-17 조회 906
11-05-01 조회 1,170