Amateur Radio VK callsign lookup

With a friends (thx darkrose) help last night you’ll have noticed that there is a ‘VK callsign lookup‘ search bar widget to the right. All it does is to make looking up callsigns from the ACMA websign little faster and lot less confusing. Anyways here is a copy of the code if you like to add it to your site.

HTML version:
With the HTML version you can type in the url bar for example search.html?callsign

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
<!--
function popupform(myform, windowname)
{
if (! window.focus)return true;
window.open('', windowname, 'height=480,width=800,toolbar=no,statusbar=no,scrollbars=yes');
myform.target=windowname;
return true;
}
//-->
</script>
</head>
<body>
<form action="http://web.acma.gov.au/pls/radcom/register_search.search_dispatcher" onSubmit="popupform(this, 'join')" method="POST">
	<input type="hidden" name="pSEARCH_TYPE" value="Licences" />
	<input type="text" name="pQRY" id="pQRY" />
	<input type="submit" value="Search" />
</form>
<script type="application/x-javascript">
window.onload = function() {
	var l = window.location.toString();
	var v = l.indexOf('?');
	if (v < 0)
		return;
	l = l.substr(v+1);
	if (l && l.length) {
		var v = document.getElementById('pQRY');
		v.value = l;
		v.parentNode.submit();
	}
}
</script>
</form>
</body>
</html>

WordPress version:

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
<!--
function popupform(myform, windowname)
{
if (! window.focus)return true;
window.open('', windowname, 'height=480,width=800,toolbar=no,statusbar=no,scrollbars=yes');
myform.target=windowname;
return true;
}
//-->
</script>
</head>
<body>
<form action="http://web.acma.gov.au/pls/radcom/register_search.search_dispatcher" onSubmit="popupform(this, 'join')" method="get">
        <input type="hidden" name="pSEARCH_TYPE" value="Licences" />
        <input type="text" name="pQRY" id="pQRY" />
	<input type="submit" value="Search" />
</form>
</body>
</html>

Comments (1)

  1. 17:21, Monday, July 2, 2018tmakins  / Reply

    You can also download the VK Callbook Mapper and get the lot, updated as often as you want, and them map them too!

    http://www.mapability.com/ei8ic/vkcallbook/index.php

Leave a Reply

Pingbacks (0)

› No pingbacks yet.

%d bloggers like this: