revlet size inside a browser

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
rafaelcb
Posts: 2
Joined: Thu Dec 31, 2009 8:32 am

revlet size inside a browser

Post by rafaelcb » Thu Dec 31, 2009 8:44 am

Hello All,

I've been testing Revolution for a few days now and have found it quite interesting. My main interest in is is for development of web-based applications.

I have managed to produce some simple examples, execute them locally, produce a web application and upload it to my we server with good results. However, there are a few annoying aspects which I don't know how to solve.

1) When I create a web application, 2 files are created. A basic HTML and the revlet itself. Is there a way to custoize the HTML file so for instance it doesn't include the first line
<center>
<h1>Test page for Untitled 1</h1>
<p>

(I know this question is simple to solve just creating the html by hand, but maybe there is a more advanced way)

2) Is there a way to make the revlet use the full browser space and resize when the browser is resized ?

Thanks!

Rafael

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: revlet size inside a browser

Post by mwieder » Sat Jan 02, 2010 6:44 pm

I'm not convinced this is a good idea, but if you really want to make that drastic of a change in the way the HTML is generated, look at the cHTMLStub of stack "revSaveAsStandalone" of stack "revStandaloneSettings".

rafaelcb
Posts: 2
Joined: Thu Dec 31, 2009 8:32 am

Re: revlet size inside a browser

Post by rafaelcb » Sat Jan 02, 2010 7:36 pm

Thanks for the answer. Regarding my second question, I clarify it a bit more. What I want is to create a 'fluid' revlet that uses the whole broser space and resizes if I resize the browser window, (for example just like this forum behaves).
I'v managed to find examples on how to do this with a Flash app, but the same method does not work with a Revlet.

Probably my ignorance of HTML is part of the problem....

Rafael

Post Reply