|
|
@ -7,9 +7,23 @@ function adjust_height(){
|
|
|
|
$(document).ready(function(){
|
|
|
|
$(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
|
|
adjust_height()
|
|
|
|
adjust_height()
|
|
|
|
|
|
|
|
|
|
|
|
/* hidden Manual, Git links until manual as uploaded and git dir are ready */
|
|
|
|
/* hidden Manual, Git links until manual as uploaded and git dir are ready */
|
|
|
|
$('div.links > a:contains("Manual")').css('display', 'none');
|
|
|
|
$('div.links > a:contains("Manual")').css('display', 'none');
|
|
|
|
$('div.links > a:contains("Git")').css('display', 'none');
|
|
|
|
$('div.links > a:contains("Git")').css('display', 'none');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('div.moduleimg img').mouseenter(function(){
|
|
|
|
|
|
|
|
var modulo_photo = $(this).attr('src').replace('img/pcb_', 'img/photo_').replace('.png','.png');
|
|
|
|
|
|
|
|
// $(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');
|
|
|
|
|
|
|
|
// $(this).attr('src', modulo_pcb);
|
|
|
|
|
|
|
|
// $(this).css('border', '1px solid red');
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
$(window).resize(function(){
|
|
|
|
$(window).resize(function(){
|
|
|
|