Here you go.
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=5.0"/>
<script>
function testJs()
{
try
{
//window.open("dttp://app.dicttango/WordLookup?word=test");
location.href = "dttp://app.dicttango/WordLookup?word=test";
}
catch(e)
{
alert(e.message);
}
}
</script>
</head>
<body>
<p><p><p><p>
<!-- Hyper Link -->
<a href="dttp://app.dicttango/WordLookup?Word=test">test</a>
<p><p><p><p>
<!-- Javascript -->
<span onclick="testJs()">test JS</span>
</body>
</html>