Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

iphone remote question

If you have a question or need help, this is the place to be.
Post Reply
Keo
Posts: 4
Joined: Sun Jul 12, 2009 3:35 am

iphone remote question

Post by Keo »

I am working on creating a remote for the iphone, and I have everything working except I don't like how the addres bar appears evertime I select a button.

Here is what my code looks like. How do I stop the address bar from appearing when I select a button?
GreatRoom.zip
(1.19 KiB) Downloaded 133 times
User avatar
Fiasco
Plugin Developer
Posts: 222
Joined: Fri Jul 24, 2009 5:32 am
Location: St. Louis MO
Contact:

Re: iphone remote question

Post by Fiasco »

Add this to your html header

<meta name="apple-mobile-web-app-capable" content="yes">

Then bookmark your web based remote to your iphone desktop or homescreen.

When loaded from your home screen there will be no nav bars.

Additonally you can set the icon used with this in the html header

<link rel="apple-touch-icon" href="Images/HomeScreenIcon.png">
Keo
Posts: 4
Joined: Sun Jul 12, 2009 3:35 am

Re: iphone remote question

Post by Keo »

Fiasco wrote:Add this to your html header

<meta name="apple-mobile-web-app-capable" content="yes">

Then bookmark your web based remote to your iphone desktop or homescreen.

When loaded from your home screen there will be no nav bars.

Additonally you can set the icon used with this in the html header

<link rel="apple-touch-icon" href="Images/HomeScreenIcon.png">
Thanks for the reply, but I that only takes care of the initial load. When I select a button on my remote, the address bar drops down momentarrily. I am trying to prevent that from happening.
User avatar
Fiasco
Plugin Developer
Posts: 222
Joined: Fri Jul 24, 2009 5:32 am
Location: St. Louis MO
Contact:

Re: iphone remote question

Post by Fiasco »

What I have done is:

I've got several remote screens. My HTML file contains all these remotes in seperate divisions. (div tag). All the divisions are hidden except two. The current remote screen and my custom nav bar along the bottom. When I click a button to change remote screens I hide the current remote division and then unhide the new division I want to show.

The nav bar never shows.
Post Reply