OUR HERITAGE
Smyrna is the ancient city located at a central and strategic point on the Aegean ... Read More
Yeşilova Höyük is the oldest settlement area in Izmir. Before it was discovered in 2003, ... Read More
Yeşilova Höyük is the oldest settlement area in Izmir. Before it was discovered in 2003, ... Read More
');
$('.grid-gallery #cwz-sortable-0 .galleryvid').append('
');
$('.grid-gallery #cwz-sortable-0 .galleryimg,.grid-gallery #cwz-sortable-0 .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-0 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-0 h2');
} else if(typeof Cufon !== "undefined") {
Cufon.refresh();
}
$('#cwz-sortable-0 .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-0 .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': '160',
'height': '125',
'file': videodata_array[0],
'stretching': 'exactfit',
'image': videodata_array[1],
'players': [
{type: 'html5'},
{type: 'flash', src: ''},
{type: 'download'}
]
});
}
});
}
};
var $list = $('div#cwz-sortable-0');
var $data = $list.clone();
var $controls = $('ul.splitter.id-0 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-0 ul li").length+1; // Cycle through list and remove class
for(var i=1; i