HTML - Locking A Frame Question
Hello All,
This one has me stumped. I have a frame dividing my screen into two sections, a top window and a bottom window. Here is my frame file: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><title>Table One</title></head> <FRAMESET Rows="148,100%"> <frame noresize src="table_hdr.html"> <frame src="table_one.html" NAME="Lower""> </FRAMESET> </html> When I open this in a full screen view, it works perfectly. I can scroll down my table and the header stays put. My problem comes when I open my table in a window that is too narrow to display the full width of the table. A horizontal scroll bar properly appears at the bottom of the page so I can move left or right to view individual columns in the table. However, I would like to lock the header, top window, so that as I scroll horizontally with the horizontal scroll bar, the header moves left and right with the body, no separate horizontal scroll bar needed for the header. Is this possible? Or am I breaking some sort of law of physics? Any help appreciated. I thought I had cracked this nut a couple of years ago but can't find the file. Charlie Similar TutorialsLets say I have an HTML frameset with 3 rows. When the the browser window size is adjusted and decreased, the bottom two frames begin to shrink and overlap the top frame. How can I make it so the "space" is taken from the bottom frames first? R I am trying to hide part of my blogger header in a frame. i tried to put a negitive value for the marginheight but that did not work. any help is much appreciated. thanks <html><head></head> <frameset border="0" frameborder="0" framespacing="0" rows="100%,*"> <frame marginHeight=-20 src="http://glue.blogspot.com" > </frameset> </html> Hey. My boss has asked me to make a sort of...main user page. The employees will log in to this 'main page' (did this using php) and then they can get access to their time sheets, expense sheets and other things. Im just wondering the best way to do a lay out is.. I need to have the company logo in the top. and then I was thinking a bar just under that with all the different options. then underneath that will appear all the info. Say they pic time sheet, it would appear underneath. I was reading on w3, and I was reading about frames...but when I go to use them phpDesigner v6.2.3, i just get red underlined syntax errors, which leads me to believe they arent correct to use anymore (granted they do get the job done when i preview my page ) If you can tell me what I should research up on, that would be great. I have only been using html, php, javascript, swl for about 3 weeks, so Im no pro by any means oh, by the way, i am using Code: <frameset rows="13%,87%"> that syntax Thanks, Paul i am having some major thinking problems here and can't figure out how to get this page: HTML Code: <html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> </head> <script LANGUAGE="JavaScript"> function browser_check() { var name = navigator.appName; var version = parseInt(navigator.appVersion); go(name, version) } function go(name, version) { if(name == "Microsoft Internet Explorer" && version >=4) { location.href="ief.html" } else { location.href="ff.html" } } </script> <body onLoad="browser_check()"></body> </html> to work in the "main" frame in this so that the "main" frame is the only one that gets redirected: HTML Code: <html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>Triumph's Website</title> </head> <body> <frameset rows="1,*" framespacing="0" border="0" frameborder="0"> <frame name="banner" scrolling="no" noresize target="contents" src="blank.html"> <frameset cols="1,*"> <frame name="contents" target="main" src="blank.html"> <frame name="main"> </frameset> <noframes> <p>This page uses frames, but your browser doesn't support them.</p> </noframes> </frameset> </body> </html> want this done so that it doesn't show the address changing in the address bar and also would like to NOT have any scroll bars and it work on both IE and FF. i have done this in the past just can't remember how i done this before. thanks in advance Normally when I add a background image to a frame the image repeats itself in a tiled fashion, you know what I mean. Is there any way to change this so it only shows the background image once. I don't want tiled. Thanks!! Arc. Hello, First off let me say thanks for checking this posting out. I am sort of stumped on this one however. My question is I have an inline frame that is holding data from a txt file. What I would like to do is take the data the inline frame is displaying and copy it to the clipboard using a button. Below are links to the images and the code I am using... Bascially you see the copy button, I want to click that and it copy the text thats in the inline frame to the clipboard so I can paste it elsewhere, like in word (just an example) Code: <html> <head> <title>SCWC Responces</title> <style> body { margin: 20px; background: #eee; } iframe { width: 700px; height: 300px; border: 1px solid #ccc; background: #fff; } </style> <script language="JavaScript"> <!-- function FP_swapImg() {//v1.0 var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length; n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm; elm.$src=elm.src; elm.src=args[n+1]; } } } function FP_preloadImgs() {//v1.0 var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array(); for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; } } function FP_getObjectByID(id,o) {//v1.0 var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id); else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el; if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c) for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; } f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements; for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } } return null; } // --> </script> </head> <body onload="FP_preloadImgs(/*url*/'button13.jpg',/*url*/'button14.jpg')"> <p align="left">Please Choose The Appropriate Response :</p> <ul> <li><a target="show_file" href="SCWC_NO_SUPPID.txt">No 5-Digit Supplier Code</a></li> <li><a href="NO_INVALID_SPONSOR.txt" target="show_file">Ticket Reject;Invalid Sponsor</a></li> <li><a href="2ND_LEVEL_SUBMISSION.txt" target="show_file">2nd Level General Responce</a></li> </ul> <iframe name="show_file" width="844" height="300"></iframe> <p> <img border="0" id="img1" src="button12.jpg" height="20" width="100" alt="Copy" onmouseover="FP_swapImg(1,0,/*id*/'img1',/*url*/'button13.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img1',/*url*/'button12.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img1',/*url*/'button14.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img1',/*url*/'button13.jpg')" fp-style="fp-btn: Brick Column 9" fp-title="Copy"></p> </body> </html> -WinUser2003 Is there any way for me to hide the scroll bar? Any way to lock it? When im designing/editing tables, using dreamweaver, is there any way I can lock them as they are? Because, I find when I start adjusting other columns or rows it affects the rest of the table. Is there a simple way to 'lock' them in place once I am happy with them? Hi, I was just wondering if there was a way to sort of "lock" a table so that when you put too much text into it, it won't let you put anymore in when you get to the limit. I'm currently using dreamweaver. Hey everyone, I'm in need of some html help. It's hard to explain this but here goes. I am trying to lock an image to the browser on a website that will work in ie and other browsers. What I mean by this is, I want the image to stay exactly to top right hand corner of the browser and its locked here as if its in front of everything else. I have seen this done before where people have had a make poverty history image on their website which looks as if its attached to the browser. I hope someone can help because i'm not sure how else to explain this but really want to know how to do it. Many thanks regards, Jon Bennett P.S - I have attached an image which I hope helps in explaining what I'm trying to do. My basic problem is this: the tables in my website are not locked once the website is run, thereby enabling the user to adjust the width of the table and seriously mess up the content. I'll explain my background a bit first so maybe I wont get a bunch of messages telling me to just use CSS. Now, I understand that I probably shouldn't be using tables, but I inherited webmaster duties on my companys website from somebody else and I am stuck with his original design. I also got stuck with frames, and I realize that is a great sin, but again, I gotta work with what I got at least for now. So heres my problem My site has three frames, header, left menu, and the content. The content frame has a table with three columns, one column full of words, one small column for spacing, and a third column on the far right for a picture. When the page is run in IE (but not Mozilla) the user can grab the left border of the content table and move it around, screwing it up. Is there some way to lock the table so this can't occur. How is this normally managed. Thanks -Newbie Confused by simple problem PS: THis is the code for the top of the table (The .... are paragraphs of text) <table width="777" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="607"><img src="images/front1.jpg" width="38" height="45" alt="" border="0"><a name = "WealthManagement"> <b><font size="4">Comprehensive Wealth Management</font></b> <p>......</p> <p>...... </p> <p> ...... </p> <p>Integrating o..... </p> <p>Our W......</p></td> <td width="10"> </td> <td width="160" valign="top"><img src="con_pics/31.jpg" alt="" border="0"></td> </tr> Hi All, I am looking to lock the link I use to stream live footage over mywebsite. I run a filming of a local sports group and noticed a lot of people were able to help themselves to the feed. I would love it to have the person log in and if the same loin combo was entered again that both sessions terminate. How would I go about this. I am using dreamweaver to build the site. Thank you in advance Greg Hello All, I cant seem to lock a form and images in a browser, I have all center and when it opens it remains centered but when I shrink the browser window the images/form moves... My CSS is <style type="text/css"> <!-- body { background-image: url(); margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin: 0; padding: 0; } --> </style></head> <style type="text/css"> <!-- #centerDIV0 { width: 100%; text-align: justify; overflow: hidden; position: absolute; margin: 0px; padding: 0px; left: 0px; top: 0px; right: 0px; bottom: 0px; visibility: visible; background-image: url(CS_bkgd.jpg); background-repeat: repeat; } #centerDIVX { text-align: center; overflow: hidden; position: absolute; margin: 0px; padding: 0px; vertical-align: middle; z-index: 2; left: 0px; top: 0px; right: 0px; bottom: 0px; width: 100%; } #centerDIVZ { z-index: 2; overflow: hidden; position: absolute; font-family: Arial, Helvetica, sans-serif; font-size: 14px; text-align: center; vertical-align: middle; left: 0px; top: 0px; right: 0px; bottom: 0px; margin-top: 380px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; visibility: visible; padding-top: 0px; padding-bottom: 0px; padding-left: -300px; } --> </style> And Html is... <body> <div id = "centerDIV0"> </div> <div id="centerDIVX"><img src="CS_bkgd.gif"/></div> <div id="centerDIVZ" bgproperties="fixed"> <form action="mailto:tastetation301@yahoo.com" method="post" enctype="text/plain" onsubmit="location.href='thanks.html'"> <p><br/> <strong>Name:</strong> <input type="text" STYLE="color: #FFFFFF; font-family: Verdana; font-size: 12px; background-color: #000000;" size="0" maxlength="50" align="justify"/> <br/> <strong>Email: </strong><input type="text"STYLE="color: #FFFFFF; font-family: Verdana; font-size: 12px; background-color: #000000;" size="0" maxlength="50" align="justify"/> </p> <input type="submit" value="Submit"/><input type="reset" value="Reset"> </form> </div> </body> </html> THANKS FOR YOUR ASSISTANCE!!!! Hey. I have a frame and inside it there is a link. I want it to target an anchor called Code: <a name="anchor"></a> that is INSIDE it's own frame. I tried Code: <a href="#anchor"> but it tries to reload the entire page, and doesn't just "jump" to the anchor like it normally would. How do I do this? Thanks Hi there, I was wondering if anyone knows how to centre an image link in another frame (yes I know frames are bad but its an old website I am updating) i have <a href="picturelink" target="mainframe"> <img src="thumbnail" border="0"></a> I have tried everything from class="center" to editing the original frameset and the original page loaded into the window but I can't get the jpeg file to load up centred and so I was hoping someone might be able to help as I don't want to link all the pictures to seperate html documents with only a centred image in... Thanks for any help. Hi! I am using Dreamweaver 8 to develope my site. I have broken the page in three pieces(frames) So that the top frame shows the title, the left frame is for links that I want to show as flash movies in the right frame. I have studied the help file and I have looked on the web and I can't find an explanation that I can understand on how to do this. I believe the clickable link should be an href but I don't know how to code it. Can someone explain this to me? Thanks in Advance! Paul Ok call me slow but I am starting to move to a non-frame web site structure now and I am going to be getting away from tables except to display tabular data. Most of my sites have a header image and a menu that I want to stay constant from page-to-page. Also, I assume I want to lay-out my pages using styles and divs. Can someone point me to a resource that discusses these things. Thanks a ton in advance~ I have welcome page which code is like this, This page will display after login page. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-Frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:t="http://myfaces.apache.org/tomahawk" > <frameset rows="26%,*" border="0" frameborder="0"> <frame name="f1" src="heading.jsf" scrolling="no" noresize="noresize" /> <frameset cols="25%,*"> <frame name="f2" src="menuTree.jsf" scrolling="no" noresize="noresize" /> <frame name="f3" src="body.jsf" scrolling="auto" noresize="noresize" /> </frameset> </frameset> </html> I have one command button in body.xhtml page, after clicking that button, i want to dipaly login page again without any frame, ie. i want to display that page entire screen, but in my case its displaying only in body page. How to solve this problem, Regards, Vinutha. hey guys, im looking for a way of cutting down the amount the visitor to my site has to download, as well and speed of loading betweens pages, ive attached an image of how to site looks so far, i have rows of links on eith side, on the top, and a row going down the center i wish to display in. If the user clicks on a link from anyside i would like only the center text to change and leave the links and header, saveing on size of the web pages on the server and the amount the user has to download i looked around and found frames would be an answer but there god dam confusing and it seems they come attached with a scroll bar where as i would like the page to simply feed downwards is there any way of keeping the outer part like a template and like i said just have the links replace the text with what ever the topic? |