pwfletcher wrote:editordz wrote:could one of you kindly post how to accomplish this? I've looked at the templates, but it doesn't seem to be HTML code.
thanks,
dan
Here is an example ... note that I had to make it 500 instead of 480 to give it a 10 pixel border on each side. The control page is 480 x 480 ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Stone Meadow</title>
<meta name="viewport" content="width=320; user-scalable=false" />
</head>
<body topmargin="0" leftmargin="0" onload='setTimeout(function(){window.scrollTo(0, 1);}, 100)'; >
<iframe src="http://192.168.0.175:8000/controlpage?name=iPhone" width="320" height="480" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0"></iframe>
</body>
</html>
macpro wrote:I'm also using two bookmarks to access my control pages on my PowerBook.
One for when I'm at home and one for internet access.
snowjay wrote:I'm trying to design for my iPhone now and would love to see some of your other screens for ideas.
Looks good so far!
snowjay wrote:Are you using the Prism reflector or going straight to your Mac with authenticated access?
I'm probably going to do the latter, allowing anyone on my local network access to the web page and then external access will be guarded with a name/password. I'll also do some port forwarding on the router to hide the server.
Mark wrote:I, too, access my control pages with two URLs. One while home, another while away. I use a direct URL while away, not Prism. Works fine.
...
Not sure what all this talk is of margins and borders and frames, etc. I use a 320 x 480 control page, with a colored background (no graphic). And just four, tiny, 4K buttons. Everything else is just text. That's it. Loads like a bullet! My Actions page uses just ONE 4K graphic. Gotta hack and hew for that mighty "Edge" network!
I only added this one line to the head section of Indigo's html template file called "controlpage.html":
<meta>
...
macpro wrote:snowjay wrote:Are you using the Prism reflector or going straight to your Mac with authenticated access?
I'm probably going to do the latter, allowing anyone on my local network access to the web page and then external access will be guarded with a name/password. I'll also do some port forwarding on the router to hide the server.
I'm using the method that you would like to use. Works fine.
Although I could also use a SSH tunnel, but this is easier because I only have to remember the portname, username and password to access my control pages from any internet connection.
snowjay wrote:Plus you can't do an SSH tunnel on the iPhone, well at least not easily.
Users browsing this forum: No registered users and 3 guests