Readme.txt Tue Jan 11 15:10:04 PST 2011 A really stripped-down SBC website! Contents: docs/ 2 files, index.html and one other, underConstruction.html, which can be copied however needed. docs/css/ 5 css files w3_recommendations.css: basically sets all the defaults. sbclter_wrapper.css: the classes for the "wrapper", except for navigation navigation.css: classes for the top menu bar sbc_content.css: classes for the unique-content area of each page. The div is called "content-unique" rss_feed.css: ** included because it imported in the header. But it is not used in these sample pages. docs/images/ 1 file - a picture of a diver building something. Images used in the header: See sbclter_wrapper.css for their ULRs. I left these as is, and they point to sbc.lternet.edu (the current production website.) docs/javascript/ navigation.js: the file with writeln statements for the list-item menu content. kind of hard to look at, but easier to manage than keeping it in the html. You'll see some other menu items commented out. Notes: 1. The css is brought in with link tags. I usually use @imports, and left in those statements (commented out), in case you want to use them instead. 2. URLs: In general, I use URLs instead of relative paths for nearly all links. My script inserts all the URLs when I build the website, so I only have to keep track of them in one configuration file. THis worked so well for managing external URLs, (ie, non-SBC LTER) that I started using this technique for my own, too, since they are not always on the same server. If you want to convert them to relative paths for testing, that's fine. ------------- These are margaret's command lines in case she needs to recreate anything, or so she can remember what she deliberately omitted. 926 cd /data01/sbclter/external/ 935 mkdir Website_tmp 936 cd Website_tmp/ 937 mkdir docs 943 cd docs 944 scp penguin:/var/www/sbc.lternet.edu/docs/underConstruction.html . 945 scp penguin:/var/www/sbc.lternet.edu/docs/*js . 946 rm metacat_search_functions.js hide_content.js tip_* wz_tooltip.js functions.js 949 mkdir css 952 cd css 953 scp penguin:/var/www/sbc.lternet.edu/docs/*css . 956 rm advanced.css basic-* default.css nav_test.css spacer_temp.css wrapper_test* 971 scp penguin:/var/www/sbc.lternet.edu/docs/css/navigation.css . 978 vim sbclter_wrapper.css 964 mkdir images 965 cd images/ 968 scp penguin:/var/www/sbc.lternet.edu/docs/images/under_construction.jpg . 992 cp underConstruction.html index.html 993 vim index.html 1002 gedit Readme.txt &