Posted by Leoa on 08/29/07 21:17
Can you use javascript to activate a php function like so:
<?php
$tab="Tab.gif";
function myfunction($txt)
{
$tab = $txt;
echo($tab);
}
?>
<div class="backg" onMouseOver="<? php myfunction("Tab3.gif"); ?>"
STYLE="background-image: url(<?=$img_dir?>/images/<?php echo($tab);?
> )"
I'm trying to dynamically change the tab button when the when the user
mouse over the tab.
this site has the nav in a module.
any suggestions please....
Navigation:
[Reply to this message]
|