Β« Oatmeal

Reinventing href’s in js!

function DoNav(theUrl){
document.location.href = theUrl;
}

And the markup:

<p onclick="DoNav('https://examplewebpage.com');">...</p>

Post a response on your own site? Send me a webmention!