• 웹 프론트엔드 JS 튜토리얼 자바스크립트 인쇄 백과사전(인쇄 페이지 설정/인쇄 미리보기 코드)_javascript 기술

    자바스크립트 인쇄 백과사전(인쇄 페이지 설정/인쇄 미리보기 코드)_javascript 기술

    May 16, 2016 pm 05:39 PM
    인쇄 페이지 설정 시사

    코드 복사 코드는 다음과 같습니다.

    <HTML><HEAD><TITLE> javascript 인쇄- 인쇄 페이지 설정 - 인쇄 미리보기 코드</TITLE>
    <META http-equiv=Content-Type content="text/html; charset=gb2312" />
    <SCRIPT 언어=javascript> ;
    Function printsetup(){
    // 인쇄 페이지 설정
    wb.execwb(8,1)
    }
    function printpreview(){
    // 인쇄 페이지 미리보기
    wb.execwb(7,1);
     }
     function printit()
     {
     if (confirm('인쇄하시겠습니까?')) {
     wb .execwb(6,6 )
     }
     }
     </SCRIPT>
    </HEAD>
    <DIV align=center> ><OBJECT id= wb height=0 width=0
    classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 name=wb></OBJECT>
    <INPUT onclick=javascript:printit( ) type=button value= 인쇄 이름=button_print />
    <INPUT onclick=javascript:printsetup() type=button value=인쇄 페이지 설정 이름=button_setup />
    <INPUT onclick=javascript :printpreview(); 유형 =버튼 값=인쇄 미리보기 이름=button_show />
    </BODY>

    >
    javascript 인쇄 백과사전

    (1)


    코드 복사
    코드는 다음과 같습니다. < script.defer> function SetPrintSettings() { // -- 고급 기능
    Factory.printing.SetMarginMeasure(2) // 여백을 인치 단위로 측정
    Factory.SetPageRange(false, 1, 3 ) // 1부터 3까지의 페이지가 필요합니다.
    Factory.printing.printer = "HP DeskJet 870C"
    Factory.printing.copies = 2
    Factory.printing.collate = true
    Factory.printing.paperSize = "A4"
    Factory.printing.paperSource = "수동 공급"
    // -- 기본 기능
    Factory.printing.header = "MeadCo입니다."
    Factory.printing.footer = "ScriptX를 통한 고급 인쇄"
    Factory.printing.portrait = false
    Factory.printing.leftMargin = 1.0
    Factory.printing.topMargin = 1.0
    공장. Printing.rightMargin = 1.0
    공장 .printing.bottomMargin = 1.0
    }
    </script>


    (2)



    코드 복사
    코드는 다음과 같습니다. <script.언어="javascript">  function printsetup(){  //인쇄 페이지 설정
     wb.execwb(8,1)
     }
    함수 printpreview(){
    // 인쇄 페이지 미리보기
    wb.execwb(7,1) ;
    }
    function printit()
     {
     if (confirm('인쇄하시겠습니까? ')) {
    wb.execwb(6,6)
     }
     }
     </script>
    </head>
    <body> ;OBJECT classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"
    height=0 id=wb name=wb width=0></OBJECT>
    <input type=button name=button_print; value="인쇄"
    onclick="javascript.:printit()">
    <input type=button name=button_setup value="페이지 설정 인쇄"
    onclick="javascript.:printsetup( );">
    <input type=button name=button_show value="인쇄 미리보기"
    onclick="javascript.:printpreview();">
    <input type=버튼 이름= Button_fh value="닫기"
    onclick="javascript.:window.close();">


    -- ------------------

    이 구성요소는 아래에 나열된 다른 용도로 사용됩니다
    :
    WebBrowser.ExecWB(1,1) 열기
    Web.ExecWB(2,1) 현재 IE 창을 모두 닫고 새 창 열기
    Web.ExecWB(4,1) 웹페이지 저장
    Web.ExecWB(6,1) 인쇄Web.ExecWB(7,1) 인쇄 미리보기Web.ExecWB(8,1) 인쇄 페이지 설정
    Web.ExecWB(10,1) 보기 페이지 속성
    Web.ExecWB(15,1) 폐기된 것으로 보이며 확인이 필요합니다
    Web.ExecWB(17,1) 모두 선택
    Web.ExecWB(22,1) 새로 고침
    Web.ExecWB(45,1) 자동으로 양식 닫기

    2. 페이지 단위로 인쇄




    코드 복사
    코드는 다음과 같습니다.

    <HTML>
    <STYLE>
    <BODY> 🎜><P><%=rs(0)%></P>
    <%rs.movenext%>
    <%wend%> BODY>
    </HTML>



    3. ASP 페이지 인쇄 시 페이지 하단의 경로와 상단의 페이지 번호를 제거하는 방법

    (1) IE 파일 -> 페이지 설정 -> 머리글과 바닥글을 제거하면 인쇄되지 않습니다.
    (2)

    코드 복사


    코드는 다음과 같습니다.
    <HTML> ; </a><META.NAME="EditPlus"> "작성자" CONTENT="YC"> </a></span></div>dim hkey_root,hkey_path,hkey_key <div class="codebody" id="code59415">hkey_root="HKEY_CURRENT_USER" <br>hkey_path="SoftwareMicrosoftInternet ExplorerPageSetup" <br> '//웹 페이지 인쇄의 머리글과 바닥글을 비워두도록 설정<br>function pagesetup_null() <br> 오류 발생 시 다음 재개 <br> Set RegWsh = CreateObject("WScript.Shell") <br>hkey_key ="header" 🎜> RegWsh.RegWrite hkey_root hkey_path hkey_key,"" <br> hkey_key="footer" <br> RegWsh.RegWrite hkey_root hkey_path hkey_key,"" <br>end function <br>'//헤더 설정 및 웹 페이지 인쇄용 바닥글 기본값 <br> 함수 pagesetup_default() <br> 오류 발생 시 다음 재개 <br> Set RegWsh = CreateObject("WScript.Shell") <br> hkey_key="header" <br> RegWsh. RegWrite hkey_root hkey_path hkey_key," &w&bpage number,&p/&P" <br> hkey_key="footer" <br> RegWsh.RegWrite hkey_root hkey_path hkey_key,"&u&b&d" <br>end function <br></script> <br> <br><br> <br><br> ><br/> ; <BR><br/><p align=center> <br><input type="button" value="페이지 번호 지우기" nclick=pagesetup_null()> input type="button" value ="페이지를 복원하시겠습니까?" nclick=pagesetup_default()><br/> <br></BODY> <br><br> <br><br>4. 플로팅 프레임 인쇄<br> <br><br><br><br><br>코드 복사<br><br><br> 코드는 다음과 같습니다. 다음:<br><br> <br><SCRIPT.LANGUAGE=javascript> </div>function button1_onclick() { <br> var doc=window.iframe1.document <strong> var r=odoc.body.createTextRange; (); </strong> var stxt=r .htmlText; <br> 경고(stxt) <div class="codetitle"> var pwin=window.open("","print") <span> pwin.document.write(stxt); <a style="CURSOR: pointer" data="41661" class="copybut" id="copybut41661" onclick="doCopy('code41661')"> pwin.print(); <u>} </u></SCRIPT> </a></span> </div> <div class="codebody" id="code41661">5. FileSystem 구성 요소를 사용하여 웹 애플리케이션에서 로컬 특정 인쇄 구현 <br> <br><br><br><br><br>코드 복사<br><br><br> 코드는 다음과 같습니다.<br><br> <br><script.</div>function print_onclick //인쇄 함수<BR>dim label <STRONG>label=document.printinfo.label.value //HTML 페이지의 데이터 가져오기</STRONG>set bjfs=CreateObject("Scripting.FileSystemObject") //만들기 FileSystem 구성 요소 개체의 인스턴스<BR>set bjprinter=objfs.CreateTextFile ( "LPT1:",true) //프린터와의 연결 설정<div class="codetitle">objprinter.Writeline("______________") //인쇄된 내용 출력<span>objprinter.Writeline("| |") <a style="CURSOR: pointer" data="68364" class="copybut" id="copybut68364" onclick="doCopy('code68364')">objprinter.Writeline( "| 인쇄하는 데이터는: "&label& " |") <U>objprinter.Writeline("| |") </U>objprinter.Writeline ("|_________________|") </a>objprinter.close //프린터 연결 끊기</span>set bjprinter=nothing </div>set bjfs=nothing // FileSystem 구성 요소 개체 닫기<div class="codebody" id="code68364">end function <BR>< /script> <br><br> <br><br>서버측 스크립트 <br>: <br><br><br><br><br> 코드 복사 <br><br><br> <br><br> <br><%………</div>set conn=server.CreateObject ("adodb.connection") <BR>conn.Open "DSN=name;UID=XXXX; PWD=XXXX;" <STRONG>set rs=server.CreateObject("adodb.recordset" ) </STRONG>rs.Open(“select…”),conn,1,1 <BR>………….%> //데이터베이스와 상호작용 <div class="codetitle"><span><br><strong>HTML 페이지 인코딩</strong>: <br><div class="codetitle"> <span><a style="CURSOR: pointer" data="55142" class="copybut" id="copybut55142" onclick="doCopy('code55142')"><u>코드 복사</u></a></span> 코드는 다음과 같습니다.</div> <div class="codebody" id="code55142"> <br><HTML> <br>………… <br><FORM.ID=printinfo NAME="printinfo" > " id= print name=print > //인쇄 함수 호출<br><INPUT type=hidden id=text1 name=label value=<%=………%>> //전송된 데이터를 저장 서버에서<br>………… <br></HTML> <br><br> </div></span></div> </div></span> </div> </div> </div> <div class="wzconShengming_sp"> <div class="bzsmdiv_sp">본 웹사이트의 성명</div> <div>본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.</div> </div> </div> <ins class="adsbygoogle" style="display:block" data-ad-format="autorelaxed" data-ad-client="ca-pub-5902227090019525" data-ad-slot="2507867629"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> <div class="AI_ToolDetails_main4sR"> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-5902227090019525" data-ad-slot="3653428331" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> <div class="phpgenera_Details_mainR4"> <div class="phpmain1_4R_readrank"> <div class="phpmain1_4R_readrank_top"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/hotarticle2.png" alt="" /> <h2>인기 기사</h2> </div> <div class="phpgenera_Details_mainR4_bottom"> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796775427.html" title="스플릿 소설을이기는 데 얼마나 걸립니까?" class="phpgenera_Details_mainR4_bottom_title">스플릿 소설을이기는 데 얼마나 걸립니까?</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>3 몇 주 전</span> <span>By DDD</span> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796773439.html" title="Repo : 팀원을 부활시키는 방법" class="phpgenera_Details_mainR4_bottom_title">Repo : 팀원을 부활시키는 방법</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>3 몇 주 전</span> <span>By 尊渡假赌尊渡假赌尊渡假赌</span> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796774171.html" title="헬로 키티 아일랜드 어드벤처 : 거대한 씨앗을 얻는 방법" class="phpgenera_Details_mainR4_bottom_title">헬로 키티 아일랜드 어드벤처 : 거대한 씨앗을 얻는 방법</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>3 몇 주 전</span> <span>By 尊渡假赌尊渡假赌尊渡假赌</span> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796780570.html" title="R.E.P.O. 에너지 결정과 그들이하는 일 (노란색 크리스탈)" class="phpgenera_Details_mainR4_bottom_title">R.E.P.O. 에너지 결정과 그들이하는 일 (노란색 크리스탈)</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>1 몇 주 전</span> <span>By 尊渡假赌尊渡假赌尊渡假赌</span> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796773695.html" title="공식 계정 웹 페이지의 캐싱 업데이트에 어려움 : 버전 업데이트 후 사용자 경험에 영향을 미치는 이전 캐시를 피하는 방법은 무엇입니까?" class="phpgenera_Details_mainR4_bottom_title">공식 계정 웹 페이지의 캐싱 업데이트에 어려움 : 버전 업데이트 후 사용자 경험에 영향을 미치는 이전 캐시를 피하는 방법은 무엇입니까?</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>3 몇 주 전</span> <span>By 王林</span> </div> </div> </div> <div class="phpgenera_Details_mainR3_more"> <a href="https://www.php.cn/ko/article.html">더보기</a> </div> </div> </div> <div class="phpgenera_Details_mainR2"> <div class="phpmain1_4R_readrank"> <div class="phpmain1_4R_readrank_top"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/hottag2.png" alt="" /> <h2>핫툴 태그</h2> </div> <div class="phpmain1_4R_readrank_bottom"> <div class="phpmain1_4R_readrank_bottoms"> <div class="phpmain1_4R_readrank_bottoms_num"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/taglogo_black.png" alt="" /> </div> <a href="https://www.php.cn/ko/ai/tag/code-it" title="코드앤아이" class="phpmain1_4R_readrank_bottom_title">코드앤아이</a> </div> <div class="phpmain1_4R_readrank_bottoms"> <div class="phpmain1_4R_readrank_bottoms_num"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/taglogo_black.png" alt="" /> </div> <a href="https://www.php.cn/ko/ai/tag/voice" title="오디오" class="phpmain1_4R_readrank_bottom_title">오디오</a> </div> <div class="phpmain1_4R_readrank_bottoms"> <div class="phpmain1_4R_readrank_bottoms_num"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/taglogo_black.png" alt="" /> </div> <a href="https://www.php.cn/ko/ai/tag/business" title="사업" class="phpmain1_4R_readrank_bottom_title">사업</a> </div> <div class="phpmain1_4R_readrank_bottoms"> <div class="phpmain1_4R_readrank_bottoms_num"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/taglogo_black.png" alt="" /> </div> <a href="https://www.php.cn/ko/ai/tag/marketing" title="마케팅" class="phpmain1_4R_readrank_bottom_title">마케팅</a> </div> <div class="phpmain1_4R_readrank_bottoms"> <div class="phpmain1_4R_readrank_bottoms_num"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/taglogo_black.png" alt="" /> </div> <a href="https://www.php.cn/ko/ai/tag/ai-detector" title="AI감지기" class="phpmain1_4R_readrank_bottom_title">AI감지기</a> </div> <div class="phpmain1_4R_readrank_bottoms"> <div class="phpmain1_4R_readrank_bottoms_num"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/taglogo_black.png" alt="" /> </div> <a href="https://www.php.cn/ko/ai/tag/chatbot" title="챗봇" class="phpmain1_4R_readrank_bottom_title">챗봇</a> </div> <div class="phpmain1_4R_readrank_bottoms"> <div class="phpmain1_4R_readrank_bottoms_num"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/taglogo_black.png" alt="" /> </div> <a href="https://www.php.cn/ko/ai/tag/design-art" title="디자인&아트" class="phpmain1_4R_readrank_bottom_title">디자인&아트</a> </div> </div> </div> </div> <script src="https://sw.php.cn/hezuo/cac1399ab368127f9b113b14eb3316d0.js" type="text/javascript"></script> <div class="phpgenera_Details_mainR4"> <div class="phpmain1_4R_readrank"> <div class="phpmain1_4R_readrank_top"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/hotarticle2.png" alt="" /> <h2>인기 기사</h2> </div> <div class="phpgenera_Details_mainR4_bottom"> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796775427.html" title="스플릿 소설을이기는 데 얼마나 걸립니까?" class="phpgenera_Details_mainR4_bottom_title">스플릿 소설을이기는 데 얼마나 걸립니까?</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>3 몇 주 전</span> <span>By DDD</span> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796773439.html" title="Repo : 팀원을 부활시키는 방법" class="phpgenera_Details_mainR4_bottom_title">Repo : 팀원을 부활시키는 방법</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>3 몇 주 전</span> <span>By 尊渡假赌尊渡假赌尊渡假赌</span> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796774171.html" title="헬로 키티 아일랜드 어드벤처 : 거대한 씨앗을 얻는 방법" class="phpgenera_Details_mainR4_bottom_title">헬로 키티 아일랜드 어드벤처 : 거대한 씨앗을 얻는 방법</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>3 몇 주 전</span> <span>By 尊渡假赌尊渡假赌尊渡假赌</span> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796780570.html" title="R.E.P.O. 에너지 결정과 그들이하는 일 (노란색 크리스탈)" class="phpgenera_Details_mainR4_bottom_title">R.E.P.O. 에너지 결정과 그들이하는 일 (노란색 크리스탈)</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>1 몇 주 전</span> <span>By 尊渡假赌尊渡假赌尊渡假赌</span> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796773695.html" title="공식 계정 웹 페이지의 캐싱 업데이트에 어려움 : 버전 업데이트 후 사용자 경험에 영향을 미치는 이전 캐시를 피하는 방법은 무엇입니까?" class="phpgenera_Details_mainR4_bottom_title">공식 계정 웹 페이지의 캐싱 업데이트에 어려움 : 버전 업데이트 후 사용자 경험에 영향을 미치는 이전 캐시를 피하는 방법은 무엇입니까?</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>3 몇 주 전</span> <span>By 王林</span> </div> </div> </div> <div class="phpgenera_Details_mainR3_more"> <a href="https://www.php.cn/ko/article.html">더보기</a> </div> </div> </div> <div class="phpgenera_Details_mainR3"> <div class="phpmain1_4R_readrank"> <div class="phpmain1_4R_readrank_top"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/hottools2.png" alt="" /> <h2>뜨거운 기사 태그</h2> </div> <div class="phpgenera_Details_mainR3_bottom"> <div class="phpmain_tab2_mids_top"> <a href="https://www.php.cn/ko/toolset/development-tools/92" title="메모장++7.3.1" class="phpmain_tab2_mids_top_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" class="lazy" data-src="https://img.php.cn/upload/manual/000/000/001/58ab96f0f39f7357.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="메모장++7.3.1" /> </a> <div class="phpmain_tab2_mids_info"> <a href="https://www.php.cn/ko/toolset/development-tools/92" title="메모장++7.3.1" class="phpmain_tab2_mids_title"> <h3>메모장++7.3.1</h3> </a> <p>사용하기 쉬운 무료 코드 편집기</p> </div> </div> <div class="phpmain_tab2_mids_top"> <a href="https://www.php.cn/ko/toolset/development-tools/93" title="SublimeText3 중국어 버전" class="phpmain_tab2_mids_top_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" class="lazy" data-src="https://img.php.cn/upload/manual/000/000/001/58ab97a3baad9677.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="SublimeText3 중국어 버전" /> </a> <div class="phpmain_tab2_mids_info"> <a href="https://www.php.cn/ko/toolset/development-tools/93" title="SublimeText3 중국어 버전" class="phpmain_tab2_mids_title"> <h3>SublimeText3 중국어 버전</h3> </a> <p>중국어 버전, 사용하기 매우 쉽습니다.</p> </div> </div> <div class="phpmain_tab2_mids_top"> <a href="https://www.php.cn/ko/toolset/development-tools/121" title="스튜디오 13.0.1 보내기" class="phpmain_tab2_mids_top_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" class="lazy" data-src="https://img.php.cn/upload/manual/000/000/001/58ab97ecd1ab2670.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="스튜디오 13.0.1 보내기" /> </a> <div class="phpmain_tab2_mids_info"> <a href="https://www.php.cn/ko/toolset/development-tools/121" title="스튜디오 13.0.1 보내기" class="phpmain_tab2_mids_title"> <h3>스튜디오 13.0.1 보내기</h3> </a> <p>강력한 PHP 통합 개발 환경</p> </div> </div> <div class="phpmain_tab2_mids_top"> <a href="https://www.php.cn/ko/toolset/development-tools/469" title="드림위버 CS6" class="phpmain_tab2_mids_top_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" class="lazy" data-src="https://img.php.cn/upload/manual/000/000/001/58d0e0fc74683535.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="드림위버 CS6" /> </a> <div class="phpmain_tab2_mids_info"> <a href="https://www.php.cn/ko/toolset/development-tools/469" title="드림위버 CS6" class="phpmain_tab2_mids_title"> <h3>드림위버 CS6</h3> </a> <p>시각적 웹 개발 도구</p> </div> </div> <div class="phpmain_tab2_mids_top"> <a href="https://www.php.cn/ko/toolset/development-tools/500" title="SublimeText3 Mac 버전" class="phpmain_tab2_mids_top_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" class="lazy" data-src="https://img.php.cn/upload/manual/000/000/001/58d34035e2757995.png?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="SublimeText3 Mac 버전" /> </a> <div class="phpmain_tab2_mids_info"> <a href="https://www.php.cn/ko/toolset/development-tools/500" title="SublimeText3 Mac 버전" class="phpmain_tab2_mids_title"> <h3>SublimeText3 Mac 버전</h3> </a> <p>신 수준의 코드 편집 소프트웨어(SublimeText3)</p> </div> </div> </div> <div class="phpgenera_Details_mainR3_more"> <a href="https://www.php.cn/ko/toolset/development-tools">더보기</a> </div> </div> </div> <div class="phpgenera_Details_mainR4"> <div class="phpmain1_4R_readrank"> <div class="phpmain1_4R_readrank_top"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/hotarticle2.png" alt="" /> <h2>뜨거운 주제</h2> </div> <div class="phpgenera_Details_mainR4_bottom"> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/gmailyxdlrkzn" title="Gmail 이메일의 로그인 입구는 어디에 있나요?" class="phpgenera_Details_mainR4_bottom_title">Gmail 이메일의 로그인 입구는 어디에 있나요?</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/eyess.png" alt="" /> <span>7281</span> </div> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/tiezi.png" alt="" /> <span>9</span> </div> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/java-tutorial" title="자바 튜토리얼" class="phpgenera_Details_mainR4_bottom_title">자바 튜토리얼</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/eyess.png" alt="" /> <span>1622</span> </div> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/tiezi.png" alt="" /> <span>14</span> </div> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/cakephp-tutor" title="Cakephp 튜토리얼" class="phpgenera_Details_mainR4_bottom_title">Cakephp 튜토리얼</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/eyess.png" alt="" /> <span>1341</span> </div> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/tiezi.png" alt="" /> <span>46</span> </div> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/laravel-tutori" title="라라벨 튜토리얼" class="phpgenera_Details_mainR4_bottom_title">라라벨 튜토리얼</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/eyess.png" alt="" /> <span>1258</span> </div> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/tiezi.png" alt="" /> <span>25</span> </div> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/php-tutorial" title="PHP 튜토리얼" class="phpgenera_Details_mainR4_bottom_title">PHP 튜토리얼</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/eyess.png" alt="" /> <span>1205</span> </div> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/tiezi.png" alt="" /> <span>29</span> </div> </div> </div> </div> <div class="phpgenera_Details_mainR3_more"> <a href="https://www.php.cn/ko/faq/zt">더보기</a> </div> </div> </div> </div> </div> <div class="Article_Details_main2"> <div class="phpgenera_Details_mainL4"> <div class="phpmain1_2_top"> <a href="javascript:void(0);" class="phpmain1_2_top_title">Related knowledge<img src="/static/imghw/index2_title2.png" alt="" /></a> </div> <div class="phpgenera_Details_mainL4_info"> <div class="phphistorical_Version2_mids"> <a href="https://www.php.cn/ko/faq/716223.html" title="엑셀 인쇄 시 테두리 선이 사라지면 어떻게 해야 하나요?" class="phphistorical_Version2_mids_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/default1.png" class="lazy" data-src="https://img.php.cn/upload/article/000/887/227/171098580884886.png?x-oss-process=image/resize,m_fill,h_207,w_330" alt="엑셀 인쇄 시 테두리 선이 사라지면 어떻게 해야 하나요?" /> </a> <a href="https://www.php.cn/ko/faq/716223.html" title="엑셀 인쇄 시 테두리 선이 사라지면 어떻게 해야 하나요?" class="phphistorical_Version2_mids_title">엑셀 인쇄 시 테두리 선이 사라지면 어떻게 해야 하나요?</a> <span class="Articlelist_txts_time">Mar 21, 2024 am 09:50 AM</span> <p class="Articlelist_txts_p">엑셀 인쇄 시 테두리 선이 사라지면 어떻게 해야 하나요?</p> </div> <div class="phphistorical_Version2_mids"> <a href="https://www.php.cn/ko/faq/682327.html" title="이 문서의 페이지를 다시 매거나 인쇄하려면 메모리나 디스크 공간이 부족합니다. Word 오류" class="phphistorical_Version2_mids_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/default1.png" class="lazy" data-src="https://img.php.cn/upload/article/000/465/014/170834131281934.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="이 문서의 페이지를 다시 매거나 인쇄하려면 메모리나 디스크 공간이 부족합니다. Word 오류" /> </a> <a href="https://www.php.cn/ko/faq/682327.html" title="이 문서의 페이지를 다시 매거나 인쇄하려면 메모리나 디스크 공간이 부족합니다. Word 오류" class="phphistorical_Version2_mids_title">이 문서의 페이지를 다시 매거나 인쇄하려면 메모리나 디스크 공간이 부족합니다. Word 오류</a> <span class="Articlelist_txts_time">Feb 19, 2024 pm 07:15 PM</span> <p class="Articlelist_txts_p">이 문서의 페이지를 다시 매거나 인쇄하려면 메모리나 디스크 공간이 부족합니다. Word 오류</p> </div> <div class="phphistorical_Version2_mids"> <a href="https://www.php.cn/ko/faq/665493.html" title="iPhone에서 인쇄하는 4가지 방법" class="phphistorical_Version2_mids_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/default1.png" class="lazy" data-src="https://img.php.cn/upload/article/000/465/014/170686140510119.png?x-oss-process=image/resize,m_fill,h_207,w_330" alt="iPhone에서 인쇄하는 4가지 방법" /> </a> <a href="https://www.php.cn/ko/faq/665493.html" title="iPhone에서 인쇄하는 4가지 방법" class="phphistorical_Version2_mids_title">iPhone에서 인쇄하는 4가지 방법</a> <span class="Articlelist_txts_time">Feb 02, 2024 pm 04:10 PM</span> <p class="Articlelist_txts_p">iPhone에서 인쇄하는 4가지 방법</p> </div> <div class="phphistorical_Version2_mids"> <a href="https://www.php.cn/ko/faq/681267.html" title="Windows 11/10의 캡처 도구에서 인쇄할 수 없습니다" class="phphistorical_Version2_mids_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/default1.png" class="lazy" data-src="https://img.php.cn/upload/article/000/887/227/170831395015569.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="Windows 11/10의 캡처 도구에서 인쇄할 수 없습니다" /> </a> <a href="https://www.php.cn/ko/faq/681267.html" title="Windows 11/10의 캡처 도구에서 인쇄할 수 없습니다" class="phphistorical_Version2_mids_title">Windows 11/10의 캡처 도구에서 인쇄할 수 없습니다</a> <span class="Articlelist_txts_time">Feb 19, 2024 am 11:39 AM</span> <p class="Articlelist_txts_p">Windows 11/10의 캡처 도구에서 인쇄할 수 없습니다</p> </div> <div class="phphistorical_Version2_mids"> <a href="https://www.php.cn/ko/faq/626453.html" title="Vue에서 인쇄 기능을 구현하는 방법" class="phphistorical_Version2_mids_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/default1.png" class="lazy" data-src="https://img.php.cn/upload/article/000/465/014/169933161920883.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="Vue에서 인쇄 기능을 구현하는 방법" /> </a> <a href="https://www.php.cn/ko/faq/626453.html" title="Vue에서 인쇄 기능을 구현하는 방법" class="phphistorical_Version2_mids_title">Vue에서 인쇄 기능을 구현하는 방법</a> <span class="Articlelist_txts_time">Nov 07, 2023 pm 12:33 PM</span> <p class="Articlelist_txts_p">Vue에서 인쇄 기능을 구현하는 방법</p> </div> <div class="phphistorical_Version2_mids"> <a href="https://www.php.cn/ko/faq/681292.html" title="Windows 11에서 인쇄를 일시 중지하는 방법" class="phphistorical_Version2_mids_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/default1.png" class="lazy" data-src="https://img.php.cn/upload/article/000/000/164/170831462137306.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="Windows 11에서 인쇄를 일시 중지하는 방법" /> </a> <a href="https://www.php.cn/ko/faq/681292.html" title="Windows 11에서 인쇄를 일시 중지하는 방법" class="phphistorical_Version2_mids_title">Windows 11에서 인쇄를 일시 중지하는 방법</a> <span class="Articlelist_txts_time">Feb 19, 2024 am 11:50 AM</span> <p class="Articlelist_txts_p">Windows 11에서 인쇄를 일시 중지하는 방법</p> </div> <div class="phphistorical_Version2_mids"> <a href="https://www.php.cn/ko/faq/683250.html" title="Outlook에서 모든 첨부 파일을 인쇄하는 방법" class="phphistorical_Version2_mids_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/default1.png" class="lazy" data-src="https://img.php.cn/upload/article/000/887/227/170839621353697.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="Outlook에서 모든 첨부 파일을 인쇄하는 방법" /> </a> <a href="https://www.php.cn/ko/faq/683250.html" title="Outlook에서 모든 첨부 파일을 인쇄하는 방법" class="phphistorical_Version2_mids_title">Outlook에서 모든 첨부 파일을 인쇄하는 방법</a> <span class="Articlelist_txts_time">Feb 20, 2024 am 10:30 AM</span> <p class="Articlelist_txts_p">Outlook에서 모든 첨부 파일을 인쇄하는 방법</p> </div> <div class="phphistorical_Version2_mids"> <a href="https://www.php.cn/ko/faq/681994.html" title="Word 편지 병합으로 빈 페이지가 인쇄됩니다." class="phphistorical_Version2_mids_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/default1.png" class="lazy" data-src="https://img.php.cn/upload/article/000/465/014/170833267169339.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="Word 편지 병합으로 빈 페이지가 인쇄됩니다." /> </a> <a href="https://www.php.cn/ko/faq/681994.html" title="Word 편지 병합으로 빈 페이지가 인쇄됩니다." class="phphistorical_Version2_mids_title">Word 편지 병합으로 빈 페이지가 인쇄됩니다.</a> <span class="Articlelist_txts_time">Feb 19, 2024 pm 04:51 PM</span> <p class="Articlelist_txts_p">Word 편지 병합으로 빈 페이지가 인쇄됩니다.</p> </div> </div> <a href="https://www.php.cn/ko/web-designer.html" class="phpgenera_Details_mainL4_botton"> <span>See all articles</span> <img src="/static/imghw/down_right.png" alt="" /> </a> </div> </div> </div> </main> <footer> <div class="footer"> <div class="footertop"> <img src="/static/imghw/logo.png" alt=""> <p>공공복지 온라인 PHP 교육,PHP 학습자의 빠른 성장을 도와주세요!</p> </div> <div class="footermid"> <a href="https://www.php.cn/ko/about/us.html">회사 소개</a> <a href="https://www.php.cn/ko/about/disclaimer.html">부인 성명</a> <a href="https://www.php.cn/ko/update/article_0_1.html">Sitemap</a> </div> <div class="footerbottom"> <p> © php.cn All rights reserved </p> </div> </div> </footer> <input type="hidden" id="verifycode" value="/captcha.html"> <script>layui.use(['element', 'carousel'], function () {var element = layui.element;$ = layui.jquery;var carousel = layui.carousel;carousel.render({elem: '#test1', width: '100%', height: '330px', arrow: 'always'});$.getScript('/static/js/jquery.lazyload.min.js', function () {$("img").lazyload({placeholder: "/static/images/load.jpg", effect: "fadeIn", threshold: 200, skip_invisible: false});});});</script> <script src="/static/js/common_new.js"></script> <script type="text/javascript" src="/static/js/jquery.cookie.js?1743283484"></script> <script src="https://vdse.bdstatic.com//search-video.v1.min.js"></script> <link rel='stylesheet' id='_main-css' href='/static/css/viewer.min.css?2' type='text/css' media='all' /> <script type='text/javascript' src='/static/js/viewer.min.js?1'></script> <script type='text/javascript' src='/static/js/jquery-viewer.min.js'></script> <script type="text/javascript" src="/static/js/global.min.js?5.5.53"></script> <script> var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function () { var u = "https://tongji.php.cn/"; _paq.push(['setTrackerUrl', u + 'matomo.php']); _paq.push(['setSiteId', '9']); var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0]; g.async = true; g.src = u + 'matomo.js'; s.parentNode.insertBefore(g, s); })(); </script> <script> // top layui.use(function () { var util = layui.util; util.fixbar({ on: { mouseenter: function (type) { layer.tips(type, this, { tips: 4, fixed: true, }); }, mouseleave: function (type) { layer.closeAll("tips"); }, }, }); }); document.addEventListener("DOMContentLoaded", (event) => { // 定义一个函数来处理滚动链接的点击事件 function setupScrollLink(scrollLinkId, targetElementId) { const scrollLink = document.getElementById(scrollLinkId); const targetElement = document.getElementById(targetElementId); if (scrollLink && targetElement) { scrollLink.addEventListener("click", (e) => { e.preventDefault(); // 阻止默认链接行为 targetElement.scrollIntoView({ behavior: "smooth" }); // 平滑滚动到目标元素 }); } else { console.warn( `Either scroll link with ID '${scrollLinkId}' or target element with ID '${targetElementId}' not found.` ); } } // 使用该函数设置多个滚动链接 setupScrollLink("Article_Details_main1L2s_1", "article_main_title1"); setupScrollLink("Article_Details_main1L2s_2", "article_main_title2"); setupScrollLink("Article_Details_main1L2s_3", "article_main_title3"); setupScrollLink("Article_Details_main1L2s_4", "article_main_title4"); setupScrollLink("Article_Details_main1L2s_5", "article_main_title5"); setupScrollLink("Article_Details_main1L2s_6", "article_main_title6"); // 可以继续添加更多的滚动链接设置 }); window.addEventListener("scroll", function () { var fixedElement = document.getElementById("Article_Details_main1Lmain"); var scrollTop = window.scrollY || document.documentElement.scrollTop; // 兼容不同浏览器 var clientHeight = window.innerHeight || document.documentElement.clientHeight; // 视口高度 var scrollHeight = document.documentElement.scrollHeight; // 页面总高度 // 计算距离底部的距离 var distanceToBottom = scrollHeight - scrollTop - clientHeight; // 当距离底部小于或等于300px时,取消固定定位 if (distanceToBottom <= 980) { fixedElement.classList.remove("Article_Details_main1Lmain"); fixedElement.classList.add("Article_Details_main1Lmain_relative"); } else { // 否则,保持固定定位 fixedElement.classList.remove("Article_Details_main1Lmain_relative"); fixedElement.classList.add("Article_Details_main1Lmain"); } }); </script> </body> </html>