function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i
WARNING: Up to now you have only used a few web pages and image files.
As you move away from a very small site you come into a small
to medium site size. As more and more pages and graphics files are added to your
site you may wish to place some of your files into a folder,
to help with the site management. If you are going to place photographs on your site you will
find that these are very large files with long download times.
A popular way is there fore to have a page of small thumb nail
photograph, which download much faster. The user can then select
any thumbnail that they wish to view and this links to a full
size version. In this case usually 1 folder contains the thumbnails,
and another the full size files. Folders could be given names
such as thumbs and photos. The better authoring packages will
do this all automatically for you. This site falls into this category of a small to medium site.
If you look at the URL for this page you can obtain information
on the sites structure. Large sites require an organised structure using folders within
the site. These are used very similar to folders on your hard
drive. but they can be used your own sites on either your OU homesite
or on web sites that you create on third party servers. The layout of all the files in a large site need to be planned
and placed in a logical folder layout. You need to jot down either using paper and pencil, word processor
or spreadsheet your site file layout. Changing this on paper
is easy. A trial and error layout done straight to your web
site is time consuming to yourself, and annoying to your users,
if changes have to be made later. Basically because all links
will have to be changed. Remember that your users may have bookmarked
some of your pages, these bookmarks will then get a 404 - not
found etc. if the layout is changed later. There will be many possible good layouts for any given set
of files. Step1. - mywebsite (folder) index.htm index.htm Step 3 mywebsite (folder) index.htm project1 (folder) index.htm project2 (folder) index.htm Step 4. You could place them all in the root folder. index.htm You could place them all in graphic folder in the root folder.
mywebsite (folder) index.htm graphic (folder) image1.gif The above 2 possibilities are ideal for all images that appear
on several pages or there are not to many graphic files. Images that are only going to be used in HTML files within
a particular project folder can be placed in that folder, or
in a graphic folder within that folder. mywebsite (folder) index.htm graphic (folder) Your HTML editor will probably allow you to create folders,
if you are using notepad as your editor then you will have to
create them using Windows explorer. At this stage I suggest you just do the root, project1 folder
and graphic folder (if required) Create your root index.htm file and when you save it make sure
it is saved to the correct folder. When inserting images your editor should place the correct
relative address, usually using a browse option. The location of the file you want is relative to the location
of the current file that contains the reference. Hence the term
relative addressing Without navigation links users will be unable to move arround
your site. Thought should go into your sites navigation. Your
aim should be to allow your user to reach any page on your site
in 3 or less clicks. By default navigation text links are blue and underlined, changing
to a maroon shade when used. Because of this it is normal for
designers not to use underlined words, and to emphasise text
in some other way. Users are used to these default colours, and changes to this
default colour must be considered with care. The rollover images of Javascript Navigation can look nicer
than plain text navigation, but there are two things that you
should bear in mind. The normal positions of your navigation is near the top
of the page, and / or down the left side. This is
not a hard ans fast rule, but is done in these positions by
convention. At the foot of the page it is usual to have a link to the previous and next page in
the series of pages. Alternativly the navigation at the page
head is repeated. On long pages such as this one it is usual to have a page navigation
system, seperate from the site navigation system. You should
make it clear to the user in some way that this navigation area
is for the page. Long pages often have links to the top of the page. It may
be desirable to have these links at regular intervals. More Tutorials
Leeds
my home town Relax in the sun. Copyright © John McGuinn 2001-03 .
![]()
Site Design for a larger
site using folders.
![]()

Tutorials
16 Forms
Information
Index
Adobe
Free
Recomended
Student Licence
Tools
Templates

15. Site Design
![]()


Page Contents - Site Design
Lesson Introduction
Open University students on courses T171,
T170 and TT280 WARNING:
Site Design: Folder
Layout
Exercise 1
Exercise 2
Navigation
Javascript
Navigation
Site Navigation Position
Page NavigationLesson Introduction - Site Design
Open University students on courses T171, T170 and TT280
should remember that ALL files must be in the same folder
when using the ETMA system. The ideas put forward in this
tutorial can not be applied to the ETMA system. You can
of course put these ideas into practice with third party hosting
services but if you have only the 5mb of OU space then the
small to medium site approach is for you.Small to medium site size
Often when a folder is introduced it is to hold the graphic
files, and popular names for the folder are either graphics
or images. This site
Larger Sites
Site Design: Folder Layout
.
Write down the name of your root folder and place your home
page in that folder. It is normal to use index.htm for your
home page. I will place (folder) to indicate a folder. Your
home page will contain links to take you into the site. Think
3 navigation systems used on the 3 sites in TMA 01. Also look
at other sites you like the look of
Step 2.
Add the names of your major folders, I will call these Projects.
mywebsite (folder)
project1 (folder)
project2 (folder)
etc.
Enter the pages into the folders, note each folder shown have
an index.htm file in it. This prevents users see your sites
directory, which is possible on some servers.
p1page1.htm
p1page2.htm
p1page1.htm
p1page2.htm
etc.
Decide where you are going to place your graphic files,
this may depend on the number of files.
mywebsite (folder)
image1.gif
image2.gif
image2.gif
If a site has 1000s of images then you may like to give a graphic
folder sub directories. May be for Navigation images (rollovers),
Family photos, City photos
graphic (folder)
navpics (folder)
famypics (folder)
citypics (folder)
When you are happy with your layout you can start to put it
into practice. But do this in small easy stages, so that you
can check out that links and images are working.
Place the graphic files in the correct folder as decided.
IMPORTANT Your site will contain several index.htm files it
is easy to overwrite the wrong one, destroying a lot of hard
work. When you save you may like to save a backup file with
a different name may be indexroot.htm indexproj1.htm.
If you put the HTML pages and the images in separate folders
how does the webserver find them?
You do not need to worry about this. Because when you upload
your local site you upload the same folder structure as on your
hard drive, so everything within your mywebsite folder is uploaded,
usually in stages as you create it. The root folders name mywebsite
is not uploaded.
Check the source code if you have any reference starting C:
you have done it wrong
Because you are using folders you will probably find some thing
like ../
this means up one level in the folder structure
To go down a level the folder name must be added. So your link
to p1page1.htm from the index.htm file in the root folder would
look like
"project1/p1page1.htm"
to go in the opposite direction
"../index.htm"
Navigation
Javascript Navigation
Site Navigation Position
Page Navigation
![]()
![]()
![]()
![]()
![]()

![]()
![]()

Leisure Time - book your holiday or flights with our UK sponsors

Book a Monarch Holiday
Book a Thomson holiday
Book a Portland Holidays Direct
Fly Thomas Cook flights
Direct Holidays
Jet2 Cheap flights
Home page of a tutorial in programming in Smalltalk, a object-oriented programming language.
This is an ideal tutorial for anybody learning Smalltalk and of particular interest
to students on courses: M206 at the OU Open University, and course CSC517 at NCSU North
Carolina State University
Home page of a tutorial in programming in C This is an ideal tutorial for anybody
learning C programming language, and of particular interest to students on courses:
T223 at the OU Open University.