html - Open a different page for a download link -
hi have link on portfolio website downloads .exe file people can check out of work.
the link
<a href="downloads/project.exe">download here!</a>
the problem have want open link. when person presses "download here!" download .exe , open html page have.
any idea's on how this?
thanks in advance
<a href="javascript:opennew()">link</a> <script type="text/javascript"> function opennew(){ console.log("lets begin"); window.open("http://www.facebook.com"); window.location.href = "http://www.google.com"; } </script>
Comments
Post a Comment