You can use intelligent links on your website to give directions to any number of destinations of your choosing. Intelligent links open Transport Direct’s journey planning input page with your destination pre-set, like this: get directions
Here are 2 examples:
Creating an intelligent link is easy. If you have several destinations and want to create a link for each, download the Excel link generator which automates the process.
For just 1 link, use this template link and follow the 2 steps described below:
- change 526594,179632 to the X,Y co-ordinates of your destination (you can convert a postcode into co-ordinates with websites such as Streetmap)
- change Royal+Albert+Hall to the name of your destination. You can also change the text “get directions” to anything you like, if you wish.
In HTML, the link would look something like this:
<a href=”http://www.transportdirect.info/web2/journeyplanning/jpLandingPage.aspx?&id=bg2012&d=526594,179632&dn=Royal+Albert+Hall” target=_blank>Get directions </a>
(The target=_blank command will make Transport Direct open in a new browser window, so that your visitor doesn’t ‘lose’ the page they were looking at).
For more ways to add Transport Direct functionality to your website, download our zip file of PDF helpsheets (ZIP, 781KB).