Here’s a fun little JavaScript snippet to test your in-flow layouts
for overflow. Apply Protaculous to the page, click on the top Function
Body button, and paste in the following code:
$('PageDiv').observe('click', function(evt){
this.select('p').each(function(elm){
elm.update(elm.innerHTML + elm.innerHTML);
});
});
With this script in the page, any click will cause all of the P
(paragraph) tags to double their contents. Repeated clicks will double
each time, so your page can get quite enormous. If you want to test
only a single element on the page, then substitute its Title (which is
really the ID) from the Inspector’s left-most tab for the ID PageDiv
value above. This will focus the effect on only one element on the
page, so you can see how a dynamic area will react to longer copy in a
way that merely enlarging the fonts in your browser will fail to do.
Walter
On Dec 10, 2010, at 10:08 AM, tedg wrote:
Thomas —
Thank you for the work. I guess I am not making myself clear.
I can easily do what you did by determining ahead of time the size
of each html box. But this is a template that will import text of
different lengths, so I cannot know how big any of the boxes will be.
The content gets added after the Freeway documents is published.
What happens for me is that each box grows as it needs to to
accommodate the imported text, but as it grows, the bottom of an
html box does not push down the top of the box below.
I believe I simply have some setting wrong, perhaps the “overflow”
setting, perhaps the html document type. Perhaps the CSS setting?
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