Well I have made a few significant changes to my website.
First, is the look, I have changed how the site looks from the old version seen below.
To this new version.
The new version is more dynamic. Each page has a different header image, instead of saying my name all of the time.
I have also added a little bit of JavaScript to my pages. First of all, I added a few more mouse over effects. They are cool, but they are not the best when it comes to download speed. They tend to slow things down a little when opening the site.
I also added a new page called Calendar. It has a cool little JavaScript Clock on it that tells the current time. It also has my shared calendar from Google Calendar embedded in it, so that you can see if I have anything planed and plan around it.
Along with the JavaScript I added a little browser message. In earlier posts I talked about how my page was not working in Internet explorer. Well using JavaScript, if you view my site in internet explorer, it will come up in the bottom left corner of the screen under the wood it will say "You are currently using Microsoft Internet Explorer. This site is best view in Mozilla Firefox. If you do not have Firefox, now would be a good time to get it." And will have a link to download firefox. Along with that if you are using Opera, it will say the same thing only replacing the words Microsoft Internet Explorer with the word Opera.
But if you open my site in Safari, or Firefox it will say "Thank you for not using Microsoft Internet Explorer to view this site."
This is done using a function called navigator.appName in JavaScript, it returns the current browser name. I then set up a simple If - Then Function to regulate the response to each browser.
If you are interested in learning how to use JavaScript to make a clock or to make a dynamic message on you page, let me know, I will gladly give you a few pointers.
Wednesday, August 6, 2008
Website Change
Posted by
Gbf
at
7:29 AM
0
comments
Subscribe to:
Comments (Atom)

