$(document).ready(function() { $("#node1").hover( function(){ $("#start").toggle(); }); $("#node2").hover( function(){ $("#newspaper").show(); }); });;