function keyhandler(clubno) { if (event.keycode == '13') { search(clubno); } } function search() { var form = document.searchform; if (form.query.value == ""){ alert("검색어를 입력하십시오."); form.query.focus(); return ; } //window.open("http://search.paran.com/pcafe/list_paran_clubbbs.php?query="+form.query.value+"&p_eye=club^ccl^cna^clu^seaall","new"); var query = form.query.value; form.query.value = replaceall(query,"\"","\'"); //window.open("http://club.paran.com/main/clubsearch.do?p_eye=club^ccl^cna^clu^seaall3&query="+form.query.value+"&searchfield=all&sort=all&order=all&page=","new"); form_popup("http://club.paran.com/main/clubsearch_new.do?p_eye=club^ccl^cna^clu^seaall3&query="+form.query.value+"&searchfield=bbs&sort=date&order=all&page=","bbsview_search",""); return; } function replaceall(str, strval1, strval2) { var st_len = 0; var end_len; var result=""; var new_str = str; while(true) { end_len = new_str.indexof(strval1); if(end_len > -1) { result += new_str.substring(st_len, end_len+1).replace(strval1, strval2); new_str = new_str.substring(end_len+1); } else { result += new_str; break; } } return result; }
function scrapfloat(){ if(document.getelementbyid('pop_scrap').style.display == 'inline'){ document.all.pop_scrap.style.display = "none"; }else{ document.all.pop_scrap.style.display = "inline"; } } function on_layer() { if ( navigator.appname == "netscape" ){ document.getelementbyid('pop_scrap_in').style.visibility="visible"; } else { document.all.pop_scrap.style.display = "inline"; } } function off_layer() { if ( navigator.appname == "netscape" ){ document.getelementbyid('pop_scrap_in').style.visibility="hidden"; } else { document.all.pop_scrap.style.display = "none"; } } function close_scrap(){ document.all.pop_scrap.style.display = "none"; } function blog_scrap(url,surl){ form_popup(url+escape(surl),'blogscrap','width=500, height=400'); } function club_scrap(url,surl){ form_popup(url+escape(surl),'clubscrap','width=500, height=400'); } function login(){ if(confirm('로그인 하셔야 스크랩이 가능합니다. 로그인 하시겠습니까?')){ var re_url = "http://club.paran.com/club/home.do?clubid=senior-bbsview.do?clubno=128136-menuno=128153-bbs_no=0lqso"; parent.location.href="http://main.paran.com/paran/index.jsp?wbsurl="+re_url; } }
function keyhandler(clubno) { if (event.keycode == '13') { search(clubno); } } function search() { var form = document.searchform; if (form.query.value == ""){ alert("검색어를 입력하십시오."); form.query.focus(); return ; } //window.open("http://search.paran.com/pcafe/list_paran_clubbbs.php?query="+form.query.value+"&p_eye=club^ccl^cna^clu^seaall","new"); var query = form.query.value; form.query.value = replaceall(query,"\"","\'"); //window.open("http://club.paran.com/main/clubsearch.do?p_eye=club^ccl^cna^clu^seaall3&query="+form.query.value+"&searchfield=all&sort=all&order=all&page=","new"); form_popup("http://club.paran.com/main/clubsearch_new.do?p_eye=club^ccl^cna^clu^seaall3&query="+form.query.value+"&searchfield=bbs&sort=date&order=all&page=","bbsview_search",""); return; } function replaceall(str, strval1, strval2) { var st_len = 0; var end_len; var result=""; var new_str = str; while(true) { end_len = new_str.indexof(strval1); if(end_len > -1) { result += new_str.substring(st_len, end_len+1).replace(strval1, strval2); new_str = new_str.substring(end_len+1); } else { result += new_str; break; } } return result; }
'◎ 좋은글과그림 > 좋은 그림' 카테고리의 다른 글
[스크랩] 봄 풍경 (0) | 2012.04.14 |
---|---|
[스크랩] [경북 안동여행] 한국의 전통마을 최고 안동하회마을 (0) | 2012.03.02 |
[스크랩] 외암민속마을 (0) | 2012.02.05 |
[스크랩] 왕궁구경 (0) | 2012.02.03 |
[스크랩] 앙코르 톰 (0) | 2012.01.31 |