473,466 Members | 1,389 Online
Bytes | Software Development & Data Engineering Community
Create 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 1414


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="iframeName"
src="whatever.html"
width="100%" height="200">
<a href="whatever.html">whatever</a>
</iframe>

If you want to create one with script try
var iframe;
if (document.createElement && (iframe =
document.createElement('iframe'))) {
iframe.src = 'whatever.html';
iframe.width = '100%';
iframe.height = '200';
iframe.name = 'iframeName';
document.body.appendChild(iframe);
}
--

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

"Martin Honnen" <ma*******@yahoo.de> wrote in message
news:41*********************@newsread2.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="iframeName"
src="whatever.html"
width="100%" height="200">
<a href="whatever.html">whatever</a>
</iframe>

RE: I am try HTML option like below:
<iframe name="iframeName"
src="whatever.html"
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="iframeName"
src="whatever.html"
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
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"...
2
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...
7
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...
2
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...
11
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...
2
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...
6
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. ...
5
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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...
0
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...
0
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...
0
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...

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.