Slave Load Frame - how to implement?

Hi,

i want to change the content of a page by a button and I think it could be work with a frame?
Here is a action called “Slave Load Frame” but i have no tutorial how to work with this action.

thx for your hinds
Chris


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

On 23 Jul 2008, 2:45 pm, Christoph wrote:

Hi,

i want to change the content of a page by a button and I think it could be work with a frame?
Here is a action called “Slave Load Frame” but i have no tutorial how to work with this action.

Could you explain a little more about what you’re trying to do here? It sounds like a regular Link would do what you want. Are you trying to use a form button as navigation? Would a frame give you some benefit in your design? Because it’s an awfully large price to pay, accessibility- and search engine-wise.

Walter


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

Hi Walter,

thx - pls have a look to the page:
http://www.lorenz-knoll.de/lorenz.knoll.des.html

You will find 4 reference projects but the customer want to increase that up to 12 or even more projects. In the subnavigation you can select one of the projects - with the click the selected project have jump to the top postion - like an anker?
In the moment i have no idea how to do that.

thx in advance
Christoph


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

Okay. First, find (and remove) the Action or JavaScript you added to the page which makes it expand to fill the screen. If your client really wants this, ask him or her how it would feel if someone came over and painted their entire office hot pink. Really!

Okay, rant somewhat over…

Here’s one way to do this in Freeway 5. The benefit of this method is that it will remain accessible to search engines, unlike frames or iframes.

Make sure the CSS Layout button is on. Draw an HTML box on the page where you want your descriptions to appear. Make sure that it is taller than your average description. With the box selected, look in the Inspector for the Overflow picker, and set it to Auto. Make a note of the width of this box.

With the first HTML box still selected, choose the HTML box drawing tool again, and draw a second box entirely within the bounds of the first one. (This creates a child box inside the first box.) With this second box selected, change the dimensions using the Inspector. Make the width the same as the first box you drew, less 24px for a scrollbar. Leave the height alone for now. Make the top and left both zero.

Now you are ready to add your product descriptions. You will be inserting these as inline objects in the second box. If you have made them the usual Freeway way, then you have just drawn them on the page. Cut and paste them inside the second (inner) box. To do this, select and cut the first element, then click inside the second box until you see a flashing text cursor, then paste. Go back and get the next element, and repeat the process. If you need to add spacing above or below elements to duplicate your layout, then you would add that with the Margin control in the Inspector. Once you’ve done a couple of them, you will get the hang of it.

Now at some point you are going to run out of room inside this inner box and your content will appear to spill out of the bottom, and this is where you need to do one clever thing: turn off the height of the inner box. With the inner box selected (all 8 “handles” showing on corners and sides) look in the Inspector. Next to the height field is a graphic icon representing height. If you click it, the field will become disabled, meaning that the box no longer publishes its height. This means it can grow or shrink to whatever dimension you need. If this behavior causes the outer box to grow to fit, don’t worry, you can shrink it back down later.

Now, about the navigation (which was the entire point of your question, I know). At the top of each of your product listings, select the top-most element and add an Anchor to it. Give it a recognizable, unique name. Now on your navigation links, simply link to that anchor (select the current page as your link target, and you will see the anchor names as sub-menu items).

That’s all you need do. Now, when the link is clicked, the inner box will “scroll” until the selected anchor is in view.

Walter


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