ThomasStarck (Talk | contribs) |
|||
Line 901: | Line 901: | ||
// make chip stay over main menu point when its submenu appears and makes the submenu stay visible// | // make chip stay over main menu point when its submenu appears and makes the submenu stay visible// | ||
$("#project-sub") .hover(function(){ | $("#project-sub") .hover(function(){ | ||
− | $("#runningchip") .css('left',' | + | $("#runningchip") .css('left','125px'); |
$("#project-sub") .show(); | $("#project-sub") .show(); | ||
}, | }, | ||
Line 909: | Line 909: | ||
}); | }); | ||
$("#labwork-sub") .hover(function(){ | $("#labwork-sub") .hover(function(){ | ||
− | $("#runningchip") .css('left',' | + | $("#runningchip") .css('left','245px'); |
$("#labwork-sub") .show(); | $("#labwork-sub") .show(); | ||
}, | }, | ||
Line 917: | Line 917: | ||
}); | }); | ||
$("#parts-sub") .hover(function(){ | $("#parts-sub") .hover(function(){ | ||
− | $("#runningchip") .css('left',' | + | $("#runningchip") .css('left','365px'); |
$("#parts-sub") .show(); | $("#parts-sub") .show(); | ||
}, | }, | ||
Line 925: | Line 925: | ||
}); | }); | ||
$("#modeling-sub") .hover(function(){ | $("#modeling-sub") .hover(function(){ | ||
− | $("#runningchip") .css('left',' | + | $("#runningchip") .css('left','485px'); |
$("#modeling-sub") .show(); | $("#modeling-sub") .show(); | ||
}, | }, | ||
Line 933: | Line 933: | ||
}); | }); | ||
$("#achievements-sub") .hover(function(){ | $("#achievements-sub") .hover(function(){ | ||
− | $("#runningchip") .css('left',' | + | $("#runningchip") .css('left','605px'); |
$("#achievements-sub") .show(); | $("#achievements-sub") .show(); | ||
}, | }, | ||
Line 941: | Line 941: | ||
}); | }); | ||
$("#hp-sub") .hover(function(){ | $("#hp-sub") .hover(function(){ | ||
− | $("#runningchip") .css('left',' | + | $("#runningchip") .css('left','725px'); |
$("#hp-sub") .show(); | $("#hp-sub") .show(); | ||
}, | }, | ||
Line 950: | Line 950: | ||
$("#aboutus-sub") .hover(function(){ | $("#aboutus-sub") .hover(function(){ | ||
− | $("#runningchip") .css('left',' | + | $("#runningchip") .css('left','845px'); |
$("#aboutus-sub") .show(); | $("#aboutus-sub") .show(); | ||
}, | }, |
Revision as of 07:55, 16 August 2018