HTML - Frame Question
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> Similar Tutorialsi 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 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 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 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. 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. 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! 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 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. 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 wanted to put some kind of a big frame ( not with frames ) around the web content so that the sides would be clear without any content on it. I tried alot of stuff but nothing helps like: BG(nothing) l bla bla l BG(nothing) BG(nothing) l bla bla l BG(nothing) BG(nothing) l bla bla l BG(nothing) hmm I asked for help in getting a big frame over the site content and I got here help .(by the way thanks)(I dont mean frames... What I meant was to put the content in some kind of a big frame likse div...) Code: <html> <head> <style type="text/css"> html, body { background: blue; } * { margin: 0; padding: 0; border: 1; } #container { width: 885px; margin: 0px auto; /*centers #container*/ padding: 5px; background: black; } </style> </head> <body> <div id="container"> </div> </body> </html> it helped but then I found another problem : I used this code for puting a frame the i can scroll over something but now it doesn't work Code: <b style="overflow:auto; height: 640px; width=292px;" class="sotableup" align="left"> </b style> And now it doesn't work. Any ideas? Hey Guys - I need to make a real basic page with a frameset-like element. I need the top part of the page to remain stationary, and the bottom scroll underneath it - so that the top part of the page stays on stop of whatever the user is looking at. Should I do this with frames, or is there another method that I am unaware of? Thanks! 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? i am using iframe concept in my website ,But it is not working Here is the code: <iframe name="downlineframe" height="400" width="100%" frameborder="0" src="http://nyoil1.ning.com" ></iframe> if i give http://nyoil1.com,it is working well,if i give http://nyoil1.ning.com na its not working.... Have a look at my website: http://www.jlsindia.org/nayapath This website is of a magazine, and based on 'frames'. Now this website is divided into three frames: 1. Top-frame, is for header 2. Left-frame, is for links of articles 3. Right-frame, is body, where the text of clicked link displayed. Now I want to put a 'print button' at the top of my page (in top-frame), and with this i want to 'print the content of right frame'. Is this possible??? After finding a workaround to the perils of using frames, I decided to give myself a new headache. I would like to use the contents of one frame to determine the contents of another using a script within the page itself. Specifically, I want my index page to automatically determine which page within my site the user has navigated to (the page will appear in the content frame) then load a complimentary page in another frame (say and ad frame). Can I do this with javascript or CSS, or do I need to make the index page a php? Hi, Here's the frame URL: http://docs.google.com/uc?id=0B1iqp0...UzMWNhYWU4MjBi I inserted it through the iframe tag into the following page: http://rain-lover.webs.com/sample.htm Opera and Firefox are the only major browsers that display it. No luck in IE, Chrome or Safari. I get the same result using the following code: Code: <object type="text/html" width="100%" height="600" data="http://docs.google.com/uc?id=0B1iqp0kGPjWsMjBjN2EwZDctMjhlNy00ODJjLWJjNTgtYTUzMWNhYWU4MjBi"> </object> Please help! Thanks in advance. i'm trying to get a link to open in a frame not quite working thought.. <H4><A HREF="sub.html"TARGET="UntitledFrame-11.html">-> Resor</A> </H4> here's my attempt but this just opens a new windows and shows sub.html i want it too show in untitledframe-11 any ideas? |