You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.
function adjust _height ( ) {
var win _height = $ ( window ) . height ( ) ;
$ ( 'div#left, div#right' ) . css ( 'height' , ( win _height - ( win _height / 100 ) ) ) ;
console . log ( win _height ) ;
}
$ ( document ) . ready ( function ( ) {
adjust _height ( )
/* 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("Git")').css('display', 'none');
// Img of module on mouseenter
$ ( 'div.moduleimg img' ) . mouseenter ( function ( ) {
var modulo _photo = $ ( this ) . attr ( 'src' ) . replace ( 'img/pcb_' , 'img/mimgphoto_' ) . replace ( '.png' , '.jpg' ) ;
$ ( this ) . attr ( 'src' , modulo _photo ) ;
} ) ;
$ ( 'div.moduleimg img' ) . mouseleave ( function ( ) {
var modulo _pcb = $ ( this ) . attr ( 'src' ) . replace ( 'img/mimgphoto_' , 'img/pcb_' ) . replace ( '.jpg' , '.png' ) ;
$ ( this ) . attr ( 'src' , modulo _pcb ) ;
} ) ;
} )
$ ( window ) . resize ( function ( ) {
adjust _height ( ) ;
} )