This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function lettersOnly(evt) { | |
evt = (evt) ? evt : event; | |
var charCode = (evt.charCode) ? evt.charCode : ((evt.keyCode) ? evt.keyCode : | |
((evt.which) ? evt.which : 0)); | |
if (charCode > 31 && (charCode < 65 || charCode > 90) && | |
(charCode < 97 || charCode > 122)) { | |
alert("Enter letters only."); | |
return false; | |
} | |
return true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stickyMenu: function() { | |
if ($("body").hasClass("boxed")) return !1; | |
var a = $("body header:first"), | |
b = a.height(), | |
e = a.find(".logo"), | |
d = a.find(".logo img"), | |
k = d.width(), | |
l = d.height(), | |
m = this; | |
d.css("height", 40); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var slider = $('.bxslider').bxSlider({ | |
onSlideNext: doThis, | |
onSlidePrev: doThis | |
}); | |
var slider1 = $('.bxslider1').bxSlider({ | |
onSlideNext: doThis, | |
onSlidePrev: doThis | |
}); | |
function doThis(ele, old, newi){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var h = $(window).height(); | |
var header = $('.header').height(); | |
$('.main-screen').css({ | |
height: h - header | |
}); | |
/*-----*/ | |
var h = $(window).height(); | |
$('.main-screen').css({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var owl = $('.owl-class'); | |
owl.on('mousewheel', '.owl-wrapper', function (e) { | |
if (e.deltaY>0) { | |
owl.trigger('owl.next'); | |
} else { | |
owl.trigger('owl.prev'); | |
} | |
e.preventDefault(); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var slider = $('#addressesList').slick({ | |
}); | |
$('a').on("click", function() { | |
$('#addressesList').css('display', 'block'); | |
$('#addressesList').get(0).slick.setPosition() | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.dijitalders.com/rs/ic/google_map_30_ile_directions_yol_tarifi_kullanimi__4708_0.png | |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"/> | |
<link href="http://code.google.com/apis/maps/documentation/javascript/examples/default.css" rel="stylesheet" type="text/css" /> | |
<script type="text/javascript" | |
src="http://maps.google.com/maps/api/js?sensor=false"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="" class="owl-carousel"> | |
<div class="item"><img src="http://placehold.it/350x150/2E5DB5/ffffff&text=1st Slider" alt="Owl Image"/></div> | |
<div class="item"><img src="http://placehold.it/350x150/2E5DB5/ffffff&text=1st Slider" alt="Owl Image"/></div> | |
<div class="item"><img src="http://placehold.it/350x150/2E5DB5/ffffff&text=1st Slider" alt="Owl Image"/></div> | |
<div class="item"><img src="http://placehold.it/350x150/2E5DB5/ffffff&text=1st Slider" alt="Owl Image"/></div> | |
<div class="item"><img src="http://placehold.it/350x150/2E5DB5/ffffff&text=1st Slider" alt="Owl Image"/></div> | |
<div class="item"><img src="http://placehold.it/350x150/2E5DB5/ffffff&text=1st Slider" alt="Owl Image"/></div> | |
<div class="item"><img src="http://placehold.it/350x150/2E5DB5/ffffff&text=1st Slider" alt="Owl Image"/></div> | |
</div> | |
<hr/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
$('.map').click(function () { | |
$('.map iframe').css("pointer-events", "auto"); | |
}); | |
$( ".map" ).mouseleave(function() { | |
$('.map iframe').css("pointer-events", "none"); | |
}); | |
}); |
OlderNewer