You are here: Re: Is this possible? « PHP Programming Language « IT news, forums, messages
Re: Is this possible?

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....
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация