Cách 3.Code popup mở ra tab mới khi click vào vị trí bất kỳ trên web
<script type="text/javascript" language=javascript>
function Set_Cookie(name, value, expires, path, domain, secure) {
var today = new Date();
today.setTime(today.getTime());
var expires_date = new Date(today.getTime() + (expires));
document.cookie = name + "=" + escape(value) +
((expires) ? ";expires=" + expires_date.toGMTString() : "") +
((path) ? ";path=" + path : "") +
((domain) ? ";domain=" + domain : "") +
((secure) ? ";secure" : "");
}
function Get_Cookie(name) {
var start = document.cookie.indexOf(name + "=");
var len = start + name.length + 1;
if ((!start) &&
(name != document.cookie.substring(0, name.length))) {
return null;
}
if (start == -1) return null;
var end = document.cookie.indexOf(";", len);
if (end == -1) end = document.cookie.length;
return unescape(document.cookie.substring(len, end));
}
function Delete_Cookie(name, path, domain) {
if (Get_Cookie(name)) document.cookie = name + "=" +
((path) ? ";path=" + path : "") +
((domain) ? ";domain=" + domain : "") +
";expires=Mon, 11-November-1989 00:00:01 GMT";
}
function popunder() {
if (Get_Cookie('cucre') == null) {
Set_Cookie('cucre', 'cucre Popunder', '1', '/', '', '');
var url = "http://ngheseovip.blogspot.com";
pop = window.open(url, 'windowcucre');
pop.blur();
window.focus();
}}
function addEvent(obj, eventName, func) {
if (obj.attachEvent) {
obj.attachEvent("on" + eventName, func);
}
else if (obj.addEventListener) {
obj.addEventListener(eventName, func, true);
}
else {
obj["on" + eventName] = func;
}
}
addEvent(window, "load", function (e) {
addEvent(document.body, "click", function (e) {
popunder();
});
});
</script>
Thứ Ba, 3 tháng 9, 2013
Code popup mở ra tab mới khi click vào vị trí bất kỳ trên web cách 3
Published by Unknown on Thứ Ba, 3 tháng 9, 2013 | No comments
Filed in : kinh-nghiem-seo
About the Author
Write admin description here..
Đăng ký:
Đăng Nhận xét (Atom)
Tags
- chia-se-seowordpress (3)
- dich-vu-seo (4)
- kinh-nghiem-seo (7)
- phan-mem (12)
- seo-blog (7)
- seo-blog-wordpress (9)
- seo-blogspot (18)
- seo-tu-khoa (1)
- seo-wordpress (4)
- tai-lieu-seo (5)
- theme-blog-wordpress (6)
- theme-blogspot (9)
- thu-thuat-bao-mat (4)
- thu-thuat-blogspot (96)
- thu-thuat-may-tinh (37)
- thu-thuat-mobile (5)
- thu-thuat-office (3)
- thu-thuat-seo (9)
- thu-thuat-seowordpress (1)
- thu-thuat-webmasters (20)
- thu-thuat-windows (15)
- thu-thuat-wordpress (1)
- thuat-toan-google (4)
- tin-tuc-seo (4)
- tu-van-seo (2)
-
Email idm - Email registration Serial IDM Key Internet Download Manager
-
11 Typography Theme WordPress miễn phí đẹp nhất
-
Dịch Vụ SEO Top Google Giá Rẻ tại hcm
-
Chương trình tự động Spam Comment Blog wordpress
-
Thêm Nofollow cho link menu wordpress
-
Tùy chỉnh trang chủ cho WordPress-Custom Page Template
-
Tùy chỉnh trang chủ cho WordPress - Custom Page Template
-
Tổng hợp các Ứng dụng Android hay nhất cho Galaxy Y
-
[Video] Hướng dẫn Cách xếp hạc giấy theo phong cách Origami
-
Cách tạo site vệ tinh blogger auto - Auto post blogger Hatforrent
Popular Posts
Quảng Cáo
cho rao vat
DỊCH VỤ SEO. DỊCH VỤ SEO SEO.
0 nhận xét: