|
@@ -35,8 +35,8 @@ jQuery(document).ready(function($) {
|
|
|
});
|
|
|
|
|
|
$('#caro').carousel({
|
|
|
- interval: 5000,
|
|
|
- wrap: true,
|
|
|
+ interval: false,
|
|
|
+ keyboard: false
|
|
|
});
|
|
|
$(document).bind('keyup', function(e) {
|
|
|
if (e.which === 39){
|
|
@@ -50,7 +50,7 @@ jQuery(document).ready(function($) {
|
|
|
e.preventDefault()
|
|
|
$(this).tab('show')
|
|
|
})
|
|
|
- $("#studio-caro").backstretch("../wp-content/themes/daw/img/desk2.jpg");
|
|
|
+ $("#studio-caro").backstretch("../wp-content/themes/daw/img/studio.jpg");
|
|
|
$('#caro').on('slid.bs.carousel', function(event) {
|
|
|
var consta = $('#caro li.active');
|
|
|
//console.log('target: ' + consta.data('target') + ' value: ' + consta.data('value') + ' slide-to: ' + consta.data('slideTo'));
|
|
@@ -61,7 +61,7 @@ jQuery(document).ready(function($) {
|
|
|
$('#studio-caro').addClass('caro-grad5').removeClass('caro-grad caro-grad3 caro-grad2 caro-grad5');
|
|
|
$('.site-title a').addClass('light');
|
|
|
$('.carousel-indicators li').removeClass('darken-carousel-indicators');
|
|
|
- $("#studio-caro").backstretch({url:'../wp-content/themes/daw/img/desk2.jpg', fade: 250 });
|
|
|
+ $("#studio-caro").backstretch({url:'../wp-content/themes/daw/img/studio.jpg', fade: 250 });
|
|
|
}
|
|
|
if (consta.data('slideTo') === 1) {
|
|
|
$('.studio-subnav a[href="#webdev"]').tab('show')
|