473,671 Members | 2,229 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

frame inside in total middle of document

how I can create frame inside in total middle of document with?

I have one htnl and I need html page totaly in middle..
Jul 23 '05 #1
4 1436


PHP2 wrote:
how I can create frame inside in total middle of document with?


HTML 4.01 knows so called inline frames e.g.
<iframe name="iframeNam e"
src="whatever.h tml"
width="100%" height="200">
<a href="whatever. html">whatever</a>
</iframe>

If you want to create one with script try
var iframe;
if (document.creat eElement && (iframe =
document.create Element('iframe '))) {
iframe.src = 'whatever.html' ;
iframe.width = '100%';
iframe.height = '200';
iframe.name = 'iframeName';
document.body.a ppendChild(ifra me);
}
--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #2

"Martin Honnen" <ma*******@yaho o.de> wrote in message
news:41******** *************@n ewsread2.arcor-online.net...


PHP2 wrote:
how I can create frame inside in total middle of document with?


HTML 4.01 knows so called inline frames e.g.
<iframe name="iframeNam e"
src="whatever.h tml"
width="100%" height="200">
<a href="whatever. html">whatever</a>
</iframe>

RE: I am try HTML option like below:
<iframe name="iframeNam e"
src="whatever.h tml"
width="100%" height="*" border="0">
<a href="whatever. html">whatever</a>
</iframe>
- But it not work.. I wish border 0, that frame page be same 'flat' like in
main page... not 1mm inside main page..

- I am add height * what must mean 100%, but it not work and 100% don't
work.. is possible that height be 100%?
Jul 23 '05 #3


PHP2 wrote:

RE: I am try HTML option like below:
<iframe name="iframeNam e"
src="whatever.h tml"
width="100%" height="*" border="0">
<a href="whatever. html">whatever</a>
</iframe>
- But it not work.. I wish border 0, that frame page be same 'flat' like in
main page... not 1mm inside main page..


Read the HTML 4.01 specification first, see
<http://www.w3.org/TR/html4/present/frames.html#h-16.5>
then if you have further questions on iframes try a group about HTML
authoring.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #4
it seems that html is not resolve my case:

you can see it in realiy:

this is my URL: http://f5web.com/frametest/indexF2.html

see: my web site inside frame is 'inside' 1mm

i.e. check this: http://www.hrt.hr/teletext/index.htm

inside frame is 'flat' with other frames
can javascript better? that frami inside be same like other frames..
Jul 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
9252
by: Kathryn | last post by:
I hope you can help as this is driving me crazy! I have an asp which has 3 frames on it as follows: <FRAMESET rows="50%,*,10%"> <FRAME src="rundetailstop.asp" name="rundetailstop" scrolling="no"> <FRAME src="rundetails.asp" name="rundetails" scrolling="auto"> <FRAME src="rundetailsbottom.asp" name="rundetailsbottom" scrolling="no"> </FRAMESET>
2
5293
by: RWD | last post by:
I am trying to figure out how to change the target frame in my hyperlink on a DHTML menu. The menu is in one frame and the target frame is called "main" The code is below: Thanks in advance RWD <script type='text/javascript'>
7
2312
by: David Hayes | last post by:
I tried finding an answer on http://www.quirksmode.org/ without success. I am attempting a complicated Frames structure. I have made it work in IE, but not Netscape. I begin with three frames, where the two lower ones are within a Frameset within the master Frameset: 1111111111111111111
2
1166
by: Mel | last post by:
i have the following code that does not work: parent.frames.document.forms.elements..disabled=true; i have 3 iframes in my main T (top), M (middle) and B (bottom) in the bottom, i have a form (CMND) with an entry field (id) that i would like to enable disable at will. i am executing above script from inside "B". why does that not work ?
11
16933
by: Rob | last post by:
I know, I know, don't use frames. Well, I'm stuck with these frames and I'm trying to add functionality without a complete redsign. You can look at this as a nostalgic journey. Anyway, I've got the following frame structure at the top level: FRAMESET CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"> <html><head><title>Server List</title></head> <frameset frameborder="1" border="1" framespacing="1" rows="10%,89%">
2
1861
by: mrjoka | last post by:
hi experts, i'm developing a page in ASP but i'm doing also some javascript insode the page. i'm creating a frame and i want to loop this frame with a duplicateloop function so the form will be duplicate so many time, also i'm using a removeloop if the client want to remove the frame, in the html of the page i'm creating a table and i'm calling this loop, the problem now is that when i'm calling the removeloop it removes the frame but not the...
6
2735
by: centre507 | last post by:
Hi, I have three frames, top, middle and bottom. Main page has website link and I want those website content to be shown inside of middle frame while clicking links inside of top frame. Based on given code, can anyone point to the right direction? I don't want to be using iFrame.
5
19999
by: =?iso-8859-1?q?Jean-Fran=E7ois_Michaud?= | last post by:
Hello, I've been trying to figure something out for the past few days and I can't seem to pinpoint what I'm doing wrong. I've been trying to call javascript from inside a <logic:equal>, but it doesn't seem to work like I want. I've tried calling an alert('hello'); to test out if my call worked correctly, and it does, but when I call my own javascript functions
0
8393
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8598
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8670
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7437
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6229
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4225
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4407
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2812
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1809
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.