|
Website CreationPage updated:
|
|
These are just a few tips I've found for creating websites.
|
Contents List - Click on one or just scroll down |
|||
|
|
|
|
IntroductionThe way that web pages are created & displayed for the
user is changing. HTML way originally created for the transfer of
information. Tags within the file mark the meaning of each piece
of text. HTML was extended to provide layout facilities needed to
create a web page that would be acceptable to the general public.
Different browsers have extended the original HTML specification
in different ways, leading to compatibility problems. Views on
the web vary about how to layout a web page. I like to have my
content centred in the browser window. The only way I originally
found to do this was to use tables. You create a table, and
specify it's width and ask for it to be centred. That is how this
page was created. The new way of doing web page layout is to use
Cascading Style Sheets (CSS). This method separates the content
from the layout instructions. This allows the layout to be
changed easily, for it to affect all the pages on a web site, and
even to allow the user to select the style they prefer. For an
excellent example of a web page whose appearance can be totally
changes by selecting a CCS, see http://www.csszengarden.com/ AnimationsFlipping an animation horizontally (or vertically) ASP Free ServerTop create a database, FTP the Microsoft database file to the
/db folder. BannersFor a chunky banner: BookMark IconsHTML Goodies – This explains
it ColoursBlue 7: RGB = 40,0,153 = 280099 hex Nav Class → Link Color = FFFFFF
(was 336699) Window colours: Dark blue banner 48,104,153 = 0x30,
0x68, 0x99 Creating Picture FramesIf you want to create a picture frame that will download
quickly, this is the technique I have found works well. Create a thin stripFind a bit of image, or create one, that can be repeated to
form an attractive strip.
Create the top,left,right & bottom version of this stripRotate this strip to give the 4 components necessary for the
picture frame sides.
Create a long strip of this pattern repeatedSet the background of a table row to this graphics, selecting
tiled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
My Gold Frame
|
|
|
|
|
|
|
|
Frame WidthsA picture frame 2.67cm wide looks fine on a 1280x1024 display.
However, on 1204x768 it looks too wide.
Display WidthsFor those with small screens on 800x600, 20cm just fits -
really chunky.
Display HeightsFor a 800x600 display, 10cm is displayable vertically. File Formats for ImagesIf you want transparency, you can't use .jpg files. FTPIf you have a web host that accepts FTP uploading, updating
your website is much easier. Uploading to AngelFire with an FTP programUse AceFTP Host: ftp.angelfire.com For example: ftp.angelfire.com To add a counter to a page include this: <img src="/cgi-bin/Count.cgi"> A file with the same .cnt will be
created. Deleting this will reset the count. Uploading to Tesco with an AceFTP 3 programServer: ftp.tesco.net Uploading with MS Internet ExplorerType ftp://ftp.angelfire.com into the
address field. Secure File Transfer with WebDAVGoto Start.MyComputer HTMLConverting an Open Office HTML page into a Microsoft FrontPage 2002 oneCreate a webpage with Microsoft Frontpage, with the standard
header things like CSS & Javascript. This is all done in Frontpage. .tabletext { font-size: 110%; color: white; /* background: rgb(150,0,0); */ padding-top: 10px; padding-left: 5px; padding-right: 5px }
Remove table width statements. Differences between OO and FrontpageWhen entering a URL longer than the space available in a table cell, it is necessary to hit return at the end of the text, then split the resultant URL to fit. With OO the first line of text forms only part of the URL, the second line the whole URL. Frontpage is in my opinion more sensible. It duplicates the URL for both lines of text. This means that users must click on the last line of a URL
created by OO. LinksTo create a link that opens a new window the HTML needs
'TARGET="_blank"' in the <A HREF...> link. Hyperboards Forum CreationGoto http://www.hyperboards.com Password Goto admin Click on 'forum layout' and
'template' welcome Click on 'home page' Remove 'news' from header modules Click on 'skins' 'Add skin' blue Description: Steve's blue scheme Back in 'skins' set blue as the default skin To prevent Guests posting etc go to admin.membergroups.guests and untick: Make posts (don't do this if you want
a guest book) To prevent certain text being posted: Go to Admin->Smart Censor Click on 'General Settings' Set the logo for the top box.
BugsI think the hyperboards forum has the
following bugs: Miscellaneous Admin tasksTo remove members go to members while
logged in as admin. My Categories & boardsSteve's Website with Guestbook &
Discussion about my website Controlling Guest AccessSee
http://support.hyperboards.com/index.cgi?action=display&cat JavaScriptTraversing documents with the DOMMozilla based browsers insert 'extra' text elements. So when you use parentNode then lastChild, you'll actually be on the text element, not the node you wanted. To get to the node you want, you must test for nodeType==3, and skip the text if that's what it is. ie var lastTd = buttonParentUp1.lastChild; if (lastTd.nodeType == 3) { lastTd = lastTd.previousSibling; } ID & NAMEIf
you do document.getElementById("fred"); IE uses name,
Mozilla uses ID. insertBeforeThis
method is not so obvious to use. Here are some useful links. newObj = fastherObj.insertBefore(childToBeInsertedObj, childToInsertBeforeObj); WebReference
– JavaScript & the DOM with the insertBefore
method. TBODYAlways
put this in, even though it's optional in HTML. <table> <tbody> </tbody> </table> Possible EffectsUse real images, and tile them.
ReferrersIf you want to know from where your visitors are coming, you
need to extract the 'referrer' information from the link The Stephen Downes methodThis requires a website host that allows Javascript & CGI
and setting file attributes. Edit referrer.cgi file to specify where your referrer info is
stored. Getting Known by Search EnginesMake the <TITLE> tag good and descriptive Linking PagesHow to link pages (including to sub parts of a
page) ResourcesDiscoverNZ – Free currency calculator & distance
calculator Style SwitchingThis page demonstrates a pull down menu for style switching –
neat ! <div id="styleBox" class="center marginTop5" style="display:none;"> <select title="Switch to an alternate page style" id="styles" size="1" onchange="changeStyle(this.options[this.selectedIndex].value); return false;"> <option value="Default">Default</option> <option value="Black">Black</option> <option value="Blue">Blue</option> <option value="Purple">Purple</option> </select> <a href="#header" id="backtotop" class="vertmiddle" title="back to top"><img alt="Top" src="images/backtotop_15x15.png" width="15px" height="15px" /></a> </div>
|
|
|
|
|
Visits:
|
HOME |
UP |