Html code printing: supports page turning and html code page turning

Source: Internet
Author: User

Html code printing: supports page turning and html code page turning

Ylbtech_html_print

Html printing code, supports Paging

<Html> 

 


How to use code in HTML for content page feed

The most common paging code is: ASP PHP JSP
If your static page needs to be paged, there is a method --- JS
Paging JS Code on HTML

<Form onsubmit = "window. location = this. aaa. options [this. aaa. selectedIndex]. value; return false;">
<Select name = "select" onchange = "javascript: window. location. href = this. options [this. selectedIndex]. value">

<SCRIPT type = text/javascript>

For (var pN = 1; pN <184; pN ++)
Document. write ("<option value = 'page _" + pN + ". html"> Page "+ pN +" </option> ");
</SCRIPT>

</Select> </td> </form>

Add a page = 8 parameter?
Then, use the condition in the for clause to determine ??

<Form onsubmit = "window. location = this. ep8.options [this. ep8.selectedIndex]. value; return false;">
<Select name = "select" onchange = "javascript: window. location. href = this. options [this. selectedIndex]. value">
<Script type = "text/javascript">
P = 8;
For (var I = 1; I <9; I ++)
If (I = p ){
Document. write ("<option value = 'page _" + p + ". html 'selected> Page" + p + "</option> ");
}
Else {
Document. write ("<option value = 'page _" + I + ". html"> Page "+ I +" </option> ");
}
</Script>
</Select> </form>

Who can help me write a piece of JS code! Insert to HTML to flip the next page of the previous page

Implemented Using JS
<Html>
<Head>
<Style type = "text/css">
# FrameContent {
Width: 500px;/* adjust the width of the display area */
Height: 200px;/* adjust the height of the display area */
Font-size: 14px;
Line-height: 20px;
Border: 1px solid #000000;
Overflow-pageINdex: hidden;
Overflow-y: hidden;
Word-break: break-all;
}
A {
Font-size: 12px;
Color: #000000;
Text-decoration: underline;
}
A: hover {
Font-size: 12px;
Color: # CC0000;
Text-decoration: underline;
}
</Style>
</Head>
<Body>
<Div id = "frameContent">
1.svchost.exe
Process file: svchost1_svchost.exe
Process name: microsoftservicehostprocess
Description: svchost.exe is a system program of the Microsoft windows operating system used to execute dll files. This program is very important to the normal operation of your system. Note: svchost.exe may also be a w32.welchia. worm virus. It uses the windowslsass vulnerability to create a buffer overflow, causing your computer to shut down. Please refer to the path name. There is also a virus svch0st.exe with a number 0 in the middle, not the English letter o. Note the folder where the process is located. The normal process should be under system32 and servicepackfiles \ i386 in windows.

2. IEXPLORE. EXE
Process file: iexplorepolicipolice.exe
Process name: microsoftinternetexplorer
Description: iexplore.exe is the main program of microsoftinternetexplorer. This Microsoft windows application allows you to surf the Internet and access the local interanet network. This is not a pure system program, but terminating it may cause unknown problems. Iexplore.exe is also part of the avant web browser, which is a free Browser Based on internetexplorer. Ipolice.exe may also be a Trojan. killav. B virus that terminates your anti-virus software and some windows system tools. The normal process should be under \ programfiles \ internetexplorer and system32 \ dllcache

3.rundll32.exe
Process file: rundll321_rundll32.exe
Process name: microsoftrundll32
Description: rundll32.exe is used to run dll files in the memory, which will be used in applications. This program is very important to the normal operation of your system. Note: rundll32.exe may also be w32.miroot. w ...... the remaining full text >>>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.