Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  yordan : (14 April 2014 - 05:28 PM) By The Way, This Could Be An Interesting Subject For A Topic, What About Posting This Question? Let's See If Other People Have The Same Feeling Concerning Bootlists!
@  yordan : (13 April 2014 - 09:36 AM) Boot Order : Cd, [Usb,] Hard Drive :D
@  yordan : (11 April 2014 - 07:23 PM) I Simply Let The Bios Do That
@  Ritesh : (11 April 2014 - 10:23 AM) Is It Possible To Launch Fedora Live Cd Or Installation Disk From Hard Drive On Windows Platform Using Grub Mbr File.
@  Ritesh : (11 April 2014 - 10:21 AM) No U Are Not.. Btw.. I Have Question For You.
@  yordan : (10 April 2014 - 08:02 AM) You Are Partially Right.
I Was Not.
Nevertheless, I Am Again :)
@  Ritesh : (09 April 2014 - 07:33 PM) :P
@  Ritesh : (09 April 2014 - 07:33 PM) I Think U R Not..
@  yordan : (09 April 2014 - 09:28 AM) I'm The Master Of The Shoutbox!
@  yordan : (05 April 2014 - 10:32 PM) He-He
@  Ritesh : (04 April 2014 - 06:59 PM) Ha Ha Ha ....
@  yordan : (04 April 2014 - 11:15 AM) Welcome Back, Starscream!
@  yordan : (03 April 2014 - 02:31 PM) And I Hope That He Will Come Back Soon :)
@  yordan : (01 April 2014 - 02:53 PM) Nice, Ritesh Came, I'm Not Home Alone Today.
@  Ritesh : (01 April 2014 - 08:51 AM) Oh!!! Poor Dear Yordan..
@  yordan : (31 March 2014 - 10:02 AM) I'm A Poor Lonesome Cow-Boy
@  yordan : (27 March 2014 - 02:22 PM) He Is Unpatient Due To His Patients!
@  Ritesh : (27 March 2014 - 10:46 AM) :(
@  Ritesh : (27 March 2014 - 10:46 AM) He Is Busy With His Patients.
@  yordan : (26 March 2014 - 08:12 PM) Ahsani, Where Are You?

Photo
- - - - -

How To Create Your Own Homepage Make a simple and customizable homepage


No replies to this topic

#1 Killtacular

Killtacular

    Newbie [ Level 2 ]

  • Members
  • 18 posts

Posted 11 July 2005 - 11:28 AM

Hello,

In this tutorial, I will explain how you can make your own personalized homepage, for use with any browser. This tutorial is for beginners, but it assumes you know the HTML basics, especially frames. And yes, this tutorial will be done in Notepad, not in a WYSIWYG program.

1. OK, to start out, you will want to make a folder into which you will put the two .html file that you will make in this procedure. It can be anywhere, and have any name (but I suggest that you make it something like "My Homepage" or something, just for rememberability).

2. Now, open up your trusty Notepad, and before you do anything, save the file to the folder you just made. For the "File Name" in the save box, name it "home.html". Under "Save as type", scroll down to "Any Type". This is important, to make sure the saved file is a HTML file, not a .txt text file.

3. Ok, the homepage we will be designing will be simple looking, but very useful. It will consist of two frames, separated vertically. Start with your standard open-html tag, followed by the open-header tag. All we will have in the header will be the title of your document, which should be something nice like "Welcome Back, <your name here>!". After your done with that, close your title and header tags. The first few lines may look like this:

<html>
<head>
<title>
Welcome Back, Killtacular!
</title>
</head>

Note: you may copy my code if you want, but it would be better if you wrote the code yourself, as this is a learning experience :P

4. Now, instead of the open-body tag, you will want to have a open-frameset tag. For the properties of the frameset, you will want it to contain columns, with the first column's width being equal to about one-fifth of your total screen width. So, if your resolution is 640 x 480, your column will be around 120 px. If it's 800 x 600, it will be around 160 px. If it's 1024 x 768, the column will be about 200 px. You can change it later to fit your likings. For the second column width, put an asterisk (*), so that your second column will be the entire width remaining in the browser. Make the frames have a border of 1 to 2 pixels. That will be the all in your open-frameset tag.

5. Create a frame tag, with the source being a file named "menu.html" (which we'll make later). Make another frame tag, with the source being the website that is usually your homepage. I'll use Google. Also, in that second frame, make sure it's named "content". Now close your frameset and html tags. The results of steps 4 and 5 will look like this:

<frameset cols="160,*" border="2">
<frame src="menu.html">
<frame src="http://www.google.com" name="content">
</frameset>
</html>

6. You're now done with that HTML document, so save it. Now, make a new Notepad document. Again, before you do anything, save the file. And again, for the "File Name" in the save box, name it "menu.html" and for the "Save as type", scroll down to "Any Type".

7. This document will be the menu on the left side of your homepage. Start the HTML file the exact same way you did in step 3:

<html>
<head>
<title>
Welcome Back, Killtacular!
</title>
</head>

Note: you may want to add a mini-stylesheet inside the header, or you can link to an external one, or you can put the styles inside the body of the file. None of those procedures are within the grounds of this tutorial.

8. At the top of the menu, you will want to add a nice message to yourself (but you don't have to if you don't want to). I will be adding a scolling message for myself using the marquee tags. You may also want to make this message larger than the rest of the text in the document (but not too large!).

<marquee direction="left" scrollamount="8">
<h3>
Hello, Killtacular!
</h3
</marquee>

9. Now for the fun part. Well, not really, that's just a figure of speech. Anyways... You will now be making a list of links. The links will be links to sites that you frequently visit, such as webmail, and maybe a certain forum who's name begins with an 'A'. You may also want to separate the links into groups, for organization. Also (and this is very important), every link must have a target of "content". That way, you can click on the links, and the larger frame will travel to that link, while the menu remains where it was. Also, don't forget your linebreak tags after each link, so that your links aren't all on one line (unless you like that kind of confusion). Here is a basic syntax for you to follow:

<h4>
<ins>
Your Group's Name Here
</ins>
<br>
<a href="http://www.yourlinkedwebsite.com" target="content">Link Text</a>
<br>
<a href="http://www.yourlinkedwebsite.com" target="content">Link Text</a>
<br>
<a href="http://www.yourlinkedwebsite.com" target="content">Link Text</a>
<br>
</h4>


Note: you will probably have more than one group. The preceeding was just an example.

The following is an actual possibility for a menu, just to give you a better idea:

<h4>
<ins>
Games
</ins>
<br>
<a href="http://www.addictinggames.com" target="content">Addicting Games</a>
<br>
<a href="http://www.miniclip.com" target="content">Miniclip</a>
<br>
<br>
<ins>
Forums
</ins>
<br>
<a href="http://www.astahost.com/forum" target="content">AstaHost</a>
<br>
<a href="http://www.samusforum.co.uk" target="content">SCU Forums</a>
<br>
<br>
<ins>
Tools
</ins>
<a href="http://www.gmail.com" target="_top">Check Mail</a>
<br>
<a href="http://windowsupdate.microsoft.com" target="content">Windows Update</a>
</h4>

You may notice that for the target for my "Check Mail" link, I have entered "_top" instead of "content". This is because Gmail does not work while in a frame. By putting "_top" as my target, Gmail opens in the entire browser, not in just one frame.

9. Make sure you save your menu file once you have added all the links you want. Now, you will want to set your homepage so you can use it in your browser. The method for doing this depends on what browser you have. In FireFox, its in Tools>Options. For Internet Explorer, its in Tools>Internet Options. That's all I know, although it's probably similar in Netscape or Safari.

Thats it! You now have your own customized homepage, with your own useful links. Also, if you ever want to get rid of the sidebar so you can see more of the webpage you are viewing, all you need to do is grab the divider and slide it all the way to the left. Then when you want the menu again, you can just grab divider and slide it back. Convenient, right?

That's my tutorial. I hope it has been helpful to everyone who has read it. Please post any questions you may have. Thank you.

=Killtacular=



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users