[eluser]Bl4cKWid0w[/eluser]
I am trying to use onmouseover and onmouseout with my anchors. I've tried many different codes but none of them seem to be working. This is my code:
Code:
<?php
$atts = array(
'onmouseover' => "window.status='Payment Options';return true;",
'onmouseout' => "window.status='';return true;",
'title' => 'Payment Options',
'rel' => "moodalbox"
);
?>
<h1 style='text-align: right;margin-right: 20px;'><?=anchor('http://www.unholydesigns.com/system/application/views/payment_options.html', "Download File", $atts); ?></h1>
This is how the link is displayed in the source html:
Code:
href="http://www.unholydesigns.com/system/application/views/payment_options.html" onmouseover="window.status='Payment Options';return true;" onmouseout="window.status='';return true;" title="Payment Options" rel="moodalbox">Download File
Edit: These lame forums wouldn't let me post the source of the link so I removed the a tags from the post.
I've never tried this method before. I want to hide the url in the status bar because the url is that of an html file in my views directory. Nothing I've tried seems to work.
Thanks for any help in advance,
Scott.