php 함수검색 넣기

홈피에 php 함수검색을 넣을때 필요한 html/css입니다
php 커뮤니티등의 상단메뉴부분에 넣으시면됍니다
 
<style>
.php_search_div {padding:5px;border:0px;text-align:center;font-weight:bold;color:#FFFFFF;}
.php_search_div .php_search{ width:100px; height:20px; padding:4px 4px 0 4px; background-color:#6f6f6f; color:#ffffff; border:0px;}
.php_search_div .btn{ background:url(./images/btn_search.gif) no-repeat; width:40px; height:20px; text-indent: -100em; overflow:hidden; border:0px; cursor:pointer;}
</style>
 
        <!-- PHP함수검색 -->
            <div id="php_search_div" class="php_search_div">
                <script>
                    function Go_php_search() {

                        var obj = document.getElementById('php_search');

                        if(obj.value=="검색어를 입력하세요" || !obj.value) {
                            alert("검색어를 넣어주세요.");
                            obj.value="";
                            obj.focus();
                            return;
                        }

                        window.open("http://www.php.net/search.php?show=quickref&pattern="+obj.value,"_blank")
                    }
                </script>
                <img src="./images/s_php.gif" border="0"><!-- 타이틀부분 , 이미지로 하던 글로쓰던 맘대로   -->
                                <div style="width:155px;padding:5px;text-align:center;">
                <input type="text" name="php_search" id="php_search" value=""  onkeypress="if (event.keyCode == 13) { try{Go_php_search(); return false;}catch(e){} }" class="php_search"/> <input value="검색" type="button" onclick="try{Go_php_search(); return false;}catch(e){}" class="btn"/></div>
            </div>
      
이상입니다
|

댓글 2개

용도는 무엇인지요?
http://www.php.net/search.php?show=quickref&pattern="+obj.value,"_blank"

이게 답인듯 한데요
작업하다 보면 아무래도 필요할 때가 있을듯 합니다
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
14년 전 조회 3,418
14년 전 조회 529
14년 전 조회 861
14년 전 조회 1,159
14년 전 조회 1,155
14년 전 조회 647
14년 전 조회 1,253
14년 전 조회 727
14년 전 조회 619
14년 전 조회 2,275
14년 전 조회 973
14년 전 조회 601
14년 전 조회 598
14년 전 조회 1,624
14년 전 조회 774
14년 전 조회 1,183
14년 전 조회 1,165
14년 전 조회 1,777
14년 전 조회 1,851
14년 전 조회 1,127
14년 전 조회 791
14년 전 조회 724
14년 전 조회 969
14년 전 조회 1,125
14년 전 조회 2,536
14년 전 조회 596
14년 전 조회 915
14년 전 조회 1,073
14년 전 조회 1,446
14년 전 조회 640
14년 전 조회 547
14년 전 조회 1,260
14년 전 조회 1,605
14년 전 조회 1,675
14년 전 조회 847
14년 전 조회 659
14년 전 조회 1,817
14년 전 조회 882
14년 전 조회 1,259
14년 전 조회 707
14년 전 조회 769
14년 전 조회 756
14년 전 조회 847
14년 전 조회 4,649
14년 전 조회 765
14년 전 조회 878
14년 전 조회 1,535
14년 전 조회 703
14년 전 조회 494
14년 전 조회 873
14년 전 조회 2,146
14년 전 조회 1,611
14년 전 조회 1,432
14년 전 조회 2,857
14년 전 조회 1,974
14년 전 조회 931
14년 전 조회 1,002
14년 전 조회 949
14년 전 조회 1,054
14년 전 조회 540
14년 전 조회 851
14년 전 조회 998
14년 전 조회 2,546
14년 전 조회 863
14년 전 조회 596
14년 전 조회 614
14년 전 조회 2,961
14년 전 조회 746
14년 전 조회 1,463
14년 전 조회 1,464
14년 전 조회 658
14년 전 조회 1,376
14년 전 조회 771
14년 전 조회 881
14년 전 조회 1,843
14년 전 조회 1,549
14년 전 조회 2,155
14년 전 조회 885
14년 전 조회 767
14년 전 조회 2,156
14년 전 조회 783
14년 전 조회 890
14년 전 조회 2,007
14년 전 조회 1,017
14년 전 조회 927
14년 전 조회 672
14년 전 조회 921
14년 전 조회 1,937
14년 전 조회 503
14년 전 조회 2,459
14년 전 조회 834
14년 전 조회 539
14년 전 조회 538
14년 전 조회 806
14년 전 조회 714
14년 전 조회 609
14년 전 조회 1,096
14년 전 조회 534
14년 전 조회 1,213
14년 전 조회 1,578
🐛 버그신고