ACC SHELL

Path : /srv/www/vhosts/eqnxde/js/
File Upload :
Current File : /srv/www/vhosts/eqnxde/js/scripts.js

"use strict";

function goLikeUs() {
	window.open("http://facebook.com/EquinoxWheels", "_blank");
}

function goVisitUs() {
	window.open("http://www.equinox-bikes.eu/news_detail.php?id=149", "_blank");
}

$(document).ready(function() {
	$('.out').click( function () {
		window.open ($(this).attr('href'),"");
		return false;
	});

	/**
	 * Slide to in-page anchor
	 */
	$('[href^=#]')
		.click(function() {
			var hash = $(this).get(0).hash;

			if (hash == '' || ! $(hash).length) {
				return true;
			}

			$('html, body')
				.stop()
				.animate({
					scrollTop: $(hash).offset().top
				}, {
					easing: 'swing',
					duration: 600
				});

			return false;
		});

	$('#menu')
		.find('.languages')
		.hover(function() {
			$(this).addClass('languages-opened');
		}, function() {
			$(this).removeClass('languages-opened');
		});
});

ACC SHELL 2018