<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<style>
* {
font-size:10.2pt;
font-family:tahoma;
line-height:150%;
}
.divContent
{
border:1px solid red;
background-color:#FFD2D3;
width:500px;
word-break:break-all;
margin:10px 0px 10px;
padding:10px;
}
</style>
</HEAD>
<BODY>
header
<div ></div>
<div ></div>
footer
<SCRIPT LANGUAGE="JavaScript">
<!--
s="<p>The female teacher tried her best to prove to the children the importance of learning good homework. She said: "Newton sat under the tree, staring at the tree and thinking. At this time, an apple fell on his head, so he discovered the law of gravity. Children, think about it, how good and so arrogant it is to be a great scientist. If you want to do this, you must study hard. ” </p><p>”A naughty guy in the class was not satisfied with this. He said: "Maybe it is, but if he sits in school and is burying his head in books, he will not be able to find anything." The female teacher tried her best to prove to the children the importance of learning good homework. She said, "Newton sat under the tree, staring at the tree and thinking. At this time, an apple fell on his head, so he discovered the law of gravity. Children, think about it, how good and arrogant it is to be a great scientist. If you want to do this, you must study hard." "A naughty ghost in the class was not satisfied with it. He said, "Maybe it is, but if he sat in school and buried his head in the book, he would not be able to find anything." ” </p><p>The female teacher tried her best to prove to the children the importance of learning good homework. </p><p>She said: “Newton sat under the tree, staring at the tree and thinking. At this time, an apple fell on his head, so he discovered the law of gravity. Children, think about it, how good and so arrogant it is to be a great scientist. If you want to do this, you must study hard. ” </p><p>”A naughty guy in the class was not satisfied with this. He said: "Maybe it is, but if he sits in school and is burying his head in books, he will not be able to find anything." The female teacher tried her best to prove to the children the importance of learning good homework. She said, "Newton sat under the tree, staring at the tree and thinking. At this time, an apple fell on his head, so he discovered the law of gravity. Children, think about it, how good and arrogant it is to be a great scientist. If you want to do this, you must study hard." "A naughty ghost in the class was not satisfied with it. He said, "Maybe it is, but if he sat in school and buried his head in the book, he would not be able to find anything." ” </p><p>The female teacher tried her best to prove to the children the importance of learning good homework. </p><p>She said: “Newton sat under the tree, staring at the tree and thinking. At this time, an apple fell on his head, so he discovered the law of gravity. Children, think about it, how good and so arrogant it is to be a great scientist. If you want to do this, you must study hard. ” </p><p>”A naughty guy in the class was not satisfied with this. He said: "Maybe it is, but if he sits in school and is burying his head in books, he will not be able to find anything." </p>";
// Encapsulate DHTMLpagenation
function DHTMLpagenation(content) { with (this)
{
// client static html file pagenation
// Scipit by blueDestiny,never-online,
=content; // Content
=; // Content length
; // Total number of pages
=100; //default perpage byte length.
=1;// The start page is page 1
//=/.+[\?\&]{1}page=(\d+)/;
=/\d+/; // Create regular expressions and match numeric strings.
;
=null;
="";
;
="";
// Assign the second parameter to perpageLength;
==2?perpageLength=arguments[1]:'';
try {
divExecuteTime=("DIV");
(divExecuteTime);
}
catch(e)
{
}
// Get the divPagenation container.
if(("divPagenation"))
{
divDisplayPagenation=("divPagenation");
}
else
{
try
{
divDisplayPagenation=("DIV");
="divPagenation";
(divDisplayPagenation);
}
catch(e)
{
return false;
}
}
// Get the divContent container
if(("divContent"))
{
divDisplayContent=("divContent");
}
else
{
try
{
divDisplayContent=("DIV");
="divContent";
(divDisplayContent);
}
catch(e)
{
return false;
}
}
();
return this;
}};
//Initialize the pagination;
//Including adding it to CSS and checking whether paging is required
=function() { with (this)
{
=contentStyle!=null?contentStyle:"divContent";
if(contentLength<=perpageLength)
{
strDisplayContent=content;
=strDisplayContent;
return null;
}
pageSizeCount=((contentLength/perpageLength));
(currentPage);
();
}};
//Show the paging bar
=function() { with (this)
{
strDisplayPagenation="Pagination:";
if(currentPage&¤tPage!=1)
strDisplayPagenation+='<a href="javascript:void(0)" onclick="()">Previous page</a> ';
else
strDisplayPagenation+="Previous page ";
for(var i=1;i<=pageSizeCount;i++)
{
if(i!=currentPage)
strDisplayPagenation+='<a href="javascript:void(0)" onclick="('+i+');">'+i+'</a> ';
else
strDisplayPagenation+=i+" ";
}
if(currentPage&¤tPage!=pageSizeCount)
strDisplayPagenation+='<a href="javascript:void(0)" onclick="()">Next page</a> ';
else
strDisplayPagenation+="Next Page ";
strDisplayPagenation+="Total" + pageSizeCount + " page, each page " + perpageLength + " characters, adjust the number of characters: <input type='text' value='"+perpageLength+"' id='ctlPerpageLength'><input type='button' value='determined' onclick='((\"ctlPerpageLength\").value);'>";
=strDisplayPagenation;
}};
//Previous page
=function() { with(this)
{
(currentPage-1);
}};
//Next page
=function() { with(this)
{
(currentPage+1);
}};
//Skip to a certain page
=function(iCurrentPage) { with (this)
{
startime=new Date();
if((iCurrentPage))
{
currentPage=iCurrentPage;
strDisplayContent=((currentPage-1)*perpageLength,perpageLength);
}
else
{
alert("page parameter error!");
}
();
();
}};
//Show the current page content
=function() { with (this)
{
=strDisplayContent;
}};
//Change the number of bytes per page
=function(iPerpageLength) { with(this)
{
if((iPerpageLength))
{
=iPerpageLength;
=1;
();
}
else
{
alert("Please enter number");
}
}};
// Interface API
// DHTMLpagenation(strContent[,perpageLength])
DHTMLpagenation(s,100);
// Power By blueDestiny,never-online
//-->
</SCRIPT>
</BODY>
</HTML>
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<style>
* {
font-size:10.2pt;
font-family:tahoma;
line-height:150%;
}
.divContent
{
border:1px solid red;
background-color:#FFD2D3;
width:500px;
word-break:break-all;
margin:10px 0px 10px;
padding:10px;
}
</style>
</HEAD>
<BODY>
header
<div ></div>
<div ></div>
footer
<SCRIPT LANGUAGE="JavaScript">
<!--
s="<p>The female teacher tried her best to prove to the children the importance of learning good homework. She said: "Newton sat under the tree, staring at the tree and thinking. At this time, an apple fell on his head, so he discovered the law of gravity. Children, think about it, how good and so arrogant it is to be a great scientist. If you want to do this, you must study hard. ” </p><p>”A naughty guy in the class was not satisfied with this. He said: "Maybe it is, but if he sits in school and is burying his head in books, he will not be able to find anything." The female teacher tried her best to prove to the children the importance of learning good homework. She said, "Newton sat under the tree, staring at the tree and thinking. At this time, an apple fell on his head, so he discovered the law of gravity. Children, think about it, how good and arrogant it is to be a great scientist. If you want to do this, you must study hard." "A naughty ghost in the class was not satisfied with it. He said, "Maybe it is, but if he sat in school and buried his head in the book, he would not be able to find anything." ” </p><p>The female teacher tried her best to prove to the children the importance of learning good homework. </p><p>She said: “Newton sat under the tree, staring at the tree and thinking. At this time, an apple fell on his head, so he discovered the law of gravity. Children, think about it, how good and so arrogant it is to be a great scientist. If you want to do this, you must study hard. ” </p><p>”A naughty guy in the class was not satisfied with this. He said: "Maybe it is, but if he sits in school and is burying his head in books, he will not be able to find anything." The female teacher tried her best to prove to the children the importance of learning good homework. She said, "Newton sat under the tree, staring at the tree and thinking. At this time, an apple fell on his head, so he discovered the law of gravity. Children, think about it, how good and arrogant it is to be a great scientist. If you want to do this, you must study hard." "A naughty ghost in the class was not satisfied with it. He said, "Maybe it is, but if he sat in school and buried his head in the book, he would not be able to find anything." ” </p><p>The female teacher tried her best to prove to the children the importance of learning good homework. </p><p>She said: “Newton sat under the tree, staring at the tree and thinking. At this time, an apple fell on his head, so he discovered the law of gravity. Children, think about it, how good and so arrogant it is to be a great scientist. If you want to do this, you must study hard. ” </p><p>”A naughty guy in the class was not satisfied with this. He said: "Maybe it is, but if he sits in school and is burying his head in books, he will not be able to find anything." </p>";
// Encapsulate DHTMLpagenation
function DHTMLpagenation(content) { with (this)
{
// client static html file pagenation
// Scipit by blueDestiny,never-online,
=content; // Content
=; // Content length
; // Total number of pages
=100; //default perpage byte length.
=1;// The start page is page 1
//=/.+[\?\&]{1}page=(\d+)/;
=/\d+/; // Create regular expressions and match numeric strings.
;
=null;
="";
;
="";
// Assign the second parameter to perpageLength;
==2?perpageLength=arguments[1]:'';
try {
divExecuteTime=("DIV");
(divExecuteTime);
}
catch(e)
{
}
// Get the divPagenation container.
if(("divPagenation"))
{
divDisplayPagenation=("divPagenation");
}
else
{
try
{
divDisplayPagenation=("DIV");
="divPagenation";
(divDisplayPagenation);
}
catch(e)
{
return false;
}
}
// Get the divContent container
if(("divContent"))
{
divDisplayContent=("divContent");
}
else
{
try
{
divDisplayContent=("DIV");
="divContent";
(divDisplayContent);
}
catch(e)
{
return false;
}
}
();
return this;
}};
//Initialize the pagination;
//Including adding it to CSS and checking whether paging is required
=function() { with (this)
{
=contentStyle!=null?contentStyle:"divContent";
if(contentLength<=perpageLength)
{
strDisplayContent=content;
=strDisplayContent;
return null;
}
pageSizeCount=((contentLength/perpageLength));
(currentPage);
();
}};
//Show the paging bar
=function() { with (this)
{
strDisplayPagenation="Pagination:";
if(currentPage&¤tPage!=1)
strDisplayPagenation+='<a href="javascript:void(0)" onclick="()">Previous page</a> ';
else
strDisplayPagenation+="Previous page ";
for(var i=1;i<=pageSizeCount;i++)
{
if(i!=currentPage)
strDisplayPagenation+='<a href="javascript:void(0)" onclick="('+i+');">'+i+'</a> ';
else
strDisplayPagenation+=i+" ";
}
if(currentPage&¤tPage!=pageSizeCount)
strDisplayPagenation+='<a href="javascript:void(0)" onclick="()">Next page</a> ';
else
strDisplayPagenation+="Next Page ";
strDisplayPagenation+="Total" + pageSizeCount + " page, each page " + perpageLength + " characters, adjust the number of characters: <input type='text' value='"+perpageLength+"' id='ctlPerpageLength'><input type='button' value='determined' onclick='((\"ctlPerpageLength\").value);'>";
=strDisplayPagenation;
}};
//Previous page
=function() { with(this)
{
(currentPage-1);
}};
//Next page
=function() { with(this)
{
(currentPage+1);
}};
//Skip to a certain page
=function(iCurrentPage) { with (this)
{
startime=new Date();
if((iCurrentPage))
{
currentPage=iCurrentPage;
strDisplayContent=((currentPage-1)*perpageLength,perpageLength);
}
else
{
alert("page parameter error!");
}
();
();
}};
//Show the current page content
=function() { with (this)
{
=strDisplayContent;
}};
//Change the number of bytes per page
=function(iPerpageLength) { with(this)
{
if((iPerpageLength))
{
=iPerpageLength;
=1;
();
}
else
{
alert("Please enter number");
}
}};
// Interface API
// DHTMLpagenation(strContent[,perpageLength])
DHTMLpagenation(s,100);
// Power By blueDestiny,never-online
//-->
</SCRIPT>
</BODY>
</HTML>