Reply to Re: Is this possible?

Your name:

Reply:


Posted by Rik Wasmus on 08/30/07 07:59

On Wed, 29 Aug 2007 23:59:45 +0200, Steve <no.one@example.com> wrote:
> "Leoa" <leondria.barbee@gmail.com> wrote in message
> news:1188422263.801132.124720@r34g2000hsd.googlegroups.com...
> | Can you use javascript to activate a php function like so:
> | <?php
> | $tab=3D"Tab.gif";
> | function myfunction($txt)
> | {
> | $tab =3D $txt;
> | echo($tab);
> | }
> |
> | ?>
> | <div class=3D"backg" onMouseOver=3D"<? php myfunction("Tab3.gif"); ?=
>"
> | STYLE=3D"background-image: url(<?=3D$img_dir?>/images/<?php echo($ta=
b);?
> | > )"
> |
> | I'm trying to dynamically change the tab button when the when the us=
er
> | mouse over the tab.
>
> php executes on the server. javascript (etc.) executes in the browser =
on =

> the
> client's pc. this is strickly a javascript endeavor. however, here's h=
ow =

> i'd
> think about it...
>
>
> <div mOverSrc=3D"<?=3D

Short_tags, never a good idea....
-- =

Rik Wasmus

My new ISP's newsserver sucks. Anyone recommend a good one? Paying for =

quality is certainly an option.

[Back to original 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

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