Use layers in the Include Page, but set the position of the layers
using embedded stylesheets in each page.
In page one.htm:
<head>
<style type="text/css">
#layer1{position:absolute;top:50px;width:200px;left:150px;z-index:2}
#layer2{position:absolute;top:150px;width:200px;left:150px;z-index:3}
#layer3{position:absolute;top:250px;width:200px;left:150px;z-index:4}
</style>
</head>
<body>
[include page containing the layers]
Rest of page
</body>
In the include page, place the layers but remove the positioning
elements from the inline styles that FP uses, leaving
<div id="layer1">layer 1 contents</div>
<div id="layer2">layer 1 contents</div>
<div id="layer3">layer 1 contents</div>
The positioning is thus controlled in each page, the layer content
comes from the include file.
--
Ron Symonds
Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
Brian said:
I tried the page include feature, but that's not what I'm after.
1) I want to be able to create items that can float on top of other
items.
Layers seem to be the way to do this.
2) I want to reuse layers on other pages -- but I want to position
the
items/layers on each page differently. I do not see how an element
on one
page can be "included" on five different pages, each in different
locations.
Am I missing something?
Anyone who is familiar with Visio's Stencils... ultimately, that's
the kind
of functionality I'm looking for in FP.
:
Yes - that's absolutely (no pun intended) correct.
--
Murray
============
IMHO
- you need you really know what you are doing designing
absolutely
positioned page elements in an include page (since the final
positioning will actually be relative to the page using the
include page)
--
| That's incorrect. Any HTML can be included in a page,
including
absolutely
| positioned page elements (of which "layers" are just one
example).
|
| --
| Murray
| ============
|
| | >I have not looked at this feature yet, but my understanding is
that
| >elements
| > "included" on a page cannot float on top of other elements,
as layers
do.
| >
| > "Steve Easton" wrote:
| >
| >> Check out the "include page" feature.
| >>
| >> --
| >> Steve Easton
| >> Microsoft MVP FrontPage
| >> 95isalive
| >> This site is best viewed............
| >> ........................with a computer
| >>
| >> | >> > I'd like to reuse layers in multiple pages. Ideally, I'd
like to
save
| >> > layers
| >> > to a clipboard that would persist across sessions.
Possible?
| >> >
| >> >
| >> >
| >>
| >>
| >>
|
|