You can visit separately: www.bb2020.cn www.bb2020.com.cn www.jjflash.cn Trial effect! If you do not understand can add my qq:393440579 contact! Here is a JS file we tentatively named: Guanggao.js
Copy the following code into the Guanggao.js file. The domain name in the file into its own domain name, the document.write ("www.bb2020.cn"); JS code into your own JS AD code! (Note: Different domain name hangs different advertisement, put document.write ("www.bb2020.cn"); Switch to the corresponding domain name JS advertising code!
To call the JS file method in HTML: <div align=center> <script src= "/js/guanggao.js" ></SCRIPT> </DIV>
Guanggao.js File Code:
var s_domain = location.host; var js_path1 = "www.bb2020.cn"; var js_path2 = "bb2020.cn"; var js_path3 = "www.bb2020.com.cn"; var js_path4 = "bb2020.com.cn"; var js_path5 = "www.jjflash.cn"; var js_path6 = "jjflash.cn"; if (S_domain = = js_path1) { document.write ("www.bb2020.cn"); } if (S_domain = = js_path2) { document.write ("bb2020.cn"); } if (S_domain = = Js_path3) { document.write ("www.bb2020.com.cn"); } if (S_domain = = Js_path4) { document.write ("bb2020.com.cn"); } if (S_domain = = Js_path5) { document.write ("www.jjflash.cn"); } if (S_domain = = Js_path6) { document.write ("jjflash.cn"); }
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.