I want the border color to change to black instead of #FF00FF when hovering over an image. Here's my current JavaScript code:
javascript:for(i=0;i<document.getElementsByTagName('img').length;i++)
{
var imgTag=document.getElementsByTagName('img')[i];
imgTag.style.border='5px solid #FF00FF';
imgTag.title='';
imgTag.onclick=function()
{
return !window.open('http://www.example.com/#/'+this.src);
}
}
void(0)
Any suggestions on how I can achieve this? Thank you. -Frank