QRZ.COM ad: dxsoft
Please login help/register
callsign: password:
Database News Forums Swapmeet Resources Contact
Callsign and Name Lookups Current Hot Callsigns XML Logbook Data Database Downloads DX Spotting Network Ham Club Database QSL Corner Top Web Contacts Expired Callsigns Daily Update Reports
Amateur Radio News Announcements and Tidbits Special Events, Contests, etc. Hamfests and Conventions Silent Keys Headlines
Forums Home Discussions, Editorials, Talk Technical Forums Logging and Contesting Ham Radio Blogs
Swapmeet Hot List Ham Radio Gear for Sale Ham Radio Equipment Wanted and Trades Ham Made Gear General Merchandise Ham to Ham References Stolen Radios, Scams and Rip-offs
Practice Amateur Radio Exams Amateur Radio Study Guides Online License Renewals License Wall Certificates Commercial Ham Radio Links DX Country Atlas Grid Mapper Ham Radio Trivia Quiz Site Menu...
Help Desk, for accounts, lost passwords, etc. Add your callsign to QRZ Subscription Services Users Help Forum Frequently Asked Questions - FAQ QRZ en Espanol Privacy Statement Advertise with QRZ List of Current Advertisers About QRZ Donate to QRZ Contact us
 20:50:36 UTC 13 Feb 2012 
ad: l-ezhang
ad: l-gcopper
ad: l-innov
ad: l-assoc


How to add Direct Callsign Lookups to Your Web Page

QRZ welcomes all sites to link to our lookup database. The examples below show how you can add a direct callsign lookup feature to any web page. Note: these examples use XHTML and CSS 2.0

Adding a direct Link to your callsign:
If you would like to place a direct link to your callsign on your home page, use this HTML code (using AA7BQ as an example):

<a href="http://www.qrz.com/db/aa7bq"> QRZ link to My callsign </a>

Try it here: QRZ link to My Callsign

Lookup Links

Here's an easy "Quick Lookup" search box, similar to that used at the top of the QRZ home page:

QRZ callsign lookup:

And here's the HTML that produces it:

<form method="GET" action="http://www.qrz.com/db/" style="display:inline" >
<b>QRZ callsign lookup:<b>
<input type="text" name="callsign" size="8" />
<input type="submit" value="Search" /></b></form>

(be sure and include the trailing slash after /db/ as shown above)

Next, here's a fancy version that looks great on any page.

QRZ callsign lookup:
Callsign lookups provided by qrz.com

And the HTML:

<table cellpadding="9" border="0" cellspacing="0" style="border:solid 1px #000;background-color:#3cc">
    <tr><td valign="center">
    <form method="GET" action="http://www.qrz.com/db/">
    <b>QRZ callsign lookup:</b>
    <input type="text" name="callsign" size="8" />
    <input type="submit" value="Search" /></b><br />
    <div style="text-align:right;font-size:0.7em">
	Callsign lookups provided by <a href="http://www.qrz.com">qrz.com</a>
    </div>
    </form>
    </td></tr>
</table>

And finally, a form-less Javascript version that opens a new browser window:

QRZ callsign lookup:
Callsign lookups provided by qrz.com

And the HTML:

<script type="text/javascript">
function searchQRZ() {
    var cs = document.getElementById('call').value;
    window.open('http://www.qrz.com/db/' + cs,'','height=800,width=700',true);
    document.getElementById('call').value = '';

}
</script>
<table cellpadding="9" border="0" cellspacing="0" style="border:solid 1px #000;background-color:#cc9">
    <tr><td valign="center">
    <b>QRZ callsign lookup:</b>
    <input type="text" id="call" size="8" />
    <button onClick="searchQRZ();">Search<button>
    <div style="text-align:right;font-size:0.7em">
	Callsign lookups provided by <a href="http://www.qrz.com">qrz.com</a>
    </div>
    </td></tr>
</table>

We hope you find these examples useful. email aa7bq@qrz.com if you have questions.



Copyright © 2012 by QRZ.COM
Mon Feb 13 20:50:36 2012 UTC
CPU: 0.030 sec 17274 bytes