Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Created by Hilde on 1-5-2015.
- */
- var main=function(){
- var $about_navigation=$('#aboutNav'),
- $goals_navigation=$('#goalsNav'),
- $service_navigation=$('#serviceNav'),
- $contact_navigation=$('#contactNav');
- $about_navigation.onclick(function () {
- $about_navigation.style.backgroundColor = "#F5F5F5";
- $goals_navigation.style.backgroundColor = "#778899";
- $service_navigation.style.backgroundColor = "#778899";
- $contact_navigation.style.backgroundColor = "#778899";
- });
- };
- $(document).ready(main);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement