hi all,
i’ve a question placing iframes in carousel-panes:
i used the carousel action in combination with iframe (every pane has an iframe-element). now the problem is, that in firefox you see the scrollpanel from the carousel-pane before (the 1. pane looks normal, but the 2nd and 3rd have on the left side). this problem is only in firefox, not in safari or opera (can’t test it on pc with explorer). what can i do?
i used iframes cause my client likes it and the iframe content site will be feeded by a database (php), so she can’t say how much text there will be …
first i thought over the scroll layer action, but that seems not to work as an inline-element (?)
If you are in Freeway 5, simply set the HTML box where the text will
go to have Overflow: Auto. Then make your page have the .php file
extension and import the text directly in the Freeway page using a
Markup Item. No need for a second page with its own scripting.
iframes are not really kosher, and as you have seen, some browsers
can’t seem to hide their scrollbars.
Walter
On May 17, 2008, at 9:54 AM, purity wrote:
hi joe, hi waltd
i used iframes cause my client likes it and the iframe content site
will be feeded by a database (php), so she can’t say how much text
there will be …
first i thought over the scroll layer action, but that seems not to
work as an inline-element (?)
hi walt,
how does the thing with the markup item work exactly?
thanks for your advice and greetings
ray
On 17 May 2008, 3:05 pm, waltd wrote:
If you are in Freeway 5, simply set the HTML box where the text will
go to have Overflow: Auto. Then make your page have the .php file
extension and import the text directly in the Freeway page using a
Markup Item. No need for a second page with its own scripting.
iframes are not really kosher, and as you have seen, some browsers
can’t seem to hide their scrollbars.
Walter
On May 17, 2008, at 9:54 AM, purity wrote:
hi joe, hi waltd
i used iframes cause my client likes it and the iframe content site
will be feeded by a database (php), so she can’t say how much text
there will be …
first i thought over the scroll layer action, but that seems not to
work as an inline-element (?)
If you put a Markup Item in the page or inline within an HTML box, you can bring a page fragment into the outer page with this line of code:
<?php include('your_fragment.html');?>
Now in order for this to work, your fragment cannot be a complete page with a HEAD and BODY tag, it has to be just the code that makes up the particular element you want to put in the carousel.
Sure. When I say fragment, I simply mean that the page you are
including cannot be a regular Web page “sandwich” of:
<html>
<head>
</head>
<body>
<div>
your page here
</div>
</body>
</html>
You need to cut it down so it is only the “meat” of the sandwich:
<div>
your page here
</div>
There are several ways to do this in Freeway.
One would be to lay out your fragment as a small page with only the
element you want to become the fragment. Then apply the PHP Make
Insert Page Action (see the Softpress KB for the download) to the
page. This will chop everything out except the guts of the page.
Another would be to use my TemplateHelper in “partial” mode. <http:// freewaypro.com/actions/downloads> Lay out one or more fragments as
individual DIVs or grouped DIVs, and apply TH to each one. Turn on
the Partial mode, and set the file ending and partial name as you
like. When you publish, each element will be saved on the server as a
separate file, named with a leading underscore, your chosen name, and
the file ending. So a partial called preview would be saved as
_preview.php alongside the page you used to generate it. Each element
that has the Action applied to it will be removed from its parent
page. The benefit of this approach is that you don’t need to create a
separate page for each element.
Walter
On Jun 6, 2008, at 9:56 AM, purity wrote:
hi walt,
thanks for your answer.
can i make a fragment of a php-file too?
Sure. When I say fragment, I simply mean that the page you are
including cannot be a regular Web page “sandwich” of:
You need to cut it down so it is only the “meat” of the sandwich:
There are several ways to do this in Freeway.
One would be to lay out your fragment as a small page with only the
element you want to become the fragment. Then apply the PHP Make
Insert Page Action (see the Softpress KB for the download) to the
page. This will chop everything out except the guts of the page.
Another would be to use my TemplateHelper in “partial” mode.
like that:
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.