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

Dual mode operation in os, how does dual mode operation helps the operating...

how does dual mode operation helps the operating system to protact itself?

We need a magento speed optimization help, We need a Magento Speed Optimiza...

We need a Magento Speed Optimization help In search of magento optimization for recently set up site, including sever cache, database management as well as front end optimizatio

Need help in shopperpress customization, Shopperpress Customization I ne...

Shopperpress Customization I need somebody who can commit to work with me starting immediately. The site is built however there are a few customizations needed. Like the menu

Function to calculate the total cost field function, Order Form // f...

Order Form // function to calculate the total cost field function Total() { var tot = 0; tot += (2

Need ajax experienced expert as well as expert developer, PrestaShop | PHP ...

PrestaShop | PHP | JavaScript | jQuery Developer needed Want a PrestaShop | PHP | JavaScript | jQuery | Ajax experienced as well as expert developer. Following things want to be

Use of meta tag, In this unit we have learnt how to create simple HTML page...

In this unit we have learnt how to create simple HTML pages. The contents of the page have to be written within the BODY tag. The HEAD tag includes the title of the document. An im

Using php and joomla to build wine ecommerce website, Using PHP and Joomla ...

Using PHP and Joomla to build Wine ecommerce website with accommodation and tours We need a development team to construct a wine ecommerce website that will display information

Resume parser, how can we parse resumes in different formats like doc,docx,...

how can we parse resumes in different formats like doc,docx,pdf and rtf ?

Hypertext transfer protocol, HTTP is a connectionless text depend protocol....

HTTP is a connectionless text depend protocol. Clients (web browsers) send requests to web servers for web elements like web pages and images. After the request is serviced through

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