I’ve been using an iFrame on my site for a year or so, with an embedded bananAlbum. It works great. One thing that is a shame though, is that it doesn’t enjoy the neat dynamic resizing trick of flash based sites.
I came across this a few days ago and have been trying to implement it, but it’s not working.
Click on link : “Example Albums” … then … “Using BananAlbum in a Dynamic Frame”
I’m getting the bananAlbum content 2 times. My normal iFrame with bananAlbum inside and now another instance, completely separate, above it. All I’m doing is following the instructions on this site, but I guess it’s not that simple with Freeway Actions.
Can anyone give me a clue where I might be going wrong?
I’m getting the bananAlbum content 2 times. My normal iFrame with
bananAlbum inside and now another instance, completely separate,
above it. All I’m doing is following the instructions on this site,
but I guess it’s not that simple with Freeway Actions.
You have two iframes in there, that’s why you’re seeing both of them.
One is being added by the script, and the other is manually entered in
Freeway. Delete the one that’s in there from Freeway, and replace it
with a Markup Item containing:
<iframe id="bananalbum" align="top" frameborder="0" marginheight="0"
marginwidth="0"
scrolling="no" style="background-color: #D9D9D9">
Your browser does not support iFrames</iframe>
And this should just start working – sort of. I had huge issues with
the width of the page – it never seems to run out of horizontal
scroll bars. I believe it may be expecting to run at the full page
width, which means you can’t put anything on either side of it.
Forgot to add this: remove that same iframe code from the After Start
Body part of the Page HTML Markup dialog. It’s currently being
injected as the very first thing in the body of the page, and I
suspect you want it to appear down next to the navigation where your
Freeway-drawn version is currently.
Walter
On Jan 8, 2009, at 2:43 PM, Walter Lee Davis wrote:
You have two iframes in there, that’s why you’re seeing both of
them. One is being added by the script, and the other is manually
entered in Freeway. Delete the one that’s in there from Freeway, and
replace it with a Markup Item containing:
It’s probably incredibly simple for you … but I’m lost. I can only find one reference to Markup Item in the User Guide and it doesn’t help.
So …
I delete my iFrame box from my page.
I delete the AfterBody markup text.
I keep the AfterHead markup text.
I create an HTML item, the same size and positioning as my old iFrame box
Where do I put the markup text you wrote for me ? … “id=“bananalbum” align=“top” etc.etc.”
I create an HTML item, the same size and positioning as my old
iFrame box
Where do I put the markup text you wrote for me ? …
“id=“bananalbum” align=“top” etc.etc.”
Put all of that markup in a Markup Item which you draw on the page in
place of your old iframe box.
Click where you want the iframe to appear – I’m assuming this is
directly on the page – and from the main menu, choose Insert / Markup
Item. You’ll see a dialog box, where you can paste the code, and then
when you okay it, a 100px square box in the middle of your screen with
a little [H] in the corner. Drag the handles on that box to make it
the shape and location of your iframe, and you should be all set.
1/ Is there any way of making my copyright notice ‘stick’ to the bottom of the iFrame?
2/ I know people here hate browser window resizing, but I think it’s appropriate for photography sites, plus … as you may have noticed, the resized bananAlbum needs to be more horizontal, when it gets very small, otherwise the thumbnails cover the images. Can you suggest a way of dealing with this problem?
1/ Is there any way of making my copyright notice ‘stick’ to the
bottom of the iFrame?
You could try drawing it as a layer, floating it over the iframe, and
grouping the two of them. I’m not sure if that would work, it may act
like a plug-in and drill a hole straight through the page for your
iframe content.
2/ I know people here hate browser window resizing, but I think it’s
appropriate for photography sites, plus … as you may have noticed,
the resized bananAlbum needs to be more horizontal, when it gets
very small, otherwise the thumbnails cover the images. Can you
suggest a way of dealing with this problem?
Well the “nice” way to do this is with Spawn New Window and a button
– “click here for best viewing experience”. Define a window size
that’s ideal for your bananalbum, and set those properties in the
Action. But don’t make it load on, or (shudder) resize on, page load.
Some people get incredibly angry at that (raises hand sheepishly).
Oh, just re-read this and I think you might be wanting it to stick below the iframe, not hover over it. In that case, drawing the
caption as a layer and grouping it with the iframe should work
correctly.
Walter
On Jan 9, 2009, at 9:43 AM, grantsymon wrote:
1/ Is there any way of making my copyright notice ‘stick’ to the
bottom of the iFrame?