|
Posted by shror on 03/15/07 13:04
On Mar 15, 3:28 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> shror wrote:
> > i want to add a midi file to my pages and i want to put two radio
> > buttons so that on is on and the other is off so that the users can
> > start or stop the file playing by choosing one of the radio buttons,
> > but the problem is that i dont know how to do it.
>
> > does any body know how this could be done
> > Thanks in advance for your help
>
> > shror
> >www.s7els7.com
>
> You can't do it in PHP. PHP is server side - it knows nothing about
> buttons being clicked on the client until the user submits the form.
> And once that form is submitted, PHP still can't affect the player on
> the client machine. That would be a huge security hole.
>
> You might be able to do it with javascript - but I doubt it. I haven't
> looked into the api's for the various players, so I don't know what you
> can and can't do client-side.
>
> But why bother? Players have their own start and stop buttons.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================
i have found that the card is loading if i choose for example off
music and its loading with another link, so i was wondering if i can
make the page reload by just chooseing a radio button, so that the on/
off radio buttons are a form part and directly by choosing a radio
button the form is submitted to be containing the music file or not.
anyway its just a idea if anybody can help me solving it
Thanks again
shror
www.s7els7.com
[Back to original message]
|