Difference between revisions of "MediaWiki:Cloud ServicesV2.js"

From Melissa Data Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
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;
});
});


//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":"1px solid red"});},function(){$(this).css({"background-color":"#f2f2f2"}{"outline":"0px"});});//Hover change effect
$(".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!");

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!");