Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
На мястото на alert(a_href); си пишеш функцията.На всеки линк трябва да зададеш различно ИД(задължително).После си слагаш това:<html>
<head>
<script type="text/javascript">
function changelink(a_id,a_href)
{
document.getElementById(a_id).href="#";
alert(a_href);
}
</script>
</head>
<body>
<a href="http://web-tourist.net/" onclick="changelink(this.id,this.href)" id="ab">WT</a>
<a href="http://web-tourist.net/forum/" onclick="changelink(this.id,this.href)" id="cd">WT forum</a>
</body>
</html>
във всеки линк...onclick="changelink(this.id,this.href)"