added new index.html and history.html to digitalglarus
This commit is contained in:
parent
1d6c380127
commit
a27e7f9828
109 changed files with 14665 additions and 316 deletions
17
digitalglarus/static/digitalglarus/js/ungleich.js
Normal file
17
digitalglarus/static/digitalglarus/js/ungleich.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/* globals $, WOW */
|
||||
|
||||
$(function(){
|
||||
new WOW().init();
|
||||
$('.img-toggle').one('mouseover', toggleImage);
|
||||
});
|
||||
|
||||
function toggleImage(e) {
|
||||
var $this = $(this),
|
||||
toggle_img = $this.attr('data-replaced'),
|
||||
current_img = $this.attr('src');
|
||||
$this.fadeOut(600, function() {
|
||||
$this.attr('src', toggle_img);
|
||||
$this.attr('data-replaced', current_img);
|
||||
$this.fadeIn(900);
|
||||
});
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue