I'm trying to get onmouseover and onmouseout to work in some fairly simple PHP code. While the resulting webpage source code shows the HTML markup just fine, for the onmouseover and onmouseout attributes, the anchor continues to show (in the window status bar or equivalent in Chrome, etc.) the original target that I am trying mask.
If I test with a simple html on my desktop, then the onmouseover and onmouseout work fine; they just don't work on pages served on the web. Any ideas of what I am doing wrong? Or is there an alternative I can use? I just don't want people to see the affiliate marketing domain of 'http://www.anrdoezrs.net/click-5510191-10819825' when the link is actually/ultimately going to Groupon, or what not. Hoping there is an easy syntax fix or alternative way of accomplishing this. Thank You.
(These destination variables or in an array; a random one from the array gets chosen to be passed to the HTML.)
$images1[0] = "<a href = 'http://www.anrdoezrs.net/click-5510191-10819825' target='_blank' onmouseover=\"window.status='http://www.groupon.com?z=dealpage';return true;\" onmouseout=\"window.status=' ';return true;\"><img src='//www.tqlkg.com/image-5510191-10819825' width='468' alt='Groupon: Get the Best Deal in New York Today!' border='0' /></a>"