msg window I can add info to without reformating page

D

Denise

Hi, I have a situation where we have an injured horse that we want to keep
putting updates on the websites as to her recovery but I have to keep
changing the page. What I would like to do is put a fixed size window to
which I can keep adding info and the viewer scrolls thru it to see
everything. It looks like something in form control but that's as close as I
could get. Is there a way to do this? Thanks.
 
D

DavidF

Ok. This is one of the few times I think that using an iframe might be a
good idea. Frames in general are not a good idea for a million reasons, but
in this case it might offer a solution.

Decide how wide you want the 'text box' that will contain the recovery
information. I will assume 480 pixels wide for purposes of this example.

Create a new, blank custom webpage. Choose Custom setup and make the page
480 pixels wide, but leave the length alone. Apply a background color if you
want, and then insert a text box and write your recovery information in that
text box. Make the text box perhaps 470 pixels wide and center it on the
page. Log on to your host and create a folder called 'update' at the same
directory level as the index.htm file and the index_files folder from your
full site. Publish to the web and upload your single web page to the
'update' folder.

Now open your original publication and insert a html code fragment where you
want to read the recovery information...where you currently have the text
box that you have to keep changing. Copy and paste the following code
snippet into the code fragment:

<IFRAME src="http://www.shhrc.org/update/index.htm"
width="480" height="400" hspace="0" vspace="0"
frameborder="1" scrolling="auto"></IFRAME>

You can play with the height and change the width depending on how wide you
decided to make the 'recovery information webpage'. Change the '1' to '0' if
you don't want a border.

Do a web page preview and the page that you uploaded to the 'update' folder
will import into the iframe. When you want to update the information, just
update the recovery info Pub file and upload the new version to the 'update'
folder. You won't have to change your original page.

Good luck.

DavidF


DavidF said:
I have an idea, but no time right now. check back later...

DavidF
 
D

Denise

David,
Perfect! Exactly what I wanted! Thanks so much.
--
Denise
Somerset Hills Handicapped Riding Center


DavidF said:
Ok. This is one of the few times I think that using an iframe might be a
good idea. Frames in general are not a good idea for a million reasons, but
in this case it might offer a solution.

Decide how wide you want the 'text box' that will contain the recovery
information. I will assume 480 pixels wide for purposes of this example.

Create a new, blank custom webpage. Choose Custom setup and make the page
480 pixels wide, but leave the length alone. Apply a background color if you
want, and then insert a text box and write your recovery information in that
text box. Make the text box perhaps 470 pixels wide and center it on the
page. Log on to your host and create a folder called 'update' at the same
directory level as the index.htm file and the index_files folder from your
full site. Publish to the web and upload your single web page to the
'update' folder.

Now open your original publication and insert a html code fragment where you
want to read the recovery information...where you currently have the text
box that you have to keep changing. Copy and paste the following code
snippet into the code fragment:

<IFRAME src="http://www.shhrc.org/update/index.htm"
width="480" height="400" hspace="0" vspace="0"
frameborder="1" scrolling="auto"></IFRAME>

You can play with the height and change the width depending on how wide you
decided to make the 'recovery information webpage'. Change the '1' to '0' if
you don't want a border.

Do a web page preview and the page that you uploaded to the 'update' folder
will import into the iframe. When you want to update the information, just
update the recovery info Pub file and upload the new version to the 'update'
folder. You won't have to change your original page.

Good luck.

DavidF
 
D

DavidF

Good. Glad it worked for you and thanks for posting back. We do appreciate
feedback.

DavidF
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top