FreewayTalk
8 replies to this thread. Most Recent
Stephenk
20 Feb 2007, 11:38 am
iFrame help
have a look at http://www.stephenkelman.co.uk/sksite
I am not getting an iFrame to do what I want it to – the green box would be a static menu and the entire yellow area is the iFrame. Is there a way I can do it so that the iFrame takes up that whole area (increasing and decreasing depending on your resolution of screen) and you only have to scroll down when when the area of the page you are linking to is bigger than your browser window?
I have not explained that very well, but basically I want a static menu and a scrolling page to the right.
Any solutions ideas.
Once again thanks a million.
maccie
20 Feb 2007, 3:46 pmYou can achive it manualy.
Insert a ‘markup item’ on your page and paste the following code in the popup box: [color=red:06187565b1]<iframe src ="yourlinkgoeshere" width="100%" height="100%" marginwidth="0" marginheight="0" frameborder="0" scrolling="auto"> </iframe>[/color:06187565b1]
Now you will have a box with a little <H> in the left top corner. Just position this box on your page as you want. If, for example you would like it to sit on the whole page give it the following dimensions: [img:06187565b1]http://users.skynet.be/bk214116/dim.gif[/img:06187565b1]
have fun!
The Big Erns
20 Feb 2007, 4:45 pmHi —
Are you using Freeway 4 Pro? If so, then let’s try a different approach. [url]http://www.thebigerns.com/freeway/stephenk-staticmenu/[/url]
Instead of creating an iframe for the scrolling content, just put the photos on the same page — normally — with CSS Layout turned on. Static items like your menu should have their position changed from ‘absolute’ to ‘fixed in window’ in the Inspector (the pop-up next to the layer checkbox).
Best wishes,
Stephenk wrote: [quote:926e4ae026]have a look at http://www.stephenkelman.co.uk/sksite
I am not getting an iFrame to do what I want it to –the green box would be a static menu and the entire yellow area is the iFrame. Is there a way I can do it so that the iFrame takes up that whole area (increasing and decreasing depending on your resolution of screen) and you only have to scroll down when when the area of the page you are linking to is bigger than your browser window?
I have not explained that very well, but basically I want a static menu and a scrolling page to the right.
Any solutions ideas.
Once again thanks a million. [/quote:926e4ae026]
Ernie Simpson — Freeway 4 Pro User — http://www.thebigerns.com/freeway/
This list is maintained by Softpress Systems - http://www.softpress.com
b8
20 Feb 2007, 8:42 pmHi,
I’am also looking for a good solution with a static menu.
@Ernie, I did a test with your staticmenu in Win IE6 and unfortunately it does not work there, it does work in Win Firefox and Opera.
@Stephenk, another way is to use a floating menu (javascript). http://www.xs4all.nl/~horemans/static/test.html
Url for the script: http://www.jtricks.com/javascript/navigation/floating.html
But I like the approach from Ernie, this is much cleaner and less bling bling, is there a way to get this worked in Win Explorer?
The Big Erns
21 Feb 2007, 2:28 amOw, man! Snatched from the jaws of Victory again! :-)
IE7 seems to be fine with it. I went over to Position is Everything [url]http://www.positioniseverything.net/[/url] to see if I could dig up an easy fix, but it seems this is not an obvious issue. That gives me some hope, in that there may be a way kick IE into respecting the position attribute. What that answer is for now, I have no idea.
Thanks for pointing this out. :-)
b8 wrote: [quote:a541788160]I’am also looking for a good solution with a static menu.
@Ernie, I did a test with your staticmenu in Win IE6 and unfortunately it does not work there, it does work in Win Firefox and Opera.
@Stephenk, another way is to use a floating menu (javascript). http://www.xs4all.nl/~horemans/static/test.html
Url for the script: http://www.jtricks.com/javascript/navigation/floating.html
But I like the approach from Ernie, this is much cleaner and less bling bling, is there a way to get this worked in Win Explorer? [/quote:a541788160]
Ernie Simpson — Freeway 4 Pro User — http://www.thebigerns.com/freeway/
This list is maintained by Softpress Systems - http://www.softpress.com
Michael
21 Feb 2007, 7:41 amThere’s a way to force IE6 to fix a div in the window. Look here:
http://www.cssplay.co.uk/layouts/fixed.html
I haven’t tried it out. And it’s clear that it’s a hack: it’s exploiting another bug in IE6 to make the technique work. I’d be wary of this sort of technique, since it might mess things up in some other browsers. But it’s certainly worth looking into.
Stephenk
21 Feb 2007, 11:18 amcheers for the replies guys. I’ll have a look at it and see what the best solution is, and get back you!
b8
23 Feb 2007, 2:18 pm[quote:216abfa807=”Michael”]There’s a way to force IE6 to fix a div in the window. Look here:
http://www.cssplay.co.uk/layouts/fixed.html
I haven’t tried it out. And it’s clear that it’s a hack: it’s exploiting another bug in IE6 to make the technique work. I’d be wary of this sort of technique, since it might mess things up in some other browsers. But it’s certainly worth looking into.[/quote:216abfa807]
I spent several hours on this, but couldn’t get this to work in IE6. I can’t get the code on the right place in the body, can someone me enlighten me here?
The Big Erns
23 Feb 2007, 3:08 pmI worked on it too for awhile. First I had to pull out his stupid advertisement, then try to modify it to pass standards validation yet keep with his basic premise. I was then overrun by another project so I had to drop it.
b8 wrote: [quote:8db33f926a]I spent several hours on this, but couldn’t get this to work in IE6. I can’t get the code on the right place in the body, can someone me enlighten me here? [/quote:8db33f926a]
Ernie Simpson — Freeway 4 Pro User — http://www.thebigerns.com/freeway/
This list is maintained by Softpress Systems - http://www.softpress.com
