IFrame Help!

I am planning to incorporate Google calendar into my freeway page using iFrame. I have the iFrame code, but don’t know where to put it in freeway. any help is much appreciated.


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

look at this url : http://www.softpress.com/kb_old/category.php?id=24 and search: iFrame. Download > install and place the action on your page, paste the code. It’s all

You find there a lot of actions

Success


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

Hi Jos! Thank you for your answer. I already have the action, no hazzle there. The case is that i don’t know where to paste the code… I take the iFrame action from the toolbox and make a frame. From there i don’t know what to do…


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

You are saying you have the iFrame code from Google, but you don’t know where to put it because you are NOT using the iFrame action, correct? You really just want to use a markup, I think. Either create an HTML box and insert your mark up in the box, or just select Insert>Markup, and a markup will appear in it’s own html box somewhere in the page. I don’t know if you need to make the html box the size you need for the Google calendar or not. You might have to click off the heigh/width of the HTML box.

On Thu, Dec 11, 2008 at 5:58 AM, Torben Nielsen <email@hidden> wrote:

Hi Jos! Thank you for your answer. I already have the action, no hazzle there. The case is that i don’t know where to paste the code… I take the iFrame action from the toolbox and make a frame. From there i don’t know what to do…


Robin Stark

As i understand the meaning of iFrame one should be able to incorporate a portion of another site, as an example Google calender in your own site, using either a link, or iFrame code.
First off i choose the iFrame action in the actions menu. Then i create an iFrame box. Then i choose the Actions palette and tried to paste to code into that, but this doesen’t work. Can anyone tell me how to make this work? Where do you actually paste iFrame code into? Is it possible to use iFrame code in Freeway at all?


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

The way to look at an iframe is exactly the same way you look at a
traditional frameset. It is a container for another page, not for
code. An iframe has no content of its own, only a reference to another
site.

Now it’s possible that you don’t need the iframe Action in this case.
It’s quite possible that Google Calendar gave you an entire lump of
code to create an iframe, which is what the Action does. Try simply
drawing a Markup Item on the page, pasting your code into it, and
publishing. See what happens when you do that.

Failing that, please go to http://pastie.org and paste the code you
have there. That will give you back a URL that you can post here, and
one or another of us code-monkeys can try to untwist your dilemma.

Walter

On Dec 12, 2008, at 3:28 AM, Torben Nielsen wrote:

As i understand the meaning of iFrame one should be able to
incorporate a portion of another site, as an example Google calender
in your own site, using either a link, or iFrame code.
First off i choose the iFrame action in the actions menu. Then i
create an iFrame box. Then i choose the Actions palette and tried to
paste to code into that, but this doesen’t work. Can anyone tell me
how to make this work? Where do you actually paste iFrame code into?
Is it possible to use iFrame code in Freeway at all?


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

Hello I am trying to have iframe auto stretch to fit the content I am feeding it from my blog. I have a blog that is on my server and It can be displayed in php or iframe. I was having difficulties displaying with php as it was not coming up. So I chose iframe and it works fine but just have issues displaying all the content as it gets cut off if I choose height - 100% or height - auto. The way I have it now is I have it set to a pixel height and adjust it as I post blog entries so it doesnt get cut off. But as you can imagine this can get time consuming having to adjust the height after or before I actually post the entry. Looking to have to adjust on its own so it grows with the content, any suggestions? Here is the site
www.maguclothing.com


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

The height of an iframe is set by the parent page, not the content that appears within it. But you need to be able to get the height of the content page and then set the iframe that contains it to the correct height. Here’s a recipe I’ve given before (the thread is one of the first hits on iframe height in the Web archive of this list):

  1. Apply the Protaculous Action to your page (get it at ActionsForge). Set the Library picker to prototype-packed.
  2. Click on the top Function Body button in the Actions palette. Paste in the following script:
var calcHeight = function(){
    var elm = $$('iframe').first();
    var h = elm.contentWindow.document.body.scrollHeight;
    elm.height = h;
};
new PeriodicalExecuter(calcHeight,1);

This will take the first (or only) iframe on the page, reach into it for its content height, and resize the outer iframe to fit. Note that both the iframe page and the content page within it must be from exactly the same domain or subdomain, or they will fall afoul of the Same Origin Policy security rules in JavaScript.

Walter


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