Call mode
1.. Banner (Width, Height)
. The banner method is used to tell the banner management program what size of banner you want to display on the client.
I. Width: <banner width >
Ii. Height: <banner height >
2.. Click (banner_id, Banner_url)
This method is rarely used by programmers. It is useful to use at the client click Banner Statistics
I. banner_id: < Banner the number >
II. Banner_url: <banner linked URLs, such as:bannermaster.asp?id=1&url=www.banneryouselected.com>
Create a database named Bannermaster or <a href= "Http://asp-code.aspsamples.com/fpdb/BannerMaster.mdb" >Download</a>
Add the following column to the new database
"banner_id [1...2...3 ...] Int Don "t allow NULLs and Check Identity Seed 1
"Banner_vendor [ex Monster.com] Varchar Allow NULLs
"Banner_width [ex 468] int AllowNulls
"Banner_height [ex] int allownulls
"Banner_alt [ex Monster Job Search] Varchar allownulls
"Banner_url [ex www.monster.com] Varchar allownulls
"Banner_file [ex monster_logo-1.gif] Varchar allownulls
"Banner_path [ex images/ads/] Varchar allownulls
"Banner_imp_purchased [ex 10000] Varchar allownulls Default 1000
"Banner_imp_current [ex 2343] Varchar allownulls Default 1
"Banner_imp_total [ex 120034] Varchar allownulls Default 1
"Banner_ct_current [ex] Varchar allownulls Default 1
"Banner_ct_total [ex 1200] Varchar allownulls Default 1
"Banner_ct_percent [ex 1.01] Varchar allownulls Default 0
"Banner_account_active [ex True] Varchar allownulls Default True
Add banner to the database.
Create a file named Bannermaster.asp with the following code:
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.