Layer positioning

  • Thread starter Thread starter Ray
  • Start date Start date
R

Ray

I'm using Layers, with a visibility set off, in
conjunction with a mouseover Behavior which makes it
visible. The problem is that I cannot set the Layer to be
in a fixed position. If you look at www.kentlta.org.uk
I've set the top 4 hyperlinks with a mouseover property
but when the layers are made visible I want them to line
up exactly with the boxes they pertain to. Because I have
their position set to relative they move depending on the
browsers attributes. Am I making myself clear? My
question is: How do I give a Layer a fixed position?
 
Set them in fixed a fixed width centered table containing 4 fixed width
columns and eliminate the relative / absolute positioning.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
Hello Ray
I had that problem on drop-down menus that I created and I found out that you can set exactly the same behaviour to a layer and position exactly
So click on the Layer Id and than go to "Format" and choose "Behaviours". Insert the onmouseover option and Change the Property in "Position" and visible. (Before you go to the 'Behaviours" menu, in the Layer Task Pane, right-click on the position go get the position parameters.
I checked your website www.kentlta.org.uk and this is going to solve your problem
Best regards
Tony
 
Tnanks - but I already have a table with the hyperlinks
and pictures - how would I position another table over
that?
Ray
 
Tony
Thanks for your reply, but haven't I done exactly as you
describe? The trouble I have is that if I make the
position absolute then the drop-down doesn't always
appear directly underneath the hyperlink. I want it to
block out the picture in the table. But if I make the
layer Relative then it seems to get converted to a table
cell and then I have no control over where it goes.
Absolute gives it a fixed position, but if the browser
window size is either large or small then the layer will
not be directly under the hyperlink.
-----Original Message-----
Hello Ray:
I had that problem on drop-down menus that I created and
I found out that you can set exactly the same behaviour
to a layer and position exactly.
So click on the Layer Id and than go to "Format" and
choose "Behaviours". Insert the onmouseover option and
Change the Property in "Position" and visible. (Before
you go to the 'Behaviours" menu, in the Layer Task Pane,
right-click on the position go get the position
parameters.)
 
I don't use layer or dhtml, but...

Couldn't you include the image on a layer as well, then when it is moused over, it would hide and
then the menu link would appear thereby replace the image?

If you need to use absolute positioning, change your page layout to be left aligned and the table
set to be a fixed width of say, 750 pixels.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Thanks to all who replied. I finally sorted it with a
combination of what you all said, but the key was in
making the table a fixed width and then the Layers could
be in Absolute positions, regardless of browser
attributes.
 
So could I achieve a similar effect without using DHTML
or layers, and without having to write any Java scripts?
-----Original Message-----
I don't use layer or dhtml, but...

Couldn't you include the image on a layer as well, then
when it is moused over, it would hide and
then the menu link would appear thereby replace the image?

If you need to use absolute positioning, change your
page layout to be left aligned and the table
 
No, as you have to use DHTML/JavaScript to show/hide the menu options, if you want to continue to
use that type design/structure.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 

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

Back
Top