|
|
|
@ -14,20 +14,18 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Img of module on mouseenter
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
$('div.moduleimg img').mouseenter(function(){
|
|
|
|
|
var modulo_photo = $(this).attr('src').replace('img/pcb_', 'img/photo_').replace('.png','.png');
|
|
|
|
|
var modulo_photo = $(this).attr('src').replace('img/pcb_', 'img/mimgphoto_').replace('.png','.jpg');
|
|
|
|
|
$(this).attr('src', modulo_photo);
|
|
|
|
|
$(this).css('border', '3px solid blue');
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
$('div.moduleimg img').mouseleave(function(){
|
|
|
|
|
var modulo_pcb = $(this).attr('src').replace('img/photo_', 'img/pcb_').replace('.png','.png');
|
|
|
|
|
var modulo_pcb = $(this).attr('src').replace('img/mimgphoto_', 'img/pcb_').replace('.jpg','.png');
|
|
|
|
|
$(this).attr('src', modulo_pcb);
|
|
|
|
|
$(this).css('border', '1px solid red');
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
$(window).resize(function(){
|
|
|
|
|
adjust_height();
|
|
|
|
|
})
|
|
|
|
|