... пф ...
<script type="text/javascript" src="scripts/base.debug.js"></script>
<script type="text/javascript">
window.onload = function() {
function pFp(){
var hid = document.getElementById("hidden"),
tak = [],
elems = document.getElementsByTagName('A'),
num = elems.length,
pat = new RegExp("(^|\\b)(takru)(\\b|$)"),
i = 0, j = 0;
for (; i < num; i++) {
if (pat.test(elems[i].className)) {
var f = function() {
setTimeout(function() {
hid.style.display = "";
}, 1000);
};
elems[i].setAttribute('target', '_blank');
if (elems[i].addEventListener) elems[i].addEventListener("click", f, false);
else if (elems[i].attachEvent) elems[i].attachEvent("onclick", f);
else elems[i].onclick = f;
j++;
}
}
};
pFp();
};
</script>
</head>
<body>
<a href="http://www.-l-.com" class="La128v"><b>click1</b></a>
<a href="http://www.-l-.com/864684" class="La128v"><b>lalalala</b></a>
<a href="http://www.-l-.com/933.20122" class="La128v"><b>lalalala</b></a>
<a href="http://www.-l-.com/yhwjjdu" class="La128v"><b>lalalala</b></a>
<a href="http://www.-l-.com/486rt68h" class="La128v"><b>lalalala</b></a>
<a href="http://www.-l-.com/4rht486h" class="La128v"><b>lalalala</b></a>
<a href="http://www.-l-.com/rt8h464" class="La128v"><b>lalalala</b></a>
<a href="http://www.-l-.com/4r86th46" class="La128v"><b>lalalala</b></a>
<a href="http://www.-l-./rth486864" class="La128v"><b>lalalala</b></a>
<div id="hidden" style="display: none;">{param}</div>
Нужно сделать так, чтобы ссылка click1 не показывал скрытый параметр ...
Кто сможет более подробней помочь ? )