I’m putting a gallery together using target show/hide layer and mouse overs on thumbnails. Will this gallery and thumbnails float around on a page and lose their placement on the page when viewed in browsers? Must I put this gallery in a table? Or how do I keep the gallery from floating around if these items are layers?
I’m putting a gallery together using target show/hide layer and mouse overs on thumbnails. Will this gallery and thumbnails float around on a page and lose their placement on the page when viewed in browsers? Must I put this gallery in a table? Or how do I keep the gallery from floating around if these items are layers?
Layers in Freeway are usually absolutely positioned elements, and they don’t float anywhere or move much at all. What can happen in this construction technique is that the text content of these layers can grow – but the layers themselves do not move – and the result is that the text from one box can “crash” into the boundaries of another box below it. That’s because these layers have absolutely no concept of one another.
Another way to make a “lightbox” view is to make your thumbnail images inside of inline DIVs, and give each div some right and bottom margin to keep the images from whacking into each other. Combined with a flexible width container, you can have a gallery of images that will fill the screen fluidly.
Try this:
In a new Freeway page, draw an HTML box that is most of the width of the page. In the Inspector, change its width to 80% and its set it to auto-center using the Margin Auto setting.
Click inside the box until you see a flashing text cursor. From the main menu, choose Insert > Graphic Item.
Click on the inserted graphic and make it 200px square, color it something tasteful, and set it to Align Left. In the Margin control, give it a 10px right and bottom margin. Leave the top and left blank.
Copy and paste this element over and over until you have a bunch of graphic boxes in the same parent HTML box. They should just float in there like words in a sentence.
Click on the HTML box, give it a contrasting color, and set the Padding so that the top and left are 10px.
Now preview this in a browser. Change the window size, and note how the images float around and rearrange to fit.
Put a separate thumbnail image in each one of the floating images, and you have a lightbox ready to use!
Sorry, my mistake. That option is for inline elements only. Just center the box on the screen and make sure the page is set to Align None, and Freeway will do the right thing.
Just tried doing this - got stuck pretty quick! Not familiar with Freeway (or anything else). Couldn’t find “align left” or Margin Auto Setter. What is Margin Control? Where would I find it?
Also, could I use the Duplicate control, or is copy / paste better?
Freeway works like a desktop publishing application. There are text
items and graphic items which can both contain text. The text in these
items (and now the page) that is inline, that is in the line of text
can be aligned to all the expected positions, on the other hand items
floating on the page are moved around manually wither using the mouse
or the position values in the Inspector palette.
More info can be found about this in the Freeway Reference guide (only
the Freeway 4 reference is available at the minute but the principles
the same). also, have you tried the Using Freeway tutorials? http://www.softpress.com/support/usingfreeway.php
I hope this helps,
Joe
On 11 Apr 2008, at 08:10, andrew wrote:
Just tried again. Can’t even make my 200 px square Align Left!! But
AT LEAST I have a 200 px blue square!!!
Also - first prob - I drew a HTML box. 80%? It seems to be px’s.
Auto centre? Where is the Margin Auto centre control?
Thanks Waltd. I’ve tried that - can just about do it! BUT - doesn’t behave in Safari like yours. No fluid movement - just sits there. But a great help - thanks so much!
Watch the movie again, pay careful attention to what’s going on in
the inspector when the movie’s playback slider is right under the
Mail icon. I am entering 80% in the width field.
Don’t worry about the lingo here. You’ll be slinging it around
yourself before long.
A DIV is a kind of HTML box. In Freeway you get one when you draw an
HTML box while the blue CSS Layout button is on. It’s distinct from a
TD, which is another kind of HTML box you can draw, usually while the
CSS button is off. You can switch back and forth between generating a
DIV and a TD by checking and un-checking the Layer checkbox in the
Inspector while your HTML box is selected on the page. There are
other fine points to this distinction, but I’ll leave them for
another day, when some of the culture shock has worn off.
Ok - watched it again and tried it again. I’ve found one big difference. You are using Freeway 5 - I’m on 4.
In your screen cast, below the percentage you are altering when the playback slider is under mail, there is a box called “overflow” which is set to variable. I don’t have such a box - and presumably then, mine won’t overflow variably!
So - to make this work - do I have to upgrade to freeeway 5?
I just repeated this exercise in 4, same outcome. Make sure you have
not set the page to Align center or anything, as that completely
kills a fluid layout.
Walter
On Apr 12, 2008, at 8:39 AM, waltd wrote:
There is nothing about this that would require 5. Make sure that
you get the flashing text I-beam cursor when you are inserting your
inline images.
When I try to do the same on my page in a website - beautifully laid out but not fluid. Never mind - anyone looking at my site can always use scroll bars if their browser is proportionally different!