Hey there, i have this code:
global $MouseOver, $MouseFocus;
$MouseOver = ' onMouseOver="this.filters.alpha.opacity=\'100\'" onMouseOut="this.filters.alpha.opacity=\'50\'" style="filter:alpha(opacity=50);-moz-opacity:50%;"';
$MouseFocus = ' onFocus="javascript:this.blur();"';
and a while further:
function printImage($IMAGEURL)
{
$TheImage="<IMG SRC=\"".$IMAGEURL."\"";
$TheImage=$TheImage.$MouseOver.">";
}
But in the function the "$MouseOver" variable is empty!!
Why?
I also tried to define them as global:
global $MouseOver;