This wiki is no longer being updated as of December 10, 2025.
|
MediaWiki:Cloud ServicesV2.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
//Changes the Product Icon Tile to act like a button | //Changes the Product Icon Tile to act like a button | ||
$(".ProductIconTile").css({"cursor":"pointer"});//Cursor change to a button-style | $(".ProductIconTile").css({"cursor":"pointer"});//Cursor change to a button-style | ||
$(".ProductIconTile").hover(function(){$(this).css({"background-color":"#ffffff","outline":"3px solid | $(".ProductIconTile").hover(function(){$(this).css({"background-color":"#ffffff","outline":"3px solid #f2f2f2"});},function(){$(this).css({"background-color":"#f2f2f2","outline":"0px"});});//Hover change effect | ||
$(".ProductIconTile").title = ("This is a title test!"); | $(".ProductIconTile").title = ("This is a title test!"); | ||
Latest revision as of 01:14, 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 #f2f2f2"});},function(){$(this).css({"background-color":"#f2f2f2","outline":"0px"});});//Hover change effect
$(".ProductIconTile").title = ("This is a title test!");