Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- $('#homeImg').mouseover(function(){
- $('#nav ul li a.firstItem').css('background-color', 'rgba(200,50,40,0.9)');
- });
- $('#homeImg').mouseout(function(){
- $('#nav ul li a.firstItem').css('background-color', 'rgba(0,0,0,0)');
- });
- $('#nav ul li a.firstItem').mouseover(function(){
- $('#nav ul li a.firstItem').css('background-color', 'rgba(200,50,40,0.9)');
- });
- $('#nav ul li a.firstItem').mouseout(function(){
- $('#nav ul li a.firstItem').css('background-color', 'rgba(0,0,0,0)');
- });
- $('#aboutImg').mouseover(function(){
- $('#nav ul li a.secondItem').css('background-color', 'rgba(200,50,40,0.9)');
- });
- $('#aboutImg').mouseout(function(){
- $('#nav ul li a.secondItem').css('background-color', 'rgba(0,0,0,0)');
- });
- $('#nav ul li a.secondItem').mouseover(function(){
- $('#nav ul li a.secondItem').css('background-color', 'rgba(200,50,40,0.9)');
- });
- $('#nav ul li a.secondItem').mouseout(function(){
- $('#nav ul li a.secondItem').css('background-color', 'rgba(0,0,0,0)');
- });
- $('#bookingImg').mouseover(function(){
- $('#nav ul li a.thirdItem').css('background-color', 'rgba(200,50,40,0.9)');
- });
- $('#bookingImg').mouseout(function(){
- $('#nav ul li a.thirdItem').css('background-color', 'rgba(0,0,0,0)');
- });
- $('#nav ul li a.thirdItem').mouseover(function(){
- $('#nav ul li a.thirdItem').css('background-color', 'rgba(200,50,40,0.9)');
- });
- $('#nav ul li a.thirdItem').mouseout(function(){
- $('#nav ul li a.thirdItem').css('background-color', 'rgba(0,0,0,0)');
- });
- $('#contactImg').mouseover(function(){
- $('#nav ul li a.fourthItem').css('background-color', 'rgba(200,50,40,0.9)');
- });
- $('#contactImg').mouseout(function(){
- $('#nav ul li a.fourthItem').css('background-color', 'rgba(0,0,0,0)');
- });
- $('#nav ul li a.fourthItem').mouseover(function(){
- $('#nav ul li a.fourthItem').css('background-color', 'rgba(200,50,40,0.9)');
- });
- $('#nav ul li a.fourthItem').mouseout(function(){
- $('#nav ul li a.fourthItem').css('background-color', 'rgba(0,0,0,0)');
- });
- $('#ridesImg').mouseover(function(){
- $('#nav ul li a.fifthItem').css('background-color', 'rgba(200,50,40,0.9)');
- });
- $('#ridesImg').mouseout(function(){
- $('#nav ul li a.fifthItem').css('background-color', 'rgba(0,0,0,0)');
- });
- $('#nav ul li a.fifthItem').mouseover(function(){
- $('#nav ul li a.fifthItem').css('background-color', 'rgba(200,50,40,0.9)');
- });
- $('#nav ul li a.fifthItem').mouseout(function(){
- $('#nav ul li a.fifthItem').css('background-color', 'rgba(0,0,0,0)');
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement