How to make a website using ASP(TUTORIAL-5)

ONLINE NESCAFE OF A COLLEGE CAMPUS-5

 (creating HOMEPAGE using FRAMES)

FRAME.asp

This script is used divide the entire home page into 5 frames and inserting each part we have into one of the frames in appropriate position so that our home page looks attractive. The pages we have created earlier are used in this page.

The homepage is divided into frames using the frameset tag, frame tag and the src attribute. Frameset tags divides the home page and frame tag indicates which page is to be included in that frame. The attribute frameborder indicates the width of the border of each frame and the attribute scrolling gives the indication whether scrolling should be allowed or not.

frame

<html>

<body>

<frameset rows=”38%,*” >

 

<frame src=”head.asp” scrolling=”no” frameborder=”no”>

 

<frameset cols=”33%,67%”>

<frame src=”left frame.asp” frameborder=”no”  scrolling=”no”>

 

<frameset rows=”45%,*”>

 

<frameset cols=”50%,*”>

<frame src=”LOGIN page.ASP” frameborder=”no”  scrolling=”no”>

<frame src=”login for admin.asp” scrolling=”no” frameborder=”no”>

</frameset>

 

<frame src=”smiling face.asp” scrolling=”no” frameborder=”no”>

<frameset>

 

 

</frameset>

</frameset>

<noframes></noframes>

</body>

</html>

 

The frame smiling face. Asp contains the following script for displaying the image. Here the name of the image is Smiling face.jpg:

<html>

<head>

</head>

<img src=”smiling face.jpg” width=”100%” height=”110%”>

<body>

</body>

</html>

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>