View Single Post
Posts: 29 | Thanked: 5 times | Joined on Jun 2008
#13
I got it figured out (with some help from someone I work with) in case anyone else is following. Here's the code for sending the commands to Eventghost and then opening an external page:

<div style="position: absolute; top: 270px; left: 30px;">
<INPUT type="image" src="images/button_listen_music.png"
onclick="location.href='index.html?HTTP.REC_PWRON_ DVD';
location.href='http://192.168.1.6/default.asp'"><br>
</div>

But after messing around with it I decided I wanted the 192.168 link to open in it's own window so I put in a popup command instead. This still send the IR commands to eventghost and then open this popup window.

<div style="position: absolute; top: 170px; left: 31px;"><a
href="#"
onclick="location.href='index.html?HTTP.REC_PWRON_ DVD';
popup=window.open('http://192.168.1.6/default.asp?Action=music','Popup'); return false;"><img
style="border: 0px solid ; width: 350px; height: 80px;"
alt="listen music" src="images/button_listen_music.png"></a><br>
</div>

Now that I know how to use the popup feature I can put in reminders for other users to make sure certain things are on that I can't control by IR yet (my 3.5TB unraid server for example) before they continue to the next pages of control.

J