- Create Account

Menus over frames of frameset

Forums > "Miscellaneous" Scripts > Menus over frames of frameset
Author
Message

1) molendijk Group: Members
Posts: 78 Joined: 29 Nov 2005 Location: The Netherlands (Groningen) IP: 129.125.--.--
Hallo Angus and all,
There is a way to make menus appear on top of the frames of a frameset. The trick is to put the menus and a given iframe in the same file, and then to make the frameset load in the iframe. An illustration is given at:
http://www.let.rug.nl/~molendyk/overbrengen/iframeframe/index.html

There  is one thing that puzzles me. If you put something like:

style="background-image:url(freestylelist/bla.jpg);background-position:0% 10%;background-attachment:fixed;background-repeat:no-repeat;"

in the iframe tag, then Firefox and Mozilla show the background image on top of (in front of) the frames. But IE and Opera don't show the background image. Does anyone have an idea?

PS. Angus, in the above site, I forgot to mention that I use your freestyle menu. But it's only thereto show my problem.
Arie.

2) molendijk Group: Members
Posts: 78 Joined: 29 Nov 2005 Location: The Netherlands (Groningen) IP: 84.86.--.--
Sorry, this should have been posted under 'general topics'.
Arie.

3) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 202.137.--.--
I've since given up hacking framesets; you can use IFRAMEs like that I guess, but with CGI templating so damn easy, why bother?

I guess your tweak does work OK though! Do experiment with CSS positioning a little more especially now that IE7 has been released :).

-  Angus.

4) molendijk Group: Members
Posts: 78 Joined: 29 Nov 2005 Location: The Netherlands (Groningen) IP: 84.86.--.--
True: iframes are better than framesets, and frames in general may cause undesired results.
But someone I'm helping definitely wants a frameset for his site.
I'll see what CSS can do in my case.
Thanks.
Arie.

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.