Jump to content

link to do a command


flemingmike

Recommended Posts

hello, i was wondering if there is a way to have a link do a command, but not to goto a page.  my reason being is that the music player software i use has a built in web server and if you goto a certain page, it will process that command.  so right now, i have an iframe that i do a target to.  its pretty mickey mouse, but its what i knew how to do.

 

thanks

Link to comment
Share on other sites

here is my iframe

 

<iframe name="control" width="1" height="1" scrolling="no" frameBorder="0" src=" "></iframe>

 

and here is example of a button to start playing

 

<a target="control" href="http://'.$mp[host].':'.$mp[port].'/1.0/?method=player.play">
<img border="0" src="images/Button-Play-icon.bmp" width="64" height="64">

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.