A tiny flight search form for your site. Just 150 by 200 pixels
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://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://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://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://http://www.dohop.com/s.js?basedomain=http://mydohop.googlepages.com/search"></script>
- Style: css=http://mydohop.googlepages.com/mydohop.css. Change the look and feel of the flight search form by pointing to your own css file:
<script src="http://http://www.dohop.com/s.js?css=http://mydohop.googlepages.com/mydohop.css"></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://http://www.dohop.com/s.js?language=es"></script>
The available languages are:
- ca - Català
- cn - 中文
- cs - Čeština
- da - Dansk
- de - Deutsch
- en - English
- es - Español
- fr - Français
- is - Íslenska
- it - Italiano
- jp - 日本語
- lt - Lietuvių
- no - Norsk
- pl - Polski
- pt - Português
- ru - Русский
- sv - Svenska
- th - ไทย
- tr - Türkçe
