Swincher wrote:[color=blue]
> Is there any way to do this? Or, lacking that, any way to simulate it?[/color]
One could always do it with javascript + XMLHttpRequest( ), since AJAX is
such a buzz nowadays... But it might be slow, depending on how you want
it to interact with the server.
Following on from Swincher's message. . .[color=blue]
>Hey - -
>
>Is there any way to do this? Or, lacking that, any way to simulate it?[/color]
Yes - sort-of.
You have to use Javascript (ie client-side) to capture the event. If
you think your users may not have js then there is no way.
Having captured the event how do you get PHP to fire up? There is only
one way and that's by requesting a page.
But!, you say, I'm quite happy with the page I'm on and fetching a new
page will overwrite it :( What's the answer? To open the new page in
its own window or in it's own frame.
IMHO OnMouseOver--->Get a page is going to result in a terrible user
interface.
On 7 Dec 2005 14:32:54 -0800, "william.clarke @gmail.com"
<william.clarke @gmail.com> wrote:
[color=blue]
>Why not do it client-side in javascript?[/color]
Thanks to all who responded. I am trying it that way now. I'm just not
that good at Java. I am used to a ASP-type of page. trying to learn to
do it another way, without a database involved.
Swincher wrote:[color=blue]
> On 7 Dec 2005 14:32:54 -0800, "william.clarke @gmail.com"
> <william.clarke @gmail.com> wrote:
>
>[color=green]
>>Why not do it client-side in javascript?[/color]
>
>
> Thanks to all who responded. I am trying it that way now. I'm just not
> that good at Java. I am used to a ASP-type of page. trying to learn to
> do it another way, without a database involved.
>
> Ken, aka Swincher[/color]
Nothing to do with Java. Do not confuse Java and Javascript - they have
nothing in common except some syntax.
Java is a general purpose programming language which can be used on its
own, or (in web context) either server-side or client-side.
Javascript is a scripting language, designed and (AFAIK) restricted to
client-side programming on web pages.
ASP and PHP (and for that matter Perl) are used server-side and the
client never sees the code, only the text (usually HTML) produced by the
code.
*** Colin Fine escribió/wrote (Fri, 09 Dec 2005 10:52:50 +0000):[color=blue]
> Javascript is a scripting language, designed and (AFAIK) restricted to
> client-side programming on web pages.[/color]
Actually, you can use JavaScript to write server-side scripts, shell
scripts, macros... You just need the appropriate interpreter.
Comment