????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.217.109 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/www.astacus.se/wp-content/themes/x/framework/views/global/ |
Upload File : |
<?php
// =============================================================================
// VIEWS/GLOBAL/_SCRIPT-ISOTOPE-PORTFOLIO.PHP
// -----------------------------------------------------------------------------
// Isotope script call for portfolio output.
// =============================================================================
$stack = x_get_stack();
$is_rtl = is_rtl();
?>
<script>
jQuery(document).ready(function($) {
<?php if ( $is_rtl ) : ?>
$.Isotope.prototype._positionAbs = function( x, y ) {
return { right: x, top: y };
};
<?php endif; ?>
var $container = $('#x-iso-container');
var $optionSets = $('.option-set');
var $optionLinks = $optionSets.find('a');
$container.before('<span id="x-isotope-loading"><span>');
$(window).load(function() {
$container.isotope({
itemSelector : '.x-iso-container > .hentry',
resizable : true,
filter : '*',
<?php if ( $is_rtl ) : ?>
transformsEnabled : false,
<?php endif; ?>
containerStyle : {
overflow : 'hidden',
position : 'relative'
}
});
$('#x-isotope-loading').stop(true,true).fadeOut(300);
$('#x-iso-container > .hentry').each(function(i) {
$(this).delay(i * 150).animate({'opacity' : 1},500);
});
});
$(window).smartresize(function() {
$container.isotope({ });
});
$optionLinks.click(function() {
var $this = $(this);
if ( $this.hasClass('selected') ) {
return false;
}
var $optionSet = $this.parents('.option-set');
$optionSet.find('.selected').removeClass('selected');
$this.addClass('selected');
<?php if ( $stack == 'ethos' ) : ?>
$('.x-portfolio-filter-label').text($this.text());
<?php endif; ?>
var options = {},
key = $optionSet.attr('data-option-key'),
value = $this.attr('data-option-value');
value = value === 'false' ? false : value;
options[key] = value;
if ( key === 'layoutMode' && typeof changeLayoutMode === 'function' ) {
changeLayoutMode( $this, options );
} else {
$container.isotope( options );
}
return false;
});
$('.x-portfolio-filters').click(function() {
$(this).parent().find('ul').slideToggle(600, 'easeOutExpo');
});
});
</script>