No frames tag, PHP Web Programming

Assignment Help:

The <NOFRAMES> tag can be employed for those browsers which are not able to interpret <FRAME> tags. Even if most, if not all, of your visitors will be capable to see frames, there are still a small number of such browsers and still there are several users around who do not have the latest in equipment. To address as extensive an audience as achievable, you could write a no-frames version of your page.

<HTML>

<HEAD>

<TITLE>My Frame Page- The Master Page</TITLE>

</HEAD>

<FRAMESET COLS="50,*,2*">

<FRAMESET ROWS="50,*,*">

<FRAME SRC="One.htm">

<FRAME SRC="Five.htm">

<FRAME SRC="Six.htm">

</FRAMESET>

<FRAME SRC="Two.htm">

<FRAMESET ROWS="50%,50%">

<FRAME SRC="Three.htm">

<FRAME SRC="Four.htm">

</FRAMESET>

</FRAMESET>

<BODY><NOFRAMES> your browser does not handle frames! </NOFRAMES>

</BODY>

</HTML>

1787_No frames Tag.png

Figure: Putting in a NOFRAMES Version

Put your non-frames page down among the <NOFRAMES> tags. If someone is using an old browser, this will skip everything above & come straight down here. Frames-capable browsers will disregard what is among the <NOFRAMES> tags.

In the frames we can also put images. Let us see how to put in "world.gif" as an instance.

<FRAME SRC="world.gif" WIDTH=146 HEIGHT=162>

The scrollbars which you see can be specified as NO, YES or AUTO. YES refer for the window gets scrollbars - whether they are required or not. NO refer for there will be no scrollbars. AUTO means the default. If scrollbars are required, they appear whereas if they are not required they stay conveniently out of the way. Thus let us see how to get rid of our scrollbars.

          <FRAME SRC="world.gif" WIDTH=146 HEIGHT=162 SCROLLING=NO>

You would note a problem with this code that image is not in the right frame. The next two attributes deal to margins. The browser gives each frame some empty space around its contents automatically. Normally this is useful for aesthetic purposes. You might control the size of these margins via MARGINWIDTH & MARGINHEIGHT. They control left & right and top & bottom margins respectively. We will both of them set to 1. (1 is the minimum)

<HTML>

<HEAD>

<TITLE>My Frame Page- The Master Page</TITLE>

</HEAD>

<FRAMESET COLS="146,*">

<FRAMESET ROWS="162,*">

<FRAME SRC="world.gif" WIDTH=146 HEIGHT=162 SCROLLING=NO MARGINWIDTH=1 MARGINHEIGHT=1>

<FRAME SRC="One.htm">

</FRAMESET>

<FRAME SRC="Two.htm">

</FRAMESET>


Related Discussions:- No frames tag

Change quantity button cannot be functioned, error_reporting(0); session_...

error_reporting(0); session_start(); header(''Content-type: text/html; charset=utf-8''); include_once(''../../xajax_core/xajax.inc.php''); // ?? xajax $xajax = new xajax()

Create a web page that allow students to use external files, The purpose of...

The purpose of this exericse is to allow students to practice using external files in support of web applications. For this exercise, imagine that the Batty League Flea Market acce

Explain desirable stylistic points, (a) When designing an interactive web ...

(a) When designing an interactive web site, explain five desirable stylistic points. (b) Discuss the advantages and disadvantages of showing stock levels on a commercial site.

Create an html document and java applets, For this project, you are requir...

For this project, you are required to design and create an HTML document (also referred to as a "Web page"), in which certain basic HTML elements are incorporated. Your HTML docume

Selecting columns in mysql by by keying in a number, How do I select lets s...

How do I select lets say 2columns eg(Name and Payment plan)when I type in a a telephone number like 665528 to get the one row corresponding to the number I have typed?

We need to migration of our site to magento, We need to Migration of our si...

We need to Migration of our site to Magento (from Zen Cart) I work as a consultant and am currently converting one of my clients e-commerce stores from Zen Cart to Magento. W

Telnet, TELNET is TErminal NETwork. Telnet is both a TCP/IP application & a...

TELNET is TErminal NETwork. Telnet is both a TCP/IP application & a protocol for connecting a local computer with a remote computer. It is a program which allows an Internet host c

Application layer - osi model layer, Application layer: In the OSI model i...

Application layer: In the OSI model it's the topmost layer which enables the user to access the network. For network applications this layer provides user interface like remote lo

Authorization table and authorized address, The number of emails  to a give...

The number of emails  to a given email address is updated each time an email is sent.  A request for a given address should be rejected unless the address is in the Authorization t

Need help in magento developer for customization and updates, Need help in ...

Need help in Magento developer for customization and updates Our website is built on Community Edition plus uMarketplace (add-on) We will put you in touch with uMarketplace'

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd