SHARE
TWEET

Untitled

a guest Aug 19th, 2019 130 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div id="spread-out-menu">
  2. <h3><a href="#">Industries</a></h3>
  3. <h3><a href="#">Services</a></h3>
  4. <h3><a href="#">About Us</a></h3>
  5. <h3><a href="#">Insights</a></h3>
  6. <h3><a href="#">Careers</a></h3>
  7. <h3><a href="#">Contact Us</a></h3>
  8. </div>
  9.      
  10. /*specifies hover color of items in main menu*/
  11. $(document).ready(function(){    
  12.     $("#spread-out-menu a").hover(function(){
  13.         $("#spread-out-menu a").css("color", "black");
  14.     }, function(){
  15.         $("#spread-out-menu a").css("color", "#C10000");
  16.     });
  17. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top