MediaWiki:Cloud ServicesV2.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
//Click Handler for Product Icon Tile | //Click Handler for Product Icon Tile | ||
$(".ProductIconTile").click(function (){ | $(".ProductIconTile").click(function (){ | ||
window.location = $(this).find("a").attr("href"); | |||
return false; | |||
}); | }); | ||
Revision as of 01:13, 22 November 2018
//Click Handler for Product Icon Tile $(".ProductIconTile").click(function (){ window.location = $(this).find("a").attr("href"); return false; }); //Changes the Product Icon Tile to act like a button $(".ProductIconTile").css({"cursor":"pointer"});//Cursor change to a button-style $(".ProductIconTile").hover(function(){$(this).css({"background-color":"#ffffff","outline":"3px solid grey"});},function(){$(this).css({"background-color":"#f2f2f2","outline":"0px"});});//Hover change effect $(".ProductIconTile").title = ("This is a title test!");