jcadima
6/17/2015 - 8:59 PM

Change Cursor with Jquery

Change Cursor with Jquery

jQuery.noConflict();	
jQuery(document).ready(function() {

	jQuery(".mainmenu a:contains('Forms')").click(function(e) {
	    e.preventDefault();
	});
	
	jQuery(".mainmenu a:contains('Resources')").click(function(e) {
	   e.preventDefault();
	});
	
// ref
// https://css-tricks.com/almanac/properties/c/cursor/

	
	//  make cursor change to default ,override pointer since link is inactive
   jQuery(".mainmenu a:contains('Forms')").hover(function() {
        $(this).css('cursor','default');
    });

   jQuery(".mainmenu a:contains('Resources')").hover(function() {
        $(this).css('cursor','default');
    });

});