Advertisement
Guest User

Untitled

a guest
Sep 25th, 2012
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.50 KB | None | 0 0
  1. $(document).ready(function() {
  2. $('#homeImg').mouseover(function(){
  3. $('#nav ul li a.firstItem').css('background-color', 'rgba(200,50,40,0.9)');
  4. });
  5. $('#homeImg').mouseout(function(){
  6. $('#nav ul li a.firstItem').css('background-color', 'rgba(0,0,0,0)');
  7. });
  8. $('#nav ul li a.firstItem').mouseover(function(){
  9. $('#nav ul li a.firstItem').css('background-color', 'rgba(200,50,40,0.9)');
  10. });
  11. $('#nav ul li a.firstItem').mouseout(function(){
  12. $('#nav ul li a.firstItem').css('background-color', 'rgba(0,0,0,0)');
  13. });
  14. $('#aboutImg').mouseover(function(){
  15. $('#nav ul li a.secondItem').css('background-color', 'rgba(200,50,40,0.9)');
  16. });
  17. $('#aboutImg').mouseout(function(){
  18. $('#nav ul li a.secondItem').css('background-color', 'rgba(0,0,0,0)');
  19. });
  20. $('#nav ul li a.secondItem').mouseover(function(){
  21. $('#nav ul li a.secondItem').css('background-color', 'rgba(200,50,40,0.9)');
  22. });
  23. $('#nav ul li a.secondItem').mouseout(function(){
  24. $('#nav ul li a.secondItem').css('background-color', 'rgba(0,0,0,0)');
  25. });
  26. $('#bookingImg').mouseover(function(){
  27. $('#nav ul li a.thirdItem').css('background-color', 'rgba(200,50,40,0.9)');
  28. });
  29. $('#bookingImg').mouseout(function(){
  30. $('#nav ul li a.thirdItem').css('background-color', 'rgba(0,0,0,0)');
  31. });
  32. $('#nav ul li a.thirdItem').mouseover(function(){
  33. $('#nav ul li a.thirdItem').css('background-color', 'rgba(200,50,40,0.9)');
  34. });
  35. $('#nav ul li a.thirdItem').mouseout(function(){
  36. $('#nav ul li a.thirdItem').css('background-color', 'rgba(0,0,0,0)');
  37. });
  38. $('#contactImg').mouseover(function(){
  39. $('#nav ul li a.fourthItem').css('background-color', 'rgba(200,50,40,0.9)');
  40. });
  41. $('#contactImg').mouseout(function(){
  42. $('#nav ul li a.fourthItem').css('background-color', 'rgba(0,0,0,0)');
  43. });
  44. $('#nav ul li a.fourthItem').mouseover(function(){
  45. $('#nav ul li a.fourthItem').css('background-color', 'rgba(200,50,40,0.9)');
  46. });
  47. $('#nav ul li a.fourthItem').mouseout(function(){
  48. $('#nav ul li a.fourthItem').css('background-color', 'rgba(0,0,0,0)');
  49. });
  50. $('#ridesImg').mouseover(function(){
  51. $('#nav ul li a.fifthItem').css('background-color', 'rgba(200,50,40,0.9)');
  52. });
  53. $('#ridesImg').mouseout(function(){
  54. $('#nav ul li a.fifthItem').css('background-color', 'rgba(0,0,0,0)');
  55. });
  56. $('#nav ul li a.fifthItem').mouseover(function(){
  57. $('#nav ul li a.fifthItem').css('background-color', 'rgba(200,50,40,0.9)');
  58. });
  59. $('#nav ul li a.fifthItem').mouseout(function(){
  60. $('#nav ul li a.fifthItem').css('background-color', 'rgba(0,0,0,0)');
  61. });
  62. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement