HTML - Newbie Using Frames
I am looking to create a simple web page in thought, but I am unsure how complex the background may be.
I would like to create a web page that has four frames, 1 in the upper left corner as a logo, 1 on the left as a folder menu, 1 on the top as a navigation menu, and 1 main section in the middle to lower right. The frame creation and logo link is complete. The next is where I am lost. I would like to have the left, be a tree structure the folders at a given path. Once the user opens the folder, I would like 1) all other folders to close/collapse, 2) a list of all files in the current folder to populate the top navigation frame, and 3) a default file to populate the main frame. If a user selects a file within the top navigation frame, the main frame should change accordingly, but the top navigation should stay the same. I do not need a list of files to show on the left hand menu, just the folders. One question I am unsure how answer is "What if there is a subfolder in the folder selected", as files are only contained in the lowest level, all parent folders, if any, will be empty. I am sorry I do not have a link to the site as this is an internal intranet site for a single department within our company. Our webteam, 1 individual is completely bogged down with changes for our web facing interface, that internal sites are getting left behind, and i would like to help out but I am unsure if this idea is possible. Any points in the right direction, snippets, or help would be greatly appreciated. Similar TutorialsI'm just beginning to learn HTML and I have run into an odd phenomenon. As I understand it the "name" and "id" attributes are supposed to work the same way, and that the "name" attribute has been deprecated. Therefore all good web coders should use "id". Today I started using frames for the first time. Here is the code to a very simple web page. <html> <head> <title> A Page With Frames </title> </head> <frameset rows="20%,80%" /> <frame src="Banner.html" name="top" noresize="noresize" /> <frame src="Homepage.html" name="main" /> </frameset> <body> </body> </html> This creates a web page with a thin banner at the top that has 4 links. One link to the home page and 3 other links to other web pages. The page as written above works just fine. Each of the pages appears in the bottom frame. When I replace "name" with "id"(like the good web coder that I aspire to be), the pages appear in a new window or a new tab depending on how the browser is set. This happens both in IE6 and Firefox3. I haven't been able to find a reference to this anywhere on the web. Any help would be appreciated. I've heard many times "don't use frames, there is better ways to accomplish it", and I was wondering, is this just referring to "invisible" frames, or any frames? For example, look at Kingdom of Loathing. They use frames (or what appears to be frames) and I can't see how they could successfully make that site without. If I had to have all the screens scroll as one rather than separate, and couldn't resize when I needed to, it would be extremely annoying. So, frames are bad, or just the invisible ones? Hi there I recieved a template from a friend for my website. I have finished most of the site i now i have a problem. I would like to offer advertising space on eaither side of the page but i cant seem to do it. Please can somebody help me out. Thank you. The website is http://www.sapokershop.co.za you will see what i mean when i say space on the sides. I need help to create the frameset with the structure in the attached file. Can anyone help me please? Hey can someone help me do something like a frame but where you could add backrounds something like this ___________________________________________________ | Insert | | Text | | and | | back | | round | | here | | | | | I have three frames: -Header -Menu -Content On -Menu, I'm using drop down menu. This is were my problem occurs. All the options don't show up. So I was just wondering it is possible to overlay the -Menu frame over the -Content frame? Any other method to try and get around this problem? Thanks. so I am making a new webpage at http://www.geocities.com/manic.panicd I am wondering what the link code is for frames. When i click on "you" or "site", etc...I want it to open up in the main frame part of my layout. For an example of how im running into trouble. Check my webbie and click on the mini piece of lined paper in the "The Girl" section. How do i link properly? look i know that frames are bad but i have a good cause to use them XD all im wondering is - "For every one of the frames that i use, in the source file of the frame will i need to put the standard tags e.g. doctype, html, head, body, meta, title or can i just start with the code and it will work????" never used frames before so this is why im asking??? personally i think i will need to put in the standard tags because frames work differently to the PHP include function which practically copy and pastes the code into the file where you put your include function if im not mistaken??? Anyways thanks in advance Marcus =] I work with frames on my site. I have a link to another site where I want to open with another site in the same window. The problem is that of course the frames stay there. Only the main frame changes. How can I let disappear the frames, and open a new site in de same window? I'm wanting my website to not cover the entire screen. Like only be 85% of the width of screen so the a background would be visible around the edge of the actual content of the site. Can this be done with frames? I tried but couldn't get it to, but didn't know if there was some other way. I know it could be done with tables, I just thought it would be easier with frames...if possible. Thanks, Justin Hey everybody! I have a website on a three row frameset (top,body,bottom). I've created a separate frameset for each page on my site. But is becoming a bit annoying. I want to know if it's possible to click on a link, from my main page and have that open one frameset with the same Top and Bottom but, depending on the button I click, is the page that appears as the body. I hope that's clear, I'm a newbie. I'll really appreciate if there are any ideas on the matter. Thanks!!! Cheers! When designing websites in the past I have always used tables to organize content, but I've noticed that many professional templates don't use tables, but instead use Div Ids. Are Div ID's better and if they are can anyone tell me how to use them. I have a page that has a few images with links to differnet sites and I want them to link to another page with a frame at the top that shows the same inages that are smaller and the page of the website below it. I know how to do frames but I dont want to create a different page per link. (In short I want to have a link to a website open in another page with frames) Here is a basic idea for the front page http://www.techmatefl.com/pcp/ Here is the second page with the icons and the blank area is where I want the different sites that you choose to show http://www.techmatefl.com/pcp/site.html So it will be like a google image search in a way. Let me know if there is a way to do this with HTML, JS, or anything else. hi, i need help with frames, what i want is first a search box where a user puts in a search term then this is made into a string and added to 8 urls all of which are displayed in frames, could you help me write this thanks hi there i just need help with frames thing. i am abit new with this html stuff here i have three frames one at top as tittle one, at the side for menu and one the main... now wat i dont know is at the menu frame i have created a table where i have inserted pics instead of words now i want like when i click on one pic a certain file should be opened in the main frame which i have named as body.htm and not ina new window hope u are understanding wat i am trying to put here is the code of the menu page <html> <head> <title>my web</title> </head> <body background="wallpaper.jpg"> <img src="menu.gif" align="middle">*** here also i putted the align thing but still the pic comes in the side ** <table> <tr> <td><a href="body.htm"target="body.htm"> ** this is the code i used but whenever i click on the doll image the page opens in new window which i dont want..** <img border="0" src="dolls.gif"/></a></td> </tr> </table> </body> </html> hope u understand what i m trying to say. i have a menu frame in which i ahve put pics now what i want is when i click on the pic at the menu frame i want the link to open in the same window at mainframe thanks will wait for the repliess Hi I need a page that has six eqaually sized frames displaying different sites with a scroll bar on each and no border. How would i do this Thanks Hello guys, im new here =) So.. I was trying to make a frame with a scrolling bar, like this site >> www.roxdownload.net take a look =) What should i do? Thank you very much =D Hi guys, I have a couple of sites done over the last while and, whilst they work well enough, I want something like frames. I have resisted using them because everything on the net about it seems to be bad. The problem is that I have a 'template' which is the same for almost every page on the site (logo, search bar, top navigation bar, side navigation & footer). If I want to change anything in this 'template', I have to go and change it on every single page. This is OK on a couple of pages but I have nearly 20 now and it seems ridiculous! So how should I be doing it? What I really want is to have the 'template' in just one place so that I change the one file and it then applies to all my pages. I am self taught and really only know html/css with a very limited knowledge of javascript. Thank you Hi, First time posting... I have a site that contains frames and I am applying IDs to the tables and providing links above to move further down the page but it also moves the outer frame but I would like the outer frame to remain still and for the link to scroll to the right place in the page in the inner frame. Is this possible? Thanks. |