New LWC Template 1 Comment
I’ve made a new LWC template that I’ve called WXImproved which integrates a little jquery javascript for some nice effects. It validates as XHTML Strict as well as CSS 2.1. Check it out and see what you think.
The template consists of several files:
- wximproved.html - This is the main page
- wximprovedalmanac.html - This is the historical data for your station
- js folder - Upload this folder to your site. It contains the jqeury.js file which provides all the slider effects. It’s important that this folder is added to the same directory where you’re uploading wximproved.html and wximprovedalmanac.html
- img folder - This folder contains the various buttons and backgrounds. Like the js folder, it should be uploaded to the same directory as wximproved.html
- wxi.css - This is the css file that should be uploaded to your site, again in the same directory as wximproved.html. You can modify this file should you wish to change the colors, fonts, etc.
Note that I’m using the Yahoo User Interface (YUI) library to ensure a that everything looks consistent across a number of platforms. If you want to change the font sizes or font types, I’d strongly encourage you to adhere to the YUI guidelines. The reason is that they’ve done A LOT of work to figure out how to make the fonts look the same in multiple browsers and platforms. Refer to http://developer.yahoo.com/yui/fonts/ for information about how to change font sizes and styles.
