Announcement

Collapse
No announcement yet.

Custom Buttons

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Custom Buttons

    Hello
    Can anyone help me over a hump here?
    I'm trying to run an event using a custom button on a web page.

    The manual gives an example of button creation;

    <input type="submit" value="Stereopower" name="run_event">

    When I use this code, and you click on the button, the IR "power" command is sent and the Stereo unit toggles on/off just fine.

    When I get artsy, however, and creat custom buttons for my interface I get nothing.

    Down in the Mediaplayer forum is a wonderful example (by ndhunay feb '03) for operating WMP9 using custom buttons. But I can find no combination of "hs.sendir.stereo.... parenthesis, periods, commas, run_event etc. will get that led to flicker following my "onclick" command.

    Whats the trick?
    Thanks
    Paul Nordberg

    #2
    Paul,

    Image buttons need to be in seperate forms with a hidden field to specify the action:

    <form method=post>
    <input type="hidden" Value="Stereopower" name="run_event">
    <input type="image" name="button" src="Stereopower.gif">
    </form>


    Paul

    Comment

    Working...
    X