Destinations

 
'); $('.grid-gallery #cwz-sortable-1 .galleryvid').append('
'); $('.grid-gallery #cwz-sortable-1 .galleryimg,.grid-gallery #cwz-sortable-1 .galleryvid').hover( //Mouseover, fadeIn the hidden hover class function() { $(this).children('div').css('display', 'block'); // FIX IE BUG $(this).children('div').fadeTo("slow",0.6); }, //Mouseout, fadeOut the hover class function() { $(this).children('div').fadeTo("fast",0, function() { }); }); $("#cwz-sortable-1 img.reflect").reflect({height:35,opacity:0.2}); $("a[rel^='prettyPhoto']").prettyPhoto({ keyboard_shortcuts: false, theme: 'light_rounded' }); if ($.browser.msie && $.browser.version=="7.0" && typeof Cufon !== "undefined"){ Cufon.replace('#cwz-sortable-1 h2'); } else if(typeof Cufon !== "undefined") { Cufon.refresh(); } $('#cwz-sortable-1 .gridimg-wrap').hover(function(e) { $(this).find('.title').hoverFlow(e.type, { height: "show" }, 400, "easeInOutCubic"); }, function(e) { $(this).find('.title').hoverFlow(e.type, { height: "hide" }, 400, "easeInBack"); }); $('#cwz-sortable-1 .jwplayer').each(function(index) { str=''; str = $(this).attr("id"); if(str.search("video")==-1) { videodata = $('.viddata-'+str).attr('value'); var videodata_array = new Array(); videodata_array = videodata.split(','); jwplayer(str).setup({ 'id': 'player_'+str, 'width': '200', 'height': '160', 'file': videodata_array[0], 'stretching': 'exactfit', 'image': videodata_array[1], 'players': [ {type: 'html5'}, {type: 'flash', src: ''}, {type: 'download'} ] }); } }); } }; var $list = $('div#cwz-sortable-1'); var $data = $list.clone(); var $controls = $('ul.splitter.id-1 ul'); $controls.each(function(i) { var $control = $(this); var $buttons = $control.find('a'); $buttons.bind('click', function(e) { var $button = $(this); var $button_container = $button.parent(); var button_properties = read_button($button_container.attr('class').split(' ')); var selected = button_properties.selected; var button_segment = button_properties.segment; if (!selected) { var cnt = $(".splitter.id-1 ul li").length+1; // Cycle through list and remove class for(var i=1; i
© 2012 Pakistan Tours Guide
Developed by Kaleem Sajid
WP Socializer Aakash Web