MediaWiki:Cloud ServicesV2.js

From Melissa Data Wiki
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
//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!");