inline frames in .dwt file


G

Guest

I created a .dwt file with an inline frame in it. I want off site people to
be able to create pages of varying lengths and attach to the .dwt file and
put the content into the inline frame. I was expecting the table dimensions
to remain static and a scroll bar to be automatically put into the inline
frame (if necessary). What is happening is the .dwt table dimensions are
adjusting to the inline document. I must have done something wrong. It
should work, shouldn't it?
 
Ad

Advertisements

R

Ronx

Confusion here:
If the offsite peoples' content is to display inside the iFrame, they do
not have to touch the DWT - their pages will display *inside* the iFrame.
The only changes required (if any) is to navigation.
If they attach the DWT to their pages, there will be a mess in the display.
 
G

Guest

yes - confusion -

Let's start over. I was worried about being brief and concise.

I created the .dwt with an iframe as an editable region. In my .dwt I set
the iframe to use a scroll bar if necessary.

Now what I want to happen is.... offsite creates a page of information that
gets dropped into the iframe by attaching the page they write to the .dwt and
placing it in the editable region.

What I thought would happen is their information would fill the iframe and
the iframe would either add a scroll bar or not to keep the cells and table
to the dimensions I set on the .dwt.

What is happening is if the info being attached to the .dwt in the iframe is
too long... rather than adding the scroll bar... it is expanding the cell.

Does that make sense?
 
G

Guest

I should add -- my goal is to allow them to write copy of any length and have
it show up in my .dwt doc without messing up my formatting.
 
T

Thomas A. Rowe

Each user would have to create two pages for every one page to appear on the site using your method.
One page would have your DWT applied, the second page would just have the content they want to have
displayed in the DWT's IFrame.

Just create the DWT, then when they create a new page they would apply the DWT, then they would add
their content into the editable region. You have to design your pages to allow for vertical scroll.

Also IFrames have the same limitation as a normal frameset, where the IFrame content can be index by
the search engines outside of the page with the IFrame.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
==============================================
Agents Real Estate Listing Network
http://www.NReal.com
==============================================
 
Ad

Advertisements

R

Ronx

Your users simply need to provide the content page, which YOUR page (with
DWT attached) will display in the iFrame. They do NOT attach the DWT to
any of their pages.
The iFrame on YOUR page will be designed to show scrollbars as required by
the content pages. The iFrame should not be in an editable region, since
it does not need to be edited.
How the supplied content pages are navigated to is a different matter.

If you must have a page with a fixed length, consider using a scrollable
<div> for the content.

<div style="width:400px;height:300px;overflow:scroll;"><!-- #beginEditable
"UserContent" -->User content goes here<!-- #EndEditable --></div>

Also see inline below.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/

ATV said:
yes - confusion -

Let's start over. I was worried about being brief and concise.

I created the .dwt with an iframe as an editable region. In my .dwt I
set
the iframe to use a scroll bar if necessary.

OK
But beware the handicaps you are giving your website by using any sort of
frames.
Now what I want to happen is.... offsite creates a page of information
that
gets dropped into the iframe by attaching the page they write to the .dwt
and
placing it in the editable region.

Will not do what you want. The supplied content will REPLACE the iFrame,
not go into it.
What I thought would happen is their information would fill the iframe
and
the iframe would either add a scroll bar or not to keep the cells and
table
to the dimensions I set on the .dwt.

See above.
What is happening is if the info being attached to the .dwt in the iframe
is
too long... rather than adding the scroll bar... it is expanding the
cell.

Does that make sense?

Yes, perfect sense - that is what I would expect. The content is REPLACING
the iFrame, and taking up as much space as it needs.
 
Ad

Advertisements


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