View Full Version : Help with frames and/or iframes
Ben@WEBProp
07-25-2003, 09:35 PM
I have a navigation bar that I want to run across the side of my page running under a banner. I was wondering if I have to put the whole line of code on each page, or can I run a frame or iframe(whatever that is...I dont know) to contain the information. The only problem that I have found with a frame thus far is that when the submenu's drop down, either scrollbars would appear or I would lose my submenu's alltogether! I would like the drop-down sub menus to overlap the content that loads in the main frame because the submenu's are somewhat transparent.
Any ideas of how to solve this situation?
Thanks!
-Ben
pardicity3
07-25-2003, 09:55 PM
Well, you could ditch the frames all together and use some kind of server-side method to include your files instead. Something like Server Side Includes (http://www.bignosedbird.com/ssi) are incredibley easy and can same incredible amounts of time. It's also not to hard to do with PHP. You just have to have a host that supports php and then use the include() (http://www.php.net/manual/en/function.include.php) function.
One of the biggest advantages to this method would be the fact that you wuouldn't have to contend with having your dropdown's going from frame to frame.
Ben@WEBProp
07-25-2003, 10:14 PM
From what I see, it looks a bit complex! Basically, I am looking for a quick-fix solution because I have to get this content up very quickly...do I just put the code on every page? Or is there a way to make the nav only load once, but overlap the part beneath it that would be the target frame?
-Ben
Ben@WEBProp
07-25-2003, 11:43 PM
Here is the source code page if you need it:
http://www.webpropertiesinc.com/nav.htm
MotherNatrsSon
07-25-2003, 11:49 PM
I would ask the author of the menu or look at his documentation, but seeing how it is a list based menu I would doubt it. I thought you had asked for a vertical menu and not horizontal or I would not have suggested that one.
MNS
pardicity3
07-25-2003, 11:52 PM
Afaik you can not have content span across multiple frames. I.E. A drop down menu can not be made to appear in two frames at once.
Did you read the site about SSI? It really isn't too complex at all. Make sure you read the part about includes.
MotherNatrsSon
07-25-2003, 11:58 PM
You did ask for a vertical menu....LOL
Navigation Bar Help!
The site that I am building currently has a navbar that cannot support the size of the companies rapidly expanding portfolio while in 800 res. I need some suggestions of where to get a multi-level nav bar, preferably vertically aligned instead of the usual horizontal aligned. I need the images or text or whatever to be fairly small, but not hard to read (maybe "compact" is a better word to use).
Any pointers? Directions?
-Ben
MNS
MotherNatrsSon
07-26-2003, 12:00 AM
HV menu at Dynamic Drive will span across frames. It has a "special" document to show you how to set it up so it does and is HORIZONTAL.
http://www.dynamicdrive.com/dynamicindex1/hvmenu/
MNS
Ben@WEBProp
07-26-2003, 12:15 AM
So i guess what I am going to end up doing is just keep the horizontal nav bar, but make it appear on every page. Is there an easy way that I can set my nav bar to be absolute positioned and then create a margin for the rest of my content through some sort of css? How would I go about creating that margin exactly?
-Ben
MotherNatrsSon
07-26-2003, 12:19 AM
But the menu you have isn't cross browser is it?
MNS
Ben@WEBProp
07-28-2003, 05:02 PM
Ya...you are right. Sorry I had way to many things going through my head at once during my last posting session, so I may have been a tad confusing!
Allright MNS, let me clarify what I need to do, and let me know if you can help me find what I need to optimaly do:
I was rethinking the alignment of my nav bar, but I have finally made a decision that I will keep the vertical alignment. Brothercake's menu is great for this, however, I would have to add the script to every single page due to the width of the second level. The best thing that I want would be Brothercake's menu, only I want it to move and stack like the one I currently have. The one I am using right now is not cross browser compatible (like you said), and it uses images for the text area definition (so I have VERY limited typing space...i.e.-I want to put "Commercial Portfolio", but I can only fit "Commercial"). So is there any menu you know of that is like the one I have now only without the disadvantages that I have listed? Or do you know how to turn Brothercakes menu into something like this?
http://www.webpropertiesinc.com
As I have said before, I have got to get this thing done, so I am just going to start modifying brothercake's menu and throw it onto all my content pages and delete one of my frames (leaving me with a banner and content page).
Any suggestions would greatly help! (Other than, "Use CSS" or "learn this coding language", because I am on a tight schedule and have no time to learn how to do so currently...)
MotherNatrsSon
07-28-2003, 05:56 PM
The only thing I can suggest is the HV menu. It works accross frames and can be set up either horizontal or vertical. I am not sure about the typing space, but it may be worth checking out.
Just so you know. You must have done something to brothercake's code because the menu does not unfold on your home page for me.
MNS
Ben@WEBProp
07-28-2003, 06:13 PM
Dear MNS,
Yes, the code that you must be viewing has been messed with, but I have reverted to the origional and have been dealing with specifics instead of code this time. I was trying to make it a horizontal tree, but it wasn't working. However, the site should now have nothing on it except a logo and a few words saying something about "comming soon" or something like that. By noon PST, I should have the site-customized script on every page...so check it out about then. If it is still not up, then it should be by 2:00 PST.
I think I am just going to go with brothercake's script and extract it into a .js and a .css file, and then throw it into all of my content pages. When I do that, I may need some serious help with placement and margins from you (or anyone else who can help :D).
Thanks!
-Ben
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.