The following is my development encountered problems and experience, spent some time debugging, posted out to avoid everyone less detours, if there are errors welcome corrections,
Keep updating ing
XML files as much as possible to utf-8 encoding, gb2
Copy Code code as follows:
Force Refresh Page' Mandatory refresh random verification code
' Let the Random verification code press the IE's back button each time, returns the login page the immediately code all automatically refreshes,
Many times we write ASP programs that take a minute or even a few minutes because they do a lot of things. In order for software users to patiently wait for the program to execute, we often want a progress bar to represent the state of the program's
Research for many days, but also tried a lot of ways, summed up the current finding the best way:Let's say something basic:utf-8 Simplified Chinese Traditional Chinese American/Canadian English Japanese Han Wen RussianCODEPAGE specifies what IIS
I saw him at the monk, and he added a code function to Z-blog, put a few days off, some afraid of this idle will be rusty, after 1.5 hours of sleep, but also to the Blog and run function, because it is modified from L-blog, so the same applies to
Copy Code code as follows:
Allpages=ubound (Contentarray)
For Dxy_ii=0 to Allpages
pagelist1= "Current" &dxy_ii+1& "/" & (allpages+1) & "page"
Pagepre= ""
Pagelast= ""
If Dxy_ii>0 Then
Cpage=cint (Dxy_ii)
If CpageIf Cpage=1 Then
New Document A common calendar program, IE6, Mozilal Series test passed. Welcome to
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
The core of the script is the DateAdd function, click on the demo below to see the effect:
View Demo
Calling the method is simple,
First step: Include the Calenderjs.js file at the top of the page:
Click to download this JS file
Step Two: Add the
This is for example a CSS margin negative and relative positioning to do a picture amplification effect. The picture starts with only the local, the mouse puts up to display the entire picture.
Untitled document &L t;li>
The onload event of the picture, I believe that we are often used, especially in the control of the image output size.
But the onload also has some special usage. For example, recently I do Ajax, need to be in the onload when loading, generally use
The next code, feeling with the array simulation some stiff, I wrote a new one, please come to pp!
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
Copy Code code as follows:
Dim rs
Set Rs=server. CreateObject ("Adodb.recordset")
If Request ("type") = "Date" Then
Yearstr=request ("Selyear")
Monstr=request ("Selmonth")
Daystr=request ("Selday")
If daystr<> "" Then
theymd=yearstr&
Create an HTML file using xmldom some friends of the host does not support the FSO, but also generate HTML files, is it a bit embarrassing?
And today's support for ASP hosts are generally using Microsoft OS, and these OS are generally Win2K server
'******************************
'|| Function Timediff (Sbegin, SEnd)
'|| This function calculates the difference of two times and can be used without changing the
'|| Author: Machinecat 2001/10/26
'******************************
'*******************
When you design a blog operation process, you plan to use a pop-up dialog box to add and modify pages. At the end of Add and modify, click Submit, the dialog box closes, and the following list window refreshes. This will feel like using Windows
Copy Code code as follows:
Page=trim (Request ("page")
Maxperpage=40
First=true
Last=true
Dim rs
Set Rs=server. CreateObject ("Adodb.recordset")
Sql= "Select Id,title,add1,cartype,isred,enterdate,hits from Newnews where classtype=0 and
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