$(window).load(function() { //Default Action $(".tab_content").hide(); $("ul.tabs li:first").addClass("active").show(); $(".tab_content:first").show(); //On Click Event $("ul.tabs li").click(function() { $("ul.tabs li").removeClass("active"); $(this).addClass("active"); $(".tab_content").hide(); var activeTab = $(this).find("a").attr("href"); $(activeTab).fadeIn(); if(activeTab == '#tab3') { $(window).resize(function(){ //$("#tab4").css({'display':'block'}); //$("#map_canvas").css({'width':'650px', 'height':'450px'}); //initialize(); //alert('Changed!'); }); } return false; }); }); function initialize() { var map_options = { center: new google.maps.LatLng(34.597042,104.04785), zoom: 2, scrollwheel: false, mapTypeControl: false, streetViewControl: false, mapTypeId: google.maps.MapTypeId.ROADMAP }; var google_map = new google.maps.Map(document.getElementById("map_canvas"), map_options); var info_window = new google.maps.InfoWindow({ content: 'loading', maxWidth: 200 }); var Iconarr =['images/more-destination/bali-flag.png', 'images/more-destination/bhutan-flag.png', 'images/more-destination/burma-flag.png', 'images/more-destination/cambodia-flag.png', 'images/more-destination/china-flag.png', 'images/more-destination/hong-kong-flag.png', 'images/more-destination/india-flag.png', 'images/more-destination/indonesia-flag.png', 'images/more-destination/japan-flag.png', 'images/more-destination/jordan-flag.png', 'images/more-destination/jordan-flag.png', 'images/more-destination/jordan-flag.png', 'images/more-destination/jordan-flag.png', 'images/more-destination/jordan-flag.png','images/more-destination/jordan-flag.png', 'images/more-destination/laos-flag.png', 'images/more-destination/malaysia-flag.png', 'images/more-destination/maldives-flag.png', 'images/more-destination/nepal-flag.png','images/more-destination/oman-flag.png', 'images/more-destination/oman-flag.png', 'images/more-destination/oman-flag.png', 'images/more-destination/oman-flag.png', 'images/more-destination/oman-flag.png', 'images/more-destination/philippines-flag.png', 'images/more-destination/singapore-flag.png', 'images/more-destination/sri-lanka-flag.png', 'images/more-destination/taiwan-flag.png', 'images/more-destination/thailand-flag.png', 'images/more-destination/united-arab-emirates-flag.png', 'images/more-destination/united-arab-emirates-flag.png', 'images/more-destination/united-arab-emirates-flag.png', 'images/more-destination/vietnam-flag.png']; var t = []; var x = []; var y = []; var h = []; t.push('Bali'); x.push(-8.363693); y.push(115.191193); h.push('

Bali
Bali holidays
Bali is an island and a province of Indonesia. The province covers a few small neighbouring islands as...

FIND OUT MORE »

'); t.push('Bhutan'); x.push(27.405909); y.push(90.416565); h.push('

Bhutan
Bhutan holidays
Bhutan, officially the Kingdom of Bhutan, is a landlocked country in South Asia located at the eastern...

FIND OUT MORE »

'); t.push('Burma'); x.push(21.166484); y.push(96.188964); h.push('

Burma
Burma holidays
Burma is a sovereign state in Southeast Asia bordered by China, Thailand, India, Laos and Bangladesh....

FIND OUT MORE »

'); t.push('Cambodia'); x.push(12.683215); y.push(104.906616); h.push('

Cambodia
Cambodia holidays
Cambodia, officially known as the Kingdom of Cambodia and once known as the Khmer Empire, is a country...

FIND OUT MORE »

'); t.push('China'); x.push(34.597042); y.push(104.04785); h.push('

China
China holidays
China, officially the Peoples Republic of China (PRC), is a sovereign state located in East Asia. It...

FIND OUT MORE »

'); t.push('Hong Kong'); x.push(22.390714); y.push(114.169006); h.push('

Hong Kong
Hong Kong holidays
Hong Kong is one of the two Special Administrative Regions of the Peoples Republic of China, the other...

FIND OUT MORE »

'); t.push('India'); x.push(22.674847); y.push(79.526365); h.push('

India
India holidays
India, is a country in South Asia. It is the seventh-largest country by area, the second-most populous...

FIND OUT MORE »

'); t.push('Indonesia'); x.push(-1.933227); y.push(114.228512); h.push('

Indonesia
Indonesia holidays
Indonesia, officially the Republic of Indonesia, is a sovereign state in Southeast Asia and Oceania....

FIND OUT MORE »

'); t.push('Japan'); x.push(35.710838); y.push(139.650878); h.push('

Japan
Japan holidays
Japan is an island nation in East Asia. Located in the Pacific Ocean, it lies to the east of the Sea...

FIND OUT MORE »

'); t.push('Amman Dead Sea'); x.push(31.956605); y.push(35.945708); h.push('

Amman Dead Sea
Amman Dead Sea holidays
The Dead Sea has its eastern coast in Jordan. It is the lowest point in the world at 394.6 m (1269 ft...

FIND OUT MORE »

'); t.push('Aqaba'); x.push(29.532056); y.push(35.006168); h.push('

Aqaba
Aqaba holidays
Aqaba is a Jordanian coastal city situated at the northeastern tip of the Red Sea. Aqaba is the largest...

FIND OUT MORE »

'); t.push('Madaba'); x.push(31.719589); y.push(35.794179); h.push('

Madaba
Madaba holidays
Madaba, is the capital city of Madaba Governorate in central Jordan, which has a population of about...

FIND OUT MORE »

'); t.push('Petra'); x.push(30.328953); y.push(35.44266); h.push('

Petra
Petra holidays
Petra is a historical and archaeological city in the southern Jordanian governorate of Maan, that is...

FIND OUT MORE »

'); t.push('Wadi Rum'); x.push(29.593162); y.push(35.427361); h.push('

Wadi Rum
Wadi Rum holidays
Wadi Rum also known as The Valley of the Moon is a valley cut into the sandstone and granite rock in...

FIND OUT MORE »

'); t.push('Jordan'); x.push(31.278551); y.push(36.824341); h.push('

Jordan
Jordan holidays
Jordan, officially the Hashemite Kingdom of Jordan, is an Arab kingdom in Western Asia, on the East Bank...

FIND OUT MORE »

'); t.push('Laos'); x.push(19.601194); y.push(102.476806); h.push('

Laos
Laos holidays
Laos , pronounced Sathalanalat Paxathipatai Paxaxon Lao, officially the Lao Peoples Democratic Republic...

FIND OUT MORE »

'); t.push('Malaysia'); x.push(3.162456); y.push(101.687622); h.push('

Malaysia
Malaysia holidays
Malaysia is a federal constitutional monarchy in Southeast Asia. It consists of thirteen states and three...

FIND OUT MORE »

'); t.push('Maldives'); x.push(4.176294); y.push(73.509514); h.push('

Maldives
Maldives holidays
Maldives, officially the Republic of the Maldives and also referred to as the Maldive Islands, is an...

FIND OUT MORE »

'); t.push('Nepal'); x.push(28.207609); y.push(84.01062); h.push('

Nepal
Nepal holidays
Nepal, officially the Democratic Republic of Nepal, is a landlocked sovereign state located in South...

FIND OUT MORE »

'); t.push('Musandam Peninsula'); x.push(25.993847); y.push(56.251144); h.push('

Musandam Peninsula
Musandam Peninsula holidays
The Musandam Governorate is a governorate of Oman. Geographically, the Musandam peninsula juts into the...

FIND OUT MORE »

'); t.push('Muscat'); x.push(23.614329); y.push(58.543167); h.push('

Muscat
Muscat holidays
Muscat is the capital of Oman. It is also the seat of government and largest city in the Governorate...

FIND OUT MORE »

'); t.push('Nizwa'); x.push(22.933417); y.push(57.533627); h.push('

Nizwa
Nizwa holidays
Nizwa is the largest city in the Ad Dakhiliyah Region in Oman and was the capital of Oman proper. Nizwa...

FIND OUT MORE »

'); t.push('Wahiba Sands'); x.push(21.943046); y.push(58.828812); h.push('

Wahiba Sands
Wahiba Sands holidays
The Wahiba Sands, or Ramlat al-Wahiba (also called Sharqiya Sands), is a region of desert in Oman. The...

FIND OUT MORE »

'); t.push('Oman'); x.push(20.509355); y.push(56.224365); h.push('

Oman
Oman holidays
Oman, officially called the Sultanate of Oman, is an Arab state in southwest Asia on the southeast coast...

FIND OUT MORE »

'); t.push('Philippines'); x.push(14.604847); y.push(120.930175); h.push('

Philippines
Philippines holidays
The Philippines, officially known as the Republic of the Philippines, is a sovereign island country in...

FIND OUT MORE »

'); t.push('Singapore'); x.push(1.272936); y.push(103.834305); h.push('

Singapore
Singapore holidays
Singapore, officially the Republic of Singapore, is a Southeast Asian island city-state (and the only...

FIND OUT MORE »

'); t.push('Sri Lanka'); x.push(7.585773); y.push(80.72113); h.push('

Sri Lanka
Sri Lanka holidays
Sri Lanka, officially the Democratic Socialist Republic of Sri Lanka, is an island country in the northern...

FIND OUT MORE »

'); t.push('Taiwan'); x.push(24.836596); y.push(121.62323); h.push('

Taiwan
Taiwan holidays
Taiwan, officially the Republic of China, is a state in East Asia and the first constitutional republic...

FIND OUT MORE »

'); t.push('Thailand'); x.push(15.580711); y.push(100.803222); h.push('

Thailand
Thailand holidays
Thailand, officially the Kingdom of Thailand, formerly known as Siam, is a country located at the centre...

FIND OUT MORE »

'); t.push('Abu Dhabi City'); x.push(24.490693); y.push(54.370746); h.push('

Abu Dhabi City
Abu Dhabi City holidays
Abu Dhabi is the capital and the second largest city of the United Arab Emirates in terms of population...

FIND OUT MORE »

'); t.push('Dubai'); x.push(25.274504); y.push(55.307693); h.push('

Dubai
Dubai holidays
Dubai is a city in the United Arab Emirates, located within the emirate. The emirate of Dubai is located...

FIND OUT MORE »

'); t.push('United Arab Emirates'); x.push(24.467151); y.push(54.334716); h.push('

United Arab Emirates
United Arab Emirates holidays
The United Arab Emirates, sometimes simply called the Emirates or the UAE, is an Arab country in the...

FIND OUT MORE »

'); t.push('Vietnam'); x.push(14.349548); y.push(108.186034); h.push('

Vietnam
Vietnam holidays
Vietnam, officially the Socialist Republic of Vietnam, is the easternmost country on the Indochina Peninsula...

FIND OUT MORE »

'); var i = 0; for (var i = 0; i < t.length; i++) { var m = new google.maps.Marker({ map: google_map, animation: google.maps.Animation.DROP, title: t[i], position: new google.maps.LatLng(x[i],y[i]), html: h[i], icon: Iconarr[i] }); google.maps.event.addListener(m, 'click', function() { info_window.setContent(this.html); info_window.open(google_map, this); }); } // Function added to help reset map and container boundaries $("#showMap").click(function() { $("#tab3").css({'display':'block'}); $("#map_canvas").css({'width':'570px', 'height':'500px'}); initialize(); //alert('showMap Clicked!'); }); } window.onload = function () { initialize(); }