sca Ad Image Process & lt;! --The core function follows the above Div, note: If put in head invalid-->
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
Inspired by the Wpsxxx's IMG, more than the Div.
There are deficiencies if there are any good changes or suggestions wish to give me a copy thank you
Sjx.saxon@gmail.com
map image hidedesign by saxon T o o L s ↑ ↓ ←
Where the pictures are used:
Width= "180" height= "110" Note that here is the best qualification, if you do not limit the load map will become the original large, and then shrink, this process if the picture is very difficult to see. Here is the
The
name of the function
explain
examples
Element.toggle
Alternately hide or show
Element.toggle (' Div1 ', ' div2 ')
Element.hide
Hide
Element.hide (' Div1 ', ' div2 ')
Element.show
Related information:
View all of the server VariablesThe significance of ServerVariables set retrieval of predetermined environment variables
Today suddenly think of each request http_host and server_name value is always the same, why do you still
asp:
Copy Code code as follows:
" >preivous page or with pictures such as: " >
JS:Document.referer can
php:
Copy Code code as follows:
$url = $HTTP _server_vars["Http_referer"];
if ($url) {
$url _resource=
How to use Server.MapPath in ASP
Always forget how to use the Server.MapPath, the following record, for later use:General Note: The path that Server.MapPath obtains is the physical path on the server, which is always said absolute path
1,
Error one: Caught in the interface design trap. Beautiful girls like to wear beautiful clothes, ugly girls also like beautiful clothes, access in addition to providing custom menu and switch surface version, does not provide any custom control key
Friends with relevant experience know that JScript is limited in efficiency after all, when looking up data in an array, it is slow to perform with conventional algorithms.
For example, in a 500-string data array, we want to find a specified
There is a problem at work: given a sorted array (ascending), delete the duplicate data in the array, but only one array can be used, and the size of the array may vary.
Example: array: [1,1,2,2,3,3,4,5,7,10]
Output:: [1,2,3,4,5,7,10]
Implementation
In JavaScript, you do not need to explicitly indicate the parameter names to access them. Such as:
function Hi () {
if (arguments[0]== "Andy") {
Return
}
Alert (arguments[0]);
}
With Arguments[0] You can access the first parameter, so on.
Using the
about setting the OnLoad event handle with a script
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
In IE, opera are normal and effective, but FF neither execute nor error,
Document.open () Opens a new blank document, under IE, Open has two default parameters, equivalent to Document.open ("text/html", "" "), and the second parameter has only one value to choose from: Replace, if this value is enabled, The new document
At the bottom of the system first file (Default.asp) and log file (article.asp) Add the following code can be. All two files are in the root directory.
Copy Code code as follows:
If someone else really want to copy ~ can view
"1, the most basic pop-up window code"
In fact, the code is very simple:
Because it is a javascripts code, they should be placed in . are working on some versions of low browsers, which
Some old browsers do not display the code in the label as
A recent exercise, using Array.slice () and Array.splice (), was not previously noted for its return value type
Array.slice () returns an array-a range of elements in the original array.
Array.splice () returns an array--a list of elements that are
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