[Pro] Horizontal Scroll - Keep Centred

Hi - Giving one of my sites a much needed makeover.

Liking the scroll effect. But hate the fact that I can’t get the menus to go central. At the moment, they are fixed. If they go absolute, they will disappear with the scroll. Is there any way of keeping them central in the window - regardless of the size of the window - while the middle scrolls?

The other option, I presume, is to have a separate page for each estimated size of window i.e. one for 800px wide etc. I presume there’s some kind of js to do that?

Paul


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sure. Draw an HTML box on the page, and set the position to Fixed in Window. Set the left to 0, click on the width icon to disable it (which should also enable the right position field) and then set the right also to 0.

Now, double-click inside that HTML box so you get a text cursor. From the main menu, choose Insert / HTML Item. You will see a 100px square inline HTML box in the top-left corner of your fixed container box. Change the dimensions of that box to the size of your menu elements, then set the Margin to Auto (which will center it left-to-right). Now move your menu elements into this inline HTML box. No matter what width the window is set to, the contents of this box will be floated to the center of it.

Walter

On May 25, 2012, at 5:40 AM, Paul Tansley wrote:

But hate the fact that I can’t get the menus to go central. At the moment, they are fixed. If they go absolute, they will disappear with the scroll. Is there any way of keeping them central in the window - regardless of the size of the window - while the middle scrolls?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Here is a variant to Walter’s (quite astute) method. Do the first part as
he suggests:

Draw an HTML box on the page, and set the position to Fixed in Window.
Set the left to 0, click on the width icon to disable it (which should also
enable the right position field) and then set the right also to 0.

Now, (with html layers ON) draw a box about the size of your menu –
anywhere. Draw your boxes for the content on top of it, or drag the
existing ones on top of it, using the Item View to make sure they are
nested in Freeway Pro. If they are not indented (nested) under that new
menu box, then grag their names in the Item View list until they are. When
you have all that done, select the menu box and cut it (command-x). Now,
insert your cursor into Walter’s box and paste - then set the margins of
the menu container box to auto.

This will preserve your menu structure and save you from fiddley inline box
woes recreating your menu in Freeway. :slight_smile:


Ernie Simpson

On Fri, May 25, 2012 at 7:36 AM, Walter Lee Davis email@hiddenwrote:

Sure. Draw an HTML box on the page, and set the position to Fixed in
Window. Set the left to 0, click on the width icon to disable it (which
should also enable the right position field) and then set the right also to
0.

Now, double-click inside that HTML box so you get a text cursor. From the
main menu, choose Insert / HTML Item. You will see a 100px square inline
HTML box in the top-left corner of your fixed container box. Change the
dimensions of that box to the size of your menu elements, then set the
Margin to Auto (which will center it left-to-right). Now move your menu
elements into this inline HTML box. No matter what width the window is set
to, the contents of this box will be floated to the center of it.

Walter

On May 25, 2012, at 5:40 AM, Paul Tansley wrote:

But hate the fact that I can’t get the menus to go central. At the
moment, they are fixed. If they go absolute, they will disappear with the
scroll. Is there any way of keeping them central in the window - regardless
of the size of the window - while the middle scrolls?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options