Posted by Jake on 08/29/07 21:39
Yes, it's possible, but not in the way that you are thinking. You
should try looking into AJAX.
Leoa wrote:
> 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....
>
[Back to original message]
|