0byt3m1n1
Path:
/
home1
/
aserty
/
public_html
/
bonniescraftygifts.com
/
iFzj4
/
configCHM
/
Jump
/
0-aserty
/
testapp
/
wp-content
/
themes
/
ifeature
/
elements
/
lib
/
js
/
[
Home
]
File: elements.js
/** * Title: Elements JS * * Description: Defines JS for elements. * * Please do not edit this file. This file is part of the Cyber Chimps Framework and all modifications * should be made in a child theme. * * @category Cyber Chimps Framework * @package Framework * @since 1.0 * @author CyberChimps * @license http://www.opensource.org/licenses/gpl-license.php GPL v2.0 (or later) * @link http://www.cyberchimps.com/ */ /* Boxes element make all the same height */ jQuery(document).ready(function($) { if($(window).width() > 767) { setTimeout(function() { $('#widget-boxes-container .box').css('height', $('#widget-boxes-container').height() - 20) }, 500 ); } $('.boxes .box').each(function(){ var url = $(this).children('.box-link').attr('href'); $(this).hover(function(){ if(url && url != '') $(this).css('cursor', 'pointer'); }, function(){ $(this).css('cursor', 'default'); }); $(this).click(function(){ if(url && url != '') window.location = url; }) }); //starts carousel cycle $('.carousel').carousel('cycle'); });