Created
August 31, 2010 05:22
-
-
Save millken/558593 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(function () { | |
if (!(typeof isStating == "undefined" || !isStating)) { | |
var a = $("#hd .header").eq(0).offset().left; | |
$(window).resize(function () { | |
a = $("#hd .header").eq(0).offset().left | |
}); | |
$(document).mousedown(function (c) { | |
var d = {}; | |
d.r = encodeURIComponent(window.location.href); | |
c = c || window.event; | |
var f, b, e = c.target || c.srcElement; | |
if (e && 3 == e.nodeType) e = e.parentNode; | |
if (e && e.tagName) { | |
b = e.tagName.toLowerCase(); | |
if (b == "img") f = e.src; | |
else if (b == "a") f = e.href; | |
if (f) d.u = encodeURIComponent(f); | |
if (b) d.t = b; | |
d.x = c.pageX - a; | |
d.y = c.pageY; | |
(new Image).src = "http://click.nuomi.com/tj?" + $.param(d) + "&s=" + Math.random() | |
} | |
}) | |
} | |
}); |
function addListener(element,e,fn){ element.addEventListener?element.addEventListener(e,fn,false):element.attachEvent("on" + e,fn)}
$('input[name=experience]:checked').val()
获取单选
地址栏运行JS函数 javascript:(function(){document.getElementById("KeyWord").value="xx333xx"})();
$("#headerMailInput").click(function(){
$(this).val("");
}).blur(function(){
var self = $(this);
var email = self.val();
if (email ==''){
self.val("输入Email,订阅每日团购信息");
}
});
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
统计热点区域