HTML - Simple Html Frames Question
Hi!
I am new to HTML. Stuck at this. Could someone please help? Need simple HTML code to create frame like this: Image below. Thanks Similar TutorialsSo a few questions, If you have a webpage within a frame, be it a regular frame or an iframe, and there is a link in the webpage inside the frame, if no target is specified for that link then by default the link loads in the same frame as the original web page, in all browsers, correct? Secondly, what is the syntax for specifying a target while doing a meta tag automatic refresh? Thanks for the help! Hello, I want to sell something on ebay, and I want to make a thumbnail picture that when clicked, opens in a FITTED new window. As far as I know, eBay only allows basic html (I could be wrong). I already know the target="_blank" thing, but I want the new popup window to be the exact size of the photo that's popping up. How do I do that? Additionally if possible, can I take out the File Edit etc, and the scrollbars? What HTML code is to make your first page show your company logo and then automaticly proceed to main page? Probably simple but I can't seem to find answer. Thanks. -Chris Hi. In a table data I have four lines of text each line separated by a <br> The text are different font sizes. The issue I am having is that the lines have space between them above and below. How do I get the lines of text closer together using simple html? text line 1 | (this space) | text line 2 Hi. In a table data I have four lines of text each line separated by a <br> The text are different font sizes. The issue I am having is that the lines have space between them above and below. How do I get the lines of text closer together using simple html? text line 1 | (this space) | text line 2 Regards Hi. In a table data I have four lines of text each line separated by a <br> The text are different font sizes. The issue I am having is that the lines have space between them above and below. How do I get the lines of text closer together using simple html? text line 1 | (this space) | text line 2 Regards I am trying to set up a simple tick / checkbox which reveals a "submit" button. I have managed to get the html code but i do not know where or what to input for the button to link to another page on my website... PLEASE HELP!! the code I have is as follows: <FORM NAME=myform> Agree? <INPUT TYPE=CHECKBOX onClick="document.myform.btnSubmit.disabled = false;"> <INPUT TYPE=SUBMIT NAME=btnSubmit DISABLED> </FORM> Hi . Here is my script HTML Code: <table width="200" border="0"> <tr> <td><span class="style2"> <input name="button" type="button" onclick="show('Hello')" value="Button 1" /> </span></td> </tr> <tr> <td><span class="style2"> <input name="button22" type="button" onclick="show('Goodbye')" value="Button 2" /> </span></td> </tr> <tr> <td><span class="style2"> <input name="button23" type="button" onclick="show('Good Morning')" value="Button 3" /> </span></td> </tr> <tr> <td><span class="style2"> <input name="button2" type="button" onclick="show('Goodnight')" value="Button 4" /> </span></td> </tr> </table> <p class="style2"> </p> <p class="style2"> <textarea name="textarea" cols="50" rows="10" readonly id="area"> </textarea> In the areas where it says, for example ="show('Goodnight')", how do I add HTML code in the brackets but as normal text? At the moment it is trying to read it as HTML code but I want it to be displayed as text. How would I accomplish this. It is probably pretty simple but I am a bit of a noob Thanks <frame src="topbanner3.htm" name="topFrame" noresize="noresize" scrolling="no"> <frameset rows="*" cols="170,*" framespacing="0" frameborder="no" border="0"> <frame src="menu.htm" name="leftFrame" noresize="noresize" scrolling="no"> <frame src="Homepage.htm" name="mainFrame"> </frameset> That is the code I'm using to make the frames for my website. How can I change it so that the 'topFrame' is tall enough to fit page it is showing? Hope that made sense. And should I really be using frames? They are quicker for my site but not sure if it would be better to not have them for people using text browsers etc Hello All, You guys are probably sick of this topic but I'm really stuck. I want the frame page (using horizontal frames) to open my content page part way down an existing HTML document. No Links, just want to open part way down my content page. Here's my Frameset page: <html><head><title>Table</title></head> <FRAMESET Rows="148,100%"> <frame noresize src="table_hdr.html"> <frame src="green.html#greentop" NAME="content"> </FRAMESET> </html> I tried putting the standard anchor tag in my content page, as so: <A name="greentop"> at the location I want the content page to open but no Joy. The content page still opens at the top. Using lE 7 What am I doing wrong and what is the proper tag to open the page where I wish? Thanks all for your help. Charlie So we're fixing another one of our websites and it seems that when you click on the "home" button in the left frame... it opens up the home page in a new window rather than in the main frame. Ahhh difficulties. I've been thinking it's a target issue, but I can't figure it out where and why. Any help? http://www.carlsonbldgservices.com Thank you! Can anyone tell me why someone may want to have frames or multiple html docs on a web page? I can't find a reason for this anywhere on the net? I am creating a site using frames and was wondering if it was possible to have the website centered so that it would look the same in all browsers. Also I am having an issue with the background on my right side frame repeating and I can't seem to get the no-repeat sort of codes to work for me. Any suggestions? Thank you. Hello, I am building a personal website from which I plan to link to other sites such as facebook. flickr, etc where I have publicly viewable content. I have been working on a frame that I will put on top of these pages when they are linked from my site. So, I have made the frame and corresponding html documents, but I was wondering... I have the top frame set at 25px, which is just enough to show a single line of text and some links. I used the * variable to make the bottom frame, which is the actual page, to fill in the rest. My problem is that it appears the frame is draggable, meaning you can pull it down farther or smush it all the way up to the top. Is there a way to fix this? I can provide the code for the frames if neccessary. here is the site: http://www.trevorsummerfield.us All help is greatly appreciated Thanks Hi guys, I am trying to help my friend figure out what is going on with his (VERY BASIC) website. I believe that he created it using dreamweaver originally, and then tampered with the code a little. The problem is as follows: The website seems to display perfectly as intended on mac ( safari) however when viewed on PC wit internet explorer the frames do not not work properly, They are opening in different windows etc. I know that no-on ould ever recommend building a site like this with frames, but would recommend iframes etc, however i ws wondering if there is a flaw in the code that can be fixed to resolve his problem simply? Thanks for even taking the time to read this, any helpful advice would be most appreciated! the code is as follows: The code titled "main" the main piece of code, then the coodes titled "top", "middle" and "bottom" are the codes for the respective frames. MAIN: -------------------------------------------------------------------------------------------------------- HTML Code: <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title></title> </head> <frameset rows="67,*,74" framespacing="0" frameborder="no" border="0"> <frameset cols="*" framespacing="0" frameborder="no" border="0"> <frame src="topframe.html" name="topFrame" scrolling="No" noresize="noresize" name="topFrame" /> </frameset> <frameset cols="*" framespacing="0" frameborder="no" border="0"> <frame src="midframe.html" name="mainFrame" name="mainFrame" title=""mainFrame" target="_self" /> </frameset> <frameset cols="*" framespacing="0" frameborder="no" border="0"> <frame src="bottomframe.html" name="bottomFrame" scrolling="No" noresize="noresize" name="bottomFrame" /> </frameset> </frameset> <noframes><body> </body> </noframes></html> TOP: -------------------------------------------------------------------------------------------------------- HTML Code: <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>Untitled Document</title> <style type="text/css"> <!-- body { background-color: #A890AE; background-image: url(Images/maze%20strip%20top.jpg); } .style1 {font-size: 8px} --> </style> <script type="text/JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } // 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_swapImgRestore() {//v1.0 var doc=document,i; if(doc.$imgSwaps) { for(i=0;i<doc.$imgSwaps.length;i++) { var elm=doc.$imgSwaps[i]; if(elm) { elm.src=elm.$src; elm.$src=null; } } doc.$imgSwaps=null; } } 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_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*/'Images/image-g.gif'); MM_preloadImages('Images/discography-black.gif','Images/images-black.gif','Images/text-black.gif','Images/download-black 45pt.gif','Images/download-g.gif','Images/download-b.gif','Images/image-g.gif','Images/text-g.gif')"> <div align="center"><img src="Images/divider.gif" alt="." width="65" height="33" /><a href="download.html" target="mainFrame" onmouseover="MM_swapImage('download','','Images/download-g.gif',1)" onmouseout="MM_swapImgRestore()"><img src="Images/download-b.gif" name="download" width="205" height="10" border="0" id="download" /></a><img src="Images/divider.gif" width="30" height="33" /><a href="images.html" target="mainFrame"><img src="Images/image-b.gif" name="images" width="124" height="10" border="0" id="images" onmouseout="FP_swapImgRestore()" onmouseover="FP_swapImg(1,1,/*id*/'images',/*url*/'Images/image-g.gif')" /></a><img src="Images/divider.gif" width="30" height="33" /><a href="text.html" target="mainFrame" onmouseover="MM_swapImage('text','','Images/text-g.gif',1)" onmouseout="MM_swapImgRestore()"><img src="Images/text-b.gif" name="text" width="104" height="10" border="0" id="text" /></a><img src="Images/divider.gif" alt="." width="65" height="33" /><a href="midframe.html" target="mainFrame"></a></div> </body> </html> MIDDLE: -------------------------------------------------------------------------------------------------------- HTML Code: <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>untitled</title> <style type="text/css"> <!-- body { background-image: url(); } .style1 { border-width: 0px; } --> </style> <base target="_self" /> </head> <body> <div align="center"> <p> </p> <p><a target="mainFrame" href="download.html"> <img alt="" src="Images/doomsayercoverthumb.jpg" width="319" height="319" class="style1" /></a></p> <p> </p> <p> </p> </div> </body> </html> BOTTOM: -------------------------------------------------------------------------------------------------------- HTML Code: <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>untitled</title> <style type="text/css"> <!-- body { background-color: #FFFFFF; background-image: url(Images/maze%20strip%20bottom.jpg); } .style1 { font-family: Arial, Helvetica, sans-serif; color: #000000; font-size: 13px; font-weight: bold; } .style2 {font-size: 10px} .style4 {font-size: 12px} --> </style></head> <body> <div align="center" class="style1"> <p class="style2"> </p> <span class="style4">last updated 08/12/2011</span></div> </body> </html> <HTML> <HEAD> </HEAD> <frameset border=0 noresize=yes COLS="400,*"> <frame src="http://facebook.com" name="myframe1" scrolling=yes> <frame src="http://twitter.com" name="myframe2" scrolling=yes> </frames>et> <noframes> <body> This page uses frames, but your browser doesn't support them. </body> </noframes> </HTML> To make this real quick...I want to have twitter and facebook in two frames on one page...whenever I do it, both sites don't seem to allow it to happen. The entire thing just redirects me to Twitter's website automatically, and if I click on the Facebook frame it does the same. Any way around this? Thanks in advance! Oye, I am trying to complete this teeny photo album I've been working on ... and I just about completed .. when I tested the Site in various browsers (mozilla, Explorer 8, Safari, Google Chrome) ... i noticed one of the frames is not showing in Google Chrome. How odd? here is the site: xxx There are three teeny shaded squares in a frame that is designated a height of 70 pixels and a width of i believe 100% ... it is visible on Mozilla, Explorer, Safari ... any ideas? is my source code screwy? Thanks! Is there any way that I can set up a page with frames where the frames remain a fixed width and will stay that size even if the browser cannot show them in their entirety? This is a simplified version of what I'm trying to do (with two random sites in the frames for an example) <html> <frameset cols="800, 800"> <frame src="google.com"> <frame src="yahoo.com"> </frameset> </html> How that is working right now is that if you reduce the size of the browser then the frames also reduce in size so that they both remain on the page... I don't want this. I want the frames to remain the fixed width (800) and if the browser is not large enough to display them (<1600), I want it to have a scroll bar along the bottom to scroll further right to view them. I don't really ever use frames though, so I'm not quite sure if there's a command to throw in either frameset or frame tags or if there's something else I need to do. Thanks! Hi, We are planning to use HTML frames in our product. Does anybody know any web standards which prohibits its use? cheers kk I am trying to build a website on a free webservice provider for a game that I play. The game is called Batheo, and the chat that they have is horrible. What I would like to do is really just have a 4 frames 1 for the banner, 1 for the navigation, and 2 more both running vertically. heres the code <frameset cols=10%,* bordercolor=blue> noresize=yes> <frameset rows=20%,*> <frame src=http://www.justiceHome.0catch.com/Banner.html name=BANNER scrolling=no marginwidth=0 marginheight=0 noresize=yes> <frame src=http://www.justicehome.0catch.com/Nav.html name=NAV marginwidth=0 marginheight=0 scrolling=yes> </frameset> <frameset cols=60%,*> <frame src=http://www.justicehome.0catch.com/Blank.html name=CONTENT2 scrolling=yes marginwidth=0 marginheight=0 noresize=no> <frame src=http://www.justicehome.0catch.com/Welcome.html name=CONTENT scrolling=yes marginwidth=0 marginheight=0 noresize=yes> </frameset> </frameset> Now the page opens just fine and looks how I want it to look. Below is the Navigation code. <BR><a href="http://www.justicehome.0catch.com/Welcome.html" target="CONTENT"><font color="white">Home</font></a> <BR><a href="http://www.justicehome.0catch.com/Chatroom.html" target="CONTENT"><font color="white">Chatroom</font></a> <BR><a href="http://b1.clapalong.com/" target="CONTENT2"><font color="white">Batheo</font></a> all the links work fine but the 3rd one. The page will open but it wont do anything. If you go to Batheo.com on the homepage to the right it has you sign in. Once you've signed in a button that says Play Now will appear, click it and it will open the http://b1.clapalong.com link in a new window, if you arent logged in and you try to go to that address it will present you with a login and not open it in a new window. Anyone know of a way to build this code better and get the page to actually open properly. The goal is to have the game display and to the right have a seperate chat so we dont have to keep switching between pages, or download a chat service. Thanks for any and all help! |