Reusing Layers

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
Check out the "include page" feature.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
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.
 
That's incorrect. Any HTML can be included in a page, including absolutely
positioned page elements (of which "layers" are just one example).
 
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?
| >> >
| >> >
| >> >
| >>
| >>
| >>
|
|
 
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.
 
To float items you would need to use Layers, and the FP Include Page component, would not allow you
to do this unless the item and the layer where insert via the Include Page.

Using the FP Include Page component, you can insert it's content anywhere on a page (works best when
using tables), it doesn't have to be in the same spot on each page.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
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.
 
I'm following the instructions to include a page on another page, but the
page always inserts into the same place. Example: I have a page with a red
box in the upper left corner. If I insert this "page" into another page, the
red box always shows up in the upper left corner, regardless of where my
insertion point is.

What this means is that I cannot insert "pages" into multiple pages and
position them independently.
 
I appreciate the info, Ron, but I'm looking for an EASY way to do this. If
you are familiar with Visio's Stencils -- that's what I'm looking for. An
easy way to add the same element to multiple pages. FP's Clipboard looks like
it might fit the bill. Unfortunately, the Clipboard dumps everything upon
exiting the program. What's up with that?

Ronx said:
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.
 
Is the red box absolutely positioned? If it is, it will always be at
the same place regardless of where the definition for the box is in
the HTML.
You need to remove the positioning information from the include file,
and add it in the target pages using embedded CSS.
 
You would need design your pages using tables, then you can insert the Include into a table cell.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
Why would you want to exit FP, if you have stuff on the clipboard that you are using for your web
pages, without first pasting those items into your pages?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

Brian said:
I appreciate the info, Ron, but I'm looking for an EASY way to do this. If
you are familiar with Visio's Stencils -- that's what I'm looking for. An
easy way to add the same element to multiple pages. FP's Clipboard looks like
it might fit the bill. Unfortunately, the Clipboard dumps everything upon
exiting the program. What's up with that?

Ronx said:
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?
| >> >
| >> >
| >> >
| >>
| >>
| >>
|
|
 
This method (which happens to be the right way to do it), is all you get in
FP and in HTML/CSS. Sorry.

Sometimes "easy" just ain't there.

--
Murray
============

Brian said:
I appreciate the info, Ron, but I'm looking for an EASY way to do this. If
you are familiar with Visio's Stencils -- that's what I'm looking for. An
easy way to add the same element to multiple pages. FP's Clipboard looks
like
it might fit the bill. Unfortunately, the Clipboard dumps everything upon
exiting the program. What's up with that?

Ronx said:
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?
| >> >
| >> >
| >> >
| >>
| >>
| >>
|
|
 
As a workaround, I guess I'll just copy the element/layers that I need to the
Clipboard, then paste them to various other pages from there. Kind of a pain,
but probably the best FP can do for now.

Thanks for your help, everyone.

Murray said:
This method (which happens to be the right way to do it), is all you get in
FP and in HTML/CSS. Sorry.

Sometimes "easy" just ain't there.

--
Murray
============

Brian said:
I appreciate the info, Ron, but I'm looking for an EASY way to do this. If
you are familiar with Visio's Stencils -- that's what I'm looking for. An
easy way to add the same element to multiple pages. FP's Clipboard looks
like
it might fit the bill. Unfortunately, the Clipboard dumps everything upon
exiting the program. What's up with that?

Ronx said:
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.

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?
| >> >
| >> >
| >> >
| >>
| >>
| >>
|
|
 
You could make a snippet of the markup....

--
Murray
============

Brian said:
As a workaround, I guess I'll just copy the element/layers that I need to
the
Clipboard, then paste them to various other pages from there. Kind of a
pain,
but probably the best FP can do for now.

Thanks for your help, everyone.

Murray said:
This method (which happens to be the right way to do it), is all you get
in
FP and in HTML/CSS. Sorry.

Sometimes "easy" just ain't there.

--
Murray
============

Brian said:
I appreciate the info, Ron, but I'm looking for an EASY way to do this.
If
you are familiar with Visio's Stencils -- that's what I'm looking for.
An
easy way to add the same element to multiple pages. FP's Clipboard
looks
like
it might fit the bill. Unfortunately, the Clipboard dumps everything
upon
exiting the program. What's up with that?

:

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.

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?
| >> >
| >> >
| >> >
| >>
| >>
| >>
|
|
 
Back
Top