Flight Search Form
A tiny flight search form for your site.
To offer a Dohop powered flight search on your site or blog, simply add the following script tag to the body of your HTML:
<script src="http://www.dohop.com/s.js"></script>
The search results will be shown on www.dohop.com in the language of your choice (see below how to set language).
There are several url-parameters that can be added to the src-url of the script tag. Any combination of these paremeters is valid and they shall be separated by ampersand (&):
Logo:
logo=false removes the dohop logo and shrinks the search form to 150px x 150px
<script src="http://www.dohop.com/s.js?logo=false"></script>
New window:
newwindow=false opens the search results in the same window as the search form (default opens in a new window)
<script src="http://www.dohop.com/s.js?newwindow=false"></script>
Base domain:
basedomain=http://mydohop.googlepages.com/search. If you are hosting your own embedded dohop flight planner you can provide that url as a basedomain and search results will appear in your embedded flight planner.
<script src="http://www.dohop.com/s.js?basedomain=http://mydohop.googlepages.com/search"></script>
Style:
Change the look and feel of the flight search form by adding your own css file and overriding the default styles.
<link rel="stylesheet" href="http://mydohop.googlepages.com/mydohop.css" type="text/css"/> <script src="http://www.dohop.com/s.js></script>
Language:
The default language is English but you can change the language by adding one script tag and change the "language":"en" paramter. For example to change the language to Spanish add.
<script src="http://www.dohop.com/s.js?language=es"></script>
The available languages are:
ca - Català cn - Chinese cs - Ceština da - Dansk de - Deutsch gr - Greece en - English es - Español fr - Français is - Íslenska it - Italiano jp - Japanese lt - Lietuviu no - Norsk pl - Polski pt - Português ru - Russian sv - Svenska th - tr - Türkçe vn - Vietnamese
