A customisable Virgin Blue flight search & booking engine component for third Party website integration.
| Parameters | |
| iframe | Sets the booking engine mode |
| width | Sets iframe width |
| height | Sets iframe height |
| bg | Sets iframe background colour behind the white booking panel |
| site | Sets iframe logo and site link |
| from | Sets origin dropdown countries |
| to | Sets destination dropdown countries |
| hide_origin | Remove port(s) from the origin list. |
| hide_dest | Removes port(s) from the destination list. |
Sets the booking engine mode
| true | enables iframe mode and subsequent variables |
| false | disables iframe mode. This is the default. |
Sets iframe height
| minimum | 150 |
| maximum | 420 |
Certain combinations of width/height wont work. eg: too thin, too tall, too large
Sets iframe background colour behind white cornered booking panel.
Must be a valid 6 character hex colour. e.g. 0000ff
Sets iframe logo and site link
| virginblue | sets logo to Virgin Blue and links through to www.virginblue.com.au |
| pacificblue | sets logo to Pacific Blue and links through to www.flypacificblue.com |
| polynesianblue | sets logo to Polynesian Blue and links through to www.polynesianblue.com |
Sets origin/destination dropdown countries
| AU | Australia |
| NZ | New Zealand |
| FJ | Fiji |
| WS | Samoa |
| CK | Cook Islands |
| VU | Vanuatu |
| TO | Tonga |
| PNG | Papua New Guinea |
| SB | Solomon Islands |
| ID | Indonesia |
| all | Show all countries (can be omitted, see note below) |
Can be single or multiple countries. If multiple, must be comma separated eg: from=AU,NZ,FJ
Omitting 'from' and/or 'to' defaults to all countries.
Removes an IATA airport code from the origin or destination lists.
|
ADL = Adelaide ABX = Albury BNK = Ballina (Byron) BNE = Brisbane BME = Broome CNS = Cairns CBR = Canberra CFS = Coffs Coast DRW = Darwin HVB = Hervey Bay (Fraser Coast) OOL = Gold Coast HTI = Hamilton Island HBA = Hobart KTA = Karratha LST = Launceston MKY = Mackay MEL = Melbourne MQL = Mildura NTL = Newcastle ZNE = Newman PER = Perth PQQ = Port Macquarie POM = Port Moresby PPP = Proserpine (Whitsunday Coast) ROK = Rockhampton MCY = Sunshine Coast SYD = Sydney TSV = Townsville AKL = Auckland CHC = Christchurch DUD = Dunedin WLG = Wellington NAN = Nadi VLI = Port Vila RAR = Rarotonga TBU = Nuku'alofa (Tonga) APW = Apia (Samoa) HIR = Honiara DPS = Denpasar (Bali) |
Removes port(s) from the destination or origin list. e.g.
hide_origin=BNE,MEL&hide_dest=SYD
This will remove Brisbane and Melbourne from the origin list and Sydney from the destination list.
Some examples of possible combinations
When using the iframe use the following base path http://www.virginblue.com.au/skyframe/index.php followed by your query/configuration
Please note that your query/configuration will need to include your unique 'reporting code'. A reporting code will be provided to you by Virgin Blue once registration is complete. The examples below use the fictitious reporting code 'VD1234567'.
Base Example - Medium width and height combination with only ports of Australia and New Zealand
?ref=VD1234567&iframe=true&width=225&height=214&bg=CCCCCC&site=polynesianblue&from=AU,NZ&to=AU
Vertical Example - Larger height than width combination with all ports excluding Brisbane and Melbourne in origin list, and Sydney in destination list
?ref=VD1234567&iframe=true&width=190&height=330&bg=aa0000&site=virginblue&from=all&to=all&hide_origin=BNE,MEL&hide_dest=SYD
Horizontal Example - Larger width than height combination
?ref=VD1234567&iframe=true&width=650&height=170&bg=20426f&site=pacificblue&from=AU,NZ,TO&to=AU,NZ,FJ
Bad Combination Example - Not enough height
?ref=VD1234567&iframe=true&width=650&height=100&bg=1c1c1c&site=pacificblue&from=AU,NZ,TO&to=AU,NZ,FJ