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

Protection against suspicious data, Input values embedded in SQL statements...

Input values embedded in SQL statements should be screened for inappropriate characters that can form the basis so-called SQL Injection attacks, a type of security attack that may

Html password field, How do you define an HTML password field? Use type ...

How do you define an HTML password field? Use type = password for the form element. This provides a minimal level of visual privacy but the text is submitted in plain text.

We need a jr developer, Jr Developer a) I have an Immediate project that...

Jr Developer a) I have an Immediate project that needs to be done right now. I have a few PSDs that want to be converted to HTML / CSS for Email (MailChimp) I am looking for a J

Assignment to capture our customers email addresses, web coupon This is ...

web coupon This is a assignment to capture our customers' email addresses or else cell phone numbers by offering a discount coupon. Job description- We are seeking a devel

Need help to make small mods to civicrm or joomla, Need help to make small ...

Need help to make small mods to CiviCRM / Joomla Need developer previously familiar with Joomla 3.2 and CiviCRM 4.4 to write some mods to CiviCRM to extend some forms. Job De

Ordered lists, Lists with numbered items are known as ordered lists.  They ...

Lists with numbered items are known as ordered lists.  They are utilized while the items in the list have a natural order. They can also be utilized when the number of items in the

Introduction to javascript, You can declare a variable by the var statement...

You can declare a variable by the var statement such as: var strname = some value You can also declare a variable with simply assigning a value to the variable. Although, if

I need wp estore theme experienced developer, I need WP Estore Theme Experi...

I need WP Estore Theme Experienced Developer Maintenance work on word press estore theme website required. Should have previous proven experience with wp estore theme. Pro

I need help in cakephp, CakePHP, OAuth, Video APIs I want somebody who h...

CakePHP, OAuth, Video APIs I want somebody who has familiarity in CakePHP to work on a project that requires OAuth incorporation with various sites and then post videos to these

Need help in file search engine crawler, Need help in File search engine cr...

Need help in File search engine crawler Want a web crawler to gather data on an continuous basis from different file hosting services and filter it. 1) Data will be used to p

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