Skip to content

Commit

Permalink
logo link
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro Catania committed Jan 23, 2018
1 parent c4ffd1c commit cf9c94a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,15 @@ function pad(n) {
$('#container2').removeClass('click');
});

$('#logo').on('click',function(){
$('#portfolioBox').hide();
$('#contactBox').hide();
$('#infoBox').hide();
$('#container2').removeClass('white');
$('#container2').addClass('click');
});


//------------------------------------------------RESIZE
var windowWidth = $(window).innerWidth();
var windowHeight = $(window).innerHeight();
Expand Down Expand Up @@ -243,7 +252,7 @@ function pad(n) {


<div id="menu">
<img src="assets/nome.png"><br>
<img id="logo" src="assets/nome.png" style="max-width: 27.5em; cursor: pointer"><br>
<!--h1>PierPaoloMoro</h1-->
<span id="portfolio">portfolio</span> \ <span id="info">info</span> \ <span id="contact">contact</span>

Expand Down

0 comments on commit cf9c94a

Please sign in to comment.