NAVIGATION - HOME |  | |
1st web | | Published by: wktd 2009-01-08 |
| Craig Newmark Craigslist founder on 1st Web 2.0 social network :: Craig Newmark Craigslist founder Talks About The 1st Web 2.0 social network-Craigslist and real estate market conditions at Inman connect NYC 2008 http://www.veoh.com/videos/v3380640frrXGspcHOME | Hi,
I recently took an interest in learning HTML, so I bought myself a book & have been playing around with 1st Page & Nvu which has helped me a lot to understand how HTML works. I have created my 1st website and would be grateful for any comments & feedback. Its not yet complete but I'd like you guys to have a look anyway and maybe let me know of any improvements I could make.
My next goal is to learn how to create thumbnails for putting photos on the site. I am using Photoshop for all the artwork, buttons etc.
www.caveofthebear.com (http://www.caveofthebear.com)
Thanks!
Thanks again Toni, that worked a treat! I notice the pages do load faster. TH-NW : Layered Tech 1st Web Hosting Provider To Bring 3Teras AppLogic :: PLANO, Texas — Layered Technologies, Inc. (Layered Tech), a leading worldwide provider of on-demand IT infrastructure, today announced that it is the first hosting http://www.tophosts.com/articles/007961.htmlHOME |
Cheers
The site looks pretty sweet. Too bad there isn't a style for the forum that matches. :)
I took the easy way out and had my site match the forum. :p
In your before you have your script right now, type this:
Then take all of this:
if (document.images) {
homebuttonup = new Image();
homebuttonup.src = "Pics/Gif/home.gif" ;
homebuttondown = new Image() ;
homebuttondown.src = "Pics/Gif/homed.gif" ;
historybuttonup = new Image();
historybuttonup.src = "Pics/Gif/history.gif" ;
historybuttondown = new Image() ;
historybuttondown.src = "Pics/Gif/historyd.gif" ;
philobuttonup = new Image();
philobuttonup.src = "Pics/Gif/philo.gif" ;
philobuttondown = new Image() ;
philobuttondown.src = "Pics/Gif/philod.gif" ;
profilebuttonup = new Image();
profilebuttonup.src = "Pics/Gif/profile.gif" ;
profilebuttondown = new Image() ; 1st Infantry Division:: Contains news, photos, and history of the U.S. Army division. Also contains information about units and equipment. http://www.1id.army.milHOME |
profilebuttondown.src = "Pics/Gif/profiled.gif" ;
mediabuttonup = new Image();
mediabuttonup.src = "Pics/Gif/media.gif" ;
mediabuttondown = new Image() ;
mediabuttondown.src = "Pics/Gif/mediad.gif" ;
routinebuttonup = new Image();
routinebuttonup.src = "Pics/Gif/routine.gif" ;
routinebuttondown = new Image() ;
routinebuttondown.src = "Pics/Gif/routined.gif" ;
linksbuttonup = new Image();
linksbuttonup.src = "Pics/Gif/links.gif" ;
linksbuttondown = new Image() ;
linksbuttondown.src = "Pics/Gif/linksd.gif" ;
forumsbuttonup = new Image();
forumsbuttonup.src = "Pics/Gif/forums.gif" ;
forumsbuttondown = new Image() ;
forumsbuttondown.src = "Pics/Gif/forumsd.gif" ;
faqbuttonup = new Image();
faqbuttonup.src = "Pics/Gif/faq.gif" ;
faqbuttondown = new Image() ;
faqbuttondown.src = "Pics/Gif/faqd.gif" ;
stuffbuttonup = new Image();
stuffbuttonup.src = "Pics/Gif/stuff.gif" ;
stuffbuttondown = new Image() ;
stuffbuttondown.src = "Pics/Gif/stuffd.gif" ;
}
function buttondown( buttonname )
{
if (document.images) {
document[ buttonname ].src = eval( buttonname + "down.src" );
}
}
function buttonup ( buttonname )
{
if (document.images) {
document[ buttonname ].src = eval( buttonname + "up.src" );
}
}
and put into a separate file called "buttons.js" Be sure the delete the extra . So your pages will load faster 1. because your file sizes will be smaller and 2. because after loading the first page, the buttons.js file will be cached loading every page after the first faster. Extra Bonus: it saves you bandwidth
I agree, that is a great looking site!
There are some markup errors in your HTML http://validator.w3.org/check?verbose=1&uri=http%3A//www.caveofthebear.com/home.html and in your CSS http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A//www.caveofthebear.com/home.html that you might want to take a look at
Also, you may want to consider putting your CSS and javascript in an external file (it will speed up load time and decrease bandwith usage)
If you have any questions about all that, shoot me an email (toni@bloodshotlens.com)
Thanks guys!
Toni - I took a look at the code again & it was a bit of a mess! I fixed all the errors so thanks for the link.
How exactly do I load java into seperate files?
Earnings Reports a Tonic for Ailing 'Net Stocks
NatWest and InterTrust Form Global Alliance To Provide E-Commerce On the Internet
|
#If you have any other info about this subject , Please add it free.# | |
|