Showing
2 changed files
with
14 additions
and
4 deletions
... | @@ -240,7 +240,7 @@ function getAllToons() { | ... | @@ -240,7 +240,7 @@ function getAllToons() { |
240 | }); | 240 | }); |
241 | 241 | ||
242 | //네이버 웹툰 | 242 | //네이버 웹툰 |
243 | - var allWeeklyToonsUrl = "http://comic.naver.com/webtoon/weekday.nhn"; | 243 | + var allWeeklyToonsUrl = "http://comic.naver.com/webtoon/weekday.nhn?order=StarScore"; |
244 | request(allWeeklyToonsUrl,function (err, res, html) { | 244 | request(allWeeklyToonsUrl,function (err, res, html) { |
245 | if(!err){ | 245 | if(!err){ |
246 | var $ = cheerio.load(html); | 246 | var $ = cheerio.load(html); | ... | ... |
... | @@ -157,10 +157,19 @@ | ... | @@ -157,10 +157,19 @@ |
157 | <font size = 30> | 157 | <font size = 30> |
158 | 네이버 웹툰 | 158 | 네이버 웹툰 |
159 | </font> | 159 | </font> |
160 | - <a onclick="Naver_webtoons.style.display=(Naver_webtoons.style.display=='none')?'block':'none';" href="javascript:void(0)"> | 160 | + <a onclick="Naver_webtoons.style.display=(Naver_webtoons.style.display=='none') ?'block':'none';" href="javascript:void(0)"> |
161 | - <img src ='/images/navericon.png' width="83" height="90"/> | 161 | + <img src ='/images/navericon.png' width="83" height="90"/> |
162 | - </a> | 162 | + </a> |
163 | + | ||
163 | <div id="Naver_webtoons" style = "display:none"> | 164 | <div id="Naver_webtoons" style = "display:none"> |
165 | + <a onclick="Naver_webtoons.style.display=(Naver_webtoons.style.display=='none') "> | ||
166 | + <button>별점순</button> | ||
167 | + </a> | ||
168 | + | ||
169 | + <a onclick="Naver_webtoons.style.display=(Naver_webtoons.style.display=='none') "> | ||
170 | + <button>조회순</button> | ||
171 | + </a> | ||
172 | + | ||
164 | 173 | ||
165 | <table> | 174 | <table> |
166 | <% | 175 | <% |
... | @@ -198,6 +207,7 @@ | ... | @@ -198,6 +207,7 @@ |
198 | } | 207 | } |
199 | } | 208 | } |
200 | %> | 209 | %> |
210 | + | ||
201 | </tr> | 211 | </tr> |
202 | </table> | 212 | </table> |
203 | </br> | 213 | </br> | ... | ... |
-
Please register or login to post a comment