HTML - Html Frame Question
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 Similar TutorialsI 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> 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 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 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 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. I am currently making my first ever site online... I am haivng some difficulty with the frames... Code: <html> <head> <title>Jman1022's Official site</title> </head> <frameset rows="200,586"> <frame noresize="noresize" src="title.htm" name="title" frameborder="0" scrolling="no" marginwidth="0" marginheight="0"> <frameset cols="220,2*" <frame noresize="noresize" src="menubar.htm" name="menu" frameborder="0" scrolling="no" marginwidth="0" marginheight="0"> <frame noresize="noresize" src="body.htm" name="body" frameborder="0" marginwidth="0" marginheight="0"> </frameset> </frameset> </html> I do not see why there still is a white border between the frames linky If anyone could help i would greatly appreciate it hi frds, am speck. am working in software company n write now am working on frames related site. as i dont have much knowledge abt html frames. as this website previously using three frames layout. but as per the instruction i make it two frame index page n while doing this ,i made column n row size to zero for frame that i want to removed. after doing this this website can view perfectly on fire fox but cant see properly on ie. as i dont know abt frame that much i want ur help in this matter. am sending u index page coding . plzzzz help me as i am need !!!!!!!!!! -------------------------------------------------------------- INDEX PAGE --------------------------------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <head> <title>Konkan Railway Corporation Ltd</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <frameset rows="*" frameborder="NO" border="0" framespacing="0"> <frameset cols="0,*" frameborder="NO" border="0" framespacing="0"> <frame src="onenew.htm" name="leftFrame" scrolling="no" noresize> <frameset id="fset" rows="110,*" framespacing="0" frameborder="NO" border="0"> <frameset id="fset" cols="*" framespacing="0" frameborder="NO" border="0"> <frame id="frm1" name="frm1" src="two.html" scrolling="NO" noresize> </frameset> <frameset id="fset" cols="*" framespacing="0" frameborder="NO" border="0"> <frame id="frm2" name="frm2" src="threenew.html" scrolling="auto" target="_self"> </frameset> </frameset> </frameset> </frameset> <noframes><body> </body></noframes> </html> I have a menu with coffie cup flash menu builder. And i have frames HTML. I know this question as be asked 10000 Times. How do i get the flash menu to go to my main frame page. It keeps opening in its own window a new window or taken up the hole window with out the frames. I tryed eveything including (release) { getURL ("main.html", "main"); } But it still doesnt work but i have no idear how to get this to work hi everyone... I have divided a html page in two frames.one is header another is the main page. In main frame there is login form, when i am submitting form it calls the next page in the same frame by default and address in the address bar is not changing because page in the address bar is not changing only main frame is changing. I want that when i submit the form, page containing the header and main frame get vanished and next page should be called without these frames. thanks in advance I used the following code in Firefox-3.0.4 (Full Screen mode) . I have two vertical frames (Video and messenger). In the video frame VLC playing on top of the video frame (Not embedded into HTML). The Video is playing correctly, except sometimes only "a black color background" comig, not always (Within the video frame, vertically left-half/right-half/Full of the frame is black color background) is appearing between VLC-video and Frame. Since I have positioned the video (top:8px; left:57px), I can noticed when above taken place. Actually, in my application VLC is independent of Firefox/HTML.l So I want to avoid the black-color background. I dont want the black color background. Actually, this is happening when skin changes, the code attached is currently having skin_10 (for resolution 1024x768). Similarly changing skin_1 for the same resolution, but cols, and rows only changing. ie. frame size is changing for different skins. (Every skins having different rows and cols) I attached 5 images, 1. bg_skin_1024_768.jpg =>skin background image 2. sample.jpg => a sample required output image. 3.sample_left_black.jpg => Error with left side black background 3.sample_right_black.jpg => Error with right side black background 3.sample_full_black.jpg => Error with full black background Please can anybody know about this issue me? thanks Kanesh <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML> <head> <meta http-equiv="Cache-Control" content="no-cache"> <meta http-equiv="Expires" content="0"> <meta http-equiv="Pragma" content="no-cache"> </head> <frameset rows="0,*" cols="*" style="background-color:#ffffff;" frameborder="NO" border="0" framespacing="0" > <frame src="121term_ctrl.php" style="background-color:#ffffff;" name="control" scrolling="NO" framespacing="0" noresize="noresize" > <frameset style="background-image:url('./skin/skin_10/images/1024_768/bg_skin_1024_768.jpg'); background-repeat:no-repeat;" cols="704,*" margin-height="0" frameborder="no" border="0" framespacing="0" noresize="noresize"> <frame transparency="true" src="vp/play_video.php?width=704&height=658&top=57&left=8" frameborder="0" margin-height="0" scrolling="no" name="video" noresize="noresize"> <frame transparency="true" src="./skin/skin_10/messenger.php?width=320&height=768&top=200&left=20" frameborder="0" margin-height="0" scrolling="no" name="messenger" noresize="noresize"> </frameset> </frameset> <noframes> </noframes> </HTML> Is there a way to set the minimum width on html frames which are inside a frameset such that when resizing the frames do not disappear completely? For example how would you do it in the following? <html> <frameset cols="50%,50%"> <frame src="left.htm" /> <frame src="right.htm" /> </frameset> </html> I have search around for possible answer(s) but I have not found a solution that works. Preferably, I am looking for a solution that works for recent versions of IE, FireFox at least. Thanks. Hi, I want to hide contents of html page when certain frame is loaed. By hide I mean when The frame get loaded at that time other HTML contents should be hidded with some semitransparent image & only loaded frame should be clickabel. All the other HTML content needs to be inactive. For example <html> <head> <script language=JavaScript> </script> </head> <frameset rows="40%,*"> <frame id="frame1" name="frame1" src="two.htm" /> <frame id="frame1" name="frame2" src="three.htm" /> <frame id="frame2" name="frame3" src="one.htm" onafterload="check()"/> </frameset> </html> when check function is called only frame3 should be visible & rest of the frames & their contents should be hidded with a semitransparent colour shade. & these contents should be unreachable by any means by user! Help me Hello everybody, Im currently working on a website that requires a message checker of sorts. Basically every 10 seconds a frame on the bottom of the page refreshes, that page checks for new messages and if any messages exist which the user hasnt been told about a dialoge appears. It also shows the total number of unread messages. Heres the problem: Everytime the message checker refreshes it puts an entry in the back history, so if a user sits at a certain page for a minute they would have to hit back more than 6 times to go back one page. For instance thier history would look like this: Message Checker Message Checker Message Checker Message Checker Contacts Message Checker Message Checker Communications Message Checker Is there a way to tell the browser not to register a certain frame in the history? I also made it so the message checker checks to see if anything has changed since the last refresh and if nothing had changed i made it go back a page but that has very mixed results and none of them desireable. Here is the current frameset code: PHP Code: </HEAD> <FRAMESET cols="1055"> <FRAMESET rows="950, 30"> <FRAME name="mainFrame" src='main.php' noresize=true frameborder=0 > <FRAME name="messageFrame" src='messageChecker.php' noresize=true frameborder=0 scrolling=no> </FRAMESET> </FRAMESET> </HTML> And heres the resulting html code from the message checker: PHP Code: <HTML> <HEAD> <TITLE>RIAC Message Center</TITLE> <meta HTTP-EQUIV="REFRESH" CONTENT="10"> </HEAD> <BODY bgcolor="#ECE9D8"> <SCRIPT language='javascript'> location.href='#messages'; </SCRIPT> <a name='messages'> </a><B>0</B> Open Communications <a href="./myMessages.php" TARGET="mainFrame">View Messages</a> </BODY> </HTML> Also, I tried using javascript code to refresh the page which had the same results. Any Ideas? I use XSLT to create a html document, and I'm not THAT familiar with html I want to divide my html page in 2 frames via a frameset. For many reasons I only want ONE html document at the end. I want to create totally new html code in the source URL of a frame, this may sound funny, so here is an example: This is how it normaly looks if I'm correct: HTML Code: <frameset cols="400,*" frameborder="yes" border="5"> <frame name = "leftF" src = "2.html"> <frame name = "rightF" src = "3.html"> </frameset> This is something like I want it to be(because I only want 1 html document): HTML Code: <frameset cols="400,*" frameborder="yes" border=5> <frame name = "leftF" src = "<html><body>This is the 1st frame</body></html>"> <frame name = "rightF" src = "<html><body>This is the 2nd frame</body></html>l"> </frameset> I've tried the above without any success. Does anyone know how to do this, or does anyone have an other suggestion (I don't HAVE to use a frameset, but I don't know any other possibility ). Thank you. Hi, I am currently creating a HTML e-newsletter, and need the frame/template to essentially remain static. In other words, when the recepient alters the size of their preview/display panel in their email program (eg Outlook), the column widths/spacing and text size remains the same. Could anyone please advise as to how this is done? Thanks! 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 Code: <hx:outputLinkEx styleClass="outputLinkEx" id="formPdfLink" onclick="return openPDFWord(this, '#{varsearchResults.targetURLForPDF}');" value="#{varsearchResults.pdfURL}"> <h:outputText style="color:red;" styleClass="outputText"styleClass="outputText" id="text7" value="#{varsearchResults.formIdAndEditionDate}" escape="false"> </h:outputText> </hx:outputLinkEx> Here i threw in the tag style = "color:red;" into my dynamic print code in my jsp file. I'm trying to get just these links to change color when clicked. Is there a way to use vlink? I tried style = "vlink:red" which didn't work. Any help on how to make that happen would be greatly appriciated. Regards, Will |