1. open a tag ( < )
2. write: meta http-equiv="
3. the write: refresh" content="5;
4. then write: URL=http://www.davesite.com
5. close the tag by ( / " > )
All the RED color to e on one line..
Done..
content="5" the time before refresh
URL is the target web page
Tuesday, April 10, 2007
Include a file
1. Start the comment tag. (< ! -- )
2. press "shift & 3", then write: include file="file name"
3. close the comment tag ( -- > )
2. press "shift & 3", then write: include file="file name"
3. close the comment tag ( -- > )
Thursday, April 5, 2007
Color the cell on hand over
ASP code:
Post the script in the TR or TD tages:
tr onmousemove="style.backgroundColor='#EED7AE';" onmouseout="style.backgroundColor='';"
Email validation
DIM strEmailstrEmail = Request.Form("Email")
IF strEmail <> "" AND strSubject <> "" AND strComments <> "" THEN
' your code if the format is right
'Process the form as you like here
ELSE
Response.Write "wrong email foemat, go back and correnct... (your message): "
end if
Subscribe to:
Comments (Atom)