let me add at least an initial test tree - available on

http://web.enlightenment.org


SVN revision: 29015
This commit is contained in:
Carsten Haitzler 2007-03-24 15:45:52 +00:00
parent d6193f1cec
commit 5dc9475d23
64 changed files with 844 additions and 0 deletions

33
www/README Normal file
View File

@ -0,0 +1,33 @@
How this works.
1. there is only 1 "page" - p.php - this is the master script that generates
all pages
2. actual page data is under p/
3. the default page is ASSUMED to be under index/ - this is a requirement
4. this supports full internationalization - translations can be provided. the
default assumed $lang is "en"
5. there are other dirs main1, main2, main3 ... main8 - these are for the 8
main links at the top of the page. each is a dir. main link dirs contain a
$lang-label file (en-label assumed to always exist). this file contains the
test to put in the link button. keep it short. you now can have 1 of 2 files
in themain link dir. if there is a page file then this file contains the
text of a $page link (a dir relative to p/) to link to. if there is a
link file - then this contains a fully qualified URL to put in the link.
6. other pages can use any named directory they want. the main buttons can
link to any of these pages. all pages should have a d/ directory for
data such as images inlined or thumbnailed. all images you wish to have
thumbnails of should also have a file in dir called .t.$filename where
filename is the file name of the image. this will be used bu the thm()
function.
7. any page can contain sub-pages. if there is a file "subs" this lists, line
by line the sub dirs in order from left-to-right. each sub-page contains
a $lang-label to specify the label on this sub-link, a $lang-title for
the page title and a $lang-body for the page contents - it is like an
other page and can also have subs etc.
8. the files lang1 and lang2 in p/ are a list of supported languages. the code
expects a $lang.png file in i/ to exist for that lang. these 2 files display
flags for languages on the left and right of the title area.
don't be afraid of the php - it's tiny and small. we need to add "news" code
that would probably work in a similar way - but that can come later.

56
www/bgsleight.js Normal file
View File

@ -0,0 +1,56 @@
var bgsleight = function() {
function addLoadEvent(func) {
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = func;
}
else {
window.onload = function() {
if (oldonload) {
oldonload();
}
func();
}
}
}
function fnLoadPngs() {
var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, '');
var itsAllGood = (rslt != null && Number(rslt[1]) >= 5.5);
for (var i = document.all.length - 1, obj = null; (obj = document.all[i]); i--) {
if (itsAllGood && obj.currentStyle.backgroundImage.match(/\.png/i) != null) {
fnFixPng(obj);
obj.attachEvent("onpropertychange", fnPropertyChanged);
}
}
}
function fnPropertyChanged() {
if (window.event.propertyName == "style.backgroundImage") {
var el = window.event.srcElement;
if (!el.currentStyle.backgroundImage.match(/_\.gif/i)) {
var bg = el.currentStyle.backgroundImage;
var src = bg.substring(5,bg.length-2);
el.filters.item(0).src = src;
el.style.backgroundImage = "url(_.gif)";
}
}
}
function fnFixPng(obj) {
var bg = obj.currentStyle.backgroundImage;
var src = bg.substring(5,bg.length-2);
obj.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizingMethod='scale')";
obj.style.backgroundImage = "url(_.gif)";
}
return {
init: function() {
if (navigator.platform == "Win32" && navigator.appName == "Microsoft Internet Explorer" && window.attachEvent) {
addLoadEvent(fnLoadPngs);
}
}
}
} ();
//bgsleight.init();

BIN
www/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
www/i/_.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 B

BIN
www/i/_logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

BIN
www/i/b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

BIN
www/i/de.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

BIN
www/i/en.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 871 B

BIN
www/i/fr.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

BIN
www/i/jp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 481 B

BIN
www/i/lang.xcf.gz Normal file

Binary file not shown.

BIN
www/i/n.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
www/i/n.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
www/i/nav.xcf.gz Normal file

Binary file not shown.

BIN
www/i/t.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 979 B

BIN
www/i/t.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 B

BIN
www/i/t.xcf.gz Normal file

Binary file not shown.

BIN
www/i/tl.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

BIN
www/i/tl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

57
www/p.php Normal file
View File

@ -0,0 +1,57 @@
<?php include_once 'site/site.php'; ?>
<!doctype html public "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><?php print($title); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/ico">
<link rel="shortcut icon" href="favicon.ico" type="image/ico">
<style type="text/css">img {behavior: url("png.htc");} </style>
<script src="bgsleight.js" type="text/javascript"></script>
</head>
<body>
<table width=100% border=0 cellpadding=0 cellspacing=0><tr>
<td class="t" width=50% valign=top align=left>
<table width=100px height=100px border=0 cellpadding=0 cellspacing=0>
<?php
nav_button("main1", "lnav");
nav_button("main2", "lnav");
nav_button("main3", "lnav");
nav_button("main4", "lnav");
?>
</table>
<img src="i/_.gif" width=1 height=8><br>
<img src="i/_.gif" width=4 height=4>
<?php show_langs("p/lang1"); ?>
</td>
<td class="tl" width=612 height=250 valign=bottom align=center>
<img src="i/_.gif" width=612 height=1><?php nav_subs(); ?>
</td>
<td class="t" width=50% valign=top align=right>
<table width=100px height=100px border=0 cellpadding=0 cellspacing=0>
<?php
nav_button("main5", "rnav");
nav_button("main6", "rnav");
nav_button("main7", "rnav");
nav_button("main8", "rnav");
?>
</table>
<img src="i/_.gif" width=1 height=8><br>
<?php show_langs("p/lang2"); ?>
<img src="i/_.gif" width=4 height=4>
</td>
</tr></table>
<center>
<div class="bod"><?php include_once "p/$page/$lang-body" ?></div>
</center>
<hr>
<p class="tiny">Copyright &copy; Enlightenment.org</p>
</body>
</html>

View File

@ -0,0 +1,3 @@
<p>
This is some content for yet another sub-item
</p>

View File

@ -0,0 +1 @@
Another Sub-item

View File

@ -0,0 +1 @@
Yet another Sub-item

BIN
www/p/index/d/.t.tst.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
www/p/index/d/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

BIN
www/p/index/d/tst.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

3
www/p/index/de-body Normal file
View File

@ -0,0 +1,3 @@
<p>
Und jetzt probiere ich eine Seite in Deutsch
</p>

1
www/p/index/de-title Normal file
View File

@ -0,0 +1 @@
Enlightenment - Beauty in your hands

26
www/p/index/en-body Normal file
View File

@ -0,0 +1,26 @@
<h1>A title here</h1>
<p>
We are dedicated to <?php a("main1", "providing advanced");?> graphical libraries, tools, and environments. Currently, the project is made up of three different components: Enlightenment DR16, The Enlightenment Foundation Libraries, and Enlightenment DR17. While we are best known for the Enlightenment Window Manager itself there is a long history of providing advanced libraries and tools to support the window manager and other applications, such as Imlib, FNLib, and Imlib2, which extend far beyond the window manager itself in scope. Today, in development toward the DR17 Desktop Shell we have created an entirely new set of libraries and tools that provide more power and flexibility than any other group of graphical libraries available, which we refer to collectively as The Enlightenment Foundation Libraries.
</p>
<?php thm("tst.png", "Test image thumb"); ?>
<p>
Version 0.16 of the Enlightenment window manager was released in 2000, along with its dependencies Imlib and Fnlib, and remains in heavy usage today. While rumors of its death still circulate, DR16.8.6 was released on Feb 20th, 2007, and it remains in development today with a long life still ahead of it. DR16 has been the choice of power users and artists due to its low overhead, highly graphical, widely theme-able, extremely configurable, yet unobtrusive interface. Nearly all functions of the window manager can be handled without mouse input, including application launching via e16keyedit. It also remains highly portable, with ports avalible for Linux on all platforms, FreeBSD, IRIX, Solaris X86 and Sparc, HP-UX, AIX, OS/2, and more.
</p>
<?php img("logo.png", "E Logo"); ?>
<h2>A small title here</h2>
<p>
Imlib has lived a long life, still in heavy usage today, as one of the most popular image manipulation and rendering libs available. Its development was taken over by the GNOME project and used as GNOMEs rendering engine until it was replaced with GdkPixbuf in GNOME 2.0. It's popularity surpasses just development in C thanks to bindings for several scripting languages including PERL, Python, and Ruby.
</p>
<p>
In developing DR17 it was made clear that we needed an entirely new set of libraries and tools. Raster had a bold vision of what was possible and where he wanted the next release to go, starting with Imlib2 and EVAS, and eventually growing into new libraries largely based on or around EVAS. It became clear that the usefulness of these libraries and tools went far beyond the DR17 release itself, just as Imlib did in DR16. Thus the collective library back-end of DR17 was given the independent title: the Enlightenment Foundation Libraries, or EFL for short.
</p>
<h3>A tiny title here</h3>
<p>
The EFL contains solutions for almost any graphical interface task, far beyond just rendering images. EVAS provides a highly optimized canvas library. Ecore provides a simple and modular abstraction interface and advanced event management including timers. Etox provides a complex text layout library complete with theme-able text stylization capabilities (previously Estyle). EDB provides a compact database format for intuitive and easy configuration management, including the storing of binaries. EET provides an integrated and flexible container that ends the traditions of providing themes in tarballs. Edje provides a revolutionary library and tool set for completely abstracting application interfaces from their code, including a complex and flexible method of designing interfaces. EWL provides a complete widget library built on all the other components of the EFL. And more!
</p>
<p>
Development Release 17 of the Enlightenment window manager represents an evolution into the next generation of desktop environments: the desktop shell. DR17 will provide integration between files and your environment in a seamless manner while encompassing a graphically rich and flexible architecture. It will not compete with GNOME or KDE, but be a completely new way of visualizing your desktop, based around the EFL which was built from the ground up for this task.
</p>
<p>
Still in heavy development, several applications that will be part of the DR17 release and examples of what is possible are already available in CVS, such as Entice, Entrance, Evidence, Erss, and Eplayer. The desktop shell itself is only a basic framework and not yet ready for CVS, but will be emerging into CVS during the course of this year. As the foundation of DR17, the EFL is currently the first and foremost priority for development.
</p>

1
www/p/index/en-title Normal file
View File

@ -0,0 +1 @@
Enlightenment - Beauty in your hands

3
www/p/index/fr-body Normal file
View File

@ -0,0 +1,3 @@
<p>
C'est le Français.
</p>

1
www/p/index/fr-title Normal file
View File

@ -0,0 +1 @@
Enlightenment - Beauty in your hands

3
www/p/index/jp-body Normal file
View File

@ -0,0 +1,3 @@
<p>
日本語です。
</p>

1
www/p/index/jp-title Normal file
View File

@ -0,0 +1 @@
Enlightenment - Beauty in your hands

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
www/p/index/sub1/d/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

BIN
www/p/index/sub1/d/tst.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

4
www/p/index/sub1/en-body Normal file
View File

@ -0,0 +1,4 @@
<?php thm("tst.png", "Test image thumb"); ?>
<p>
Sub item - woot!
</p>

View File

@ -0,0 +1 @@
A Sample Sub-item

View File

@ -0,0 +1 @@
A Sample Sub-item

2
www/p/index/subs Normal file
View File

@ -0,0 +1,2 @@
sub1
another_sub

2
www/p/lang1 Normal file
View File

@ -0,0 +1,2 @@
en
de

2
www/p/lang2 Normal file
View File

@ -0,0 +1,2 @@
fr
jp

1
www/p/main1/en-label Normal file
View File

@ -0,0 +1 @@
Main

1
www/p/main1/page Normal file
View File

@ -0,0 +1 @@
index

1
www/p/main2/en-label Normal file
View File

@ -0,0 +1 @@
Download

1
www/p/main2/page Normal file
View File

@ -0,0 +1 @@
download

1
www/p/main3/en-label Normal file
View File

@ -0,0 +1 @@
About

1
www/p/main3/page Normal file
View File

@ -0,0 +1 @@
about

1
www/p/main4/en-label Normal file
View File

@ -0,0 +1 @@
News

1
www/p/main4/page Normal file
View File

@ -0,0 +1 @@
news

1
www/p/main5/en-label Normal file
View File

@ -0,0 +1 @@
Documentation

1
www/p/main5/link Normal file
View File

@ -0,0 +1 @@
http://wiki.enlightenment.org

1
www/p/main6/en-label Normal file
View File

@ -0,0 +1 @@
Bugs

1
www/p/main6/link Normal file
View File

@ -0,0 +1 @@
http://bugs.enlightenment.org

1
www/p/main7/en-label Normal file
View File

@ -0,0 +1 @@
Forums

1
www/p/main7/link Normal file
View File

@ -0,0 +1 @@
http://forum.enlightenment.org

1
www/p/main8/en-label Normal file
View File

@ -0,0 +1 @@
Sponsors

1
www/p/main8/page Normal file
View File

@ -0,0 +1 @@
sponsors

4
www/p/news/en-body Normal file
View File

@ -0,0 +1,4 @@
<h1>News</h1>
<p>
Working on new php back-end for the "brochure" bit of e.org
</p>

1
www/p/news/en-title Normal file
View File

@ -0,0 +1 @@
News

76
www/png.htc Normal file
View File

@ -0,0 +1,76 @@
<public:component>
<public:attach event="onpropertychange" onevent="propertyChanged()" />
<script>
var supported = /MSIE (5\.5)|[6789]/.test(navigator.userAgent) && navigator.platform == "Win32";
var realSrc;
var blankSrc = "i/_.gif";
if (supported) fixImage();
function propertyChanged() {
if (!supported) return;
var pName = event.propertyName;
if (pName != "src") return;
// if not set to blank
if ( ! new RegExp(blankSrc).test(src))
fixImage();
};
function fixImage() {
// get src
var src = element.src;
// check for real change
if (src == realSrc) {
element.src = blankSrc;
return;
}
if ( ! new RegExp(blankSrc).test(src)) {
// backup old src
realSrc = src;
// test for png
if ( /\.png$/.test( realSrc.toLowerCase() ) ) {
// set blank image
element.src = blankSrc;
// set filter
element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" +
src + "',sizingMethod='scale')";
}
else {
// remove filter
element.runtimeStyle.filter = "";
}
}
}
function correctPNG()
{
for(var i=0; i<document.images.length; i++)
{
var img = document.images[i]
var imgName = img.src.toUpperCase()
if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
{
var imgID = (img.id) ? "id='" + img.id + "' " : ""
var imgClass = (img.className) ? "class='" + img.className + "' " : ""
var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
var imgStyle = "display:inline-block;" + img.style.cssText
if (img.align == "left") imgStyle = "float:left;" + imgStyle
if (img.align == "right") imgStyle = "float:right;" + imgStyle
if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
var strNewHTML = "<span " + imgID + imgClass + imgTitle
+ " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
+ "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
+ "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"
img.outerHTML = strNewHTML
i = i-1
}
}
}
window.attachEvent("onload", correctPNG);
</script>
</public:component>

118
www/site/site.php Normal file
View File

@ -0,0 +1,118 @@
<?php
set_magic_quotes_runtime(0);
$page = $_GET["p"];
$lang = $_GET["l"];
$page = str_replace(".", "", $page);
if ($page == "") $page = "index";
if ($page[0] == "/") $page="index";
$lang = str_replace(".", "", $lang);
$lang = str_replace("/", "", $lang);
if ($lang == "") $lang = "en";
if (!file_exists("p/$page")) $page="index";
if (!file_exists("p/$page/$lang-body")) $lang="en";
$title = read_var("p/$page/$lang-title");
/* replacements for usual <img> and <a href> etc, tags that fill in the
* src, dest, thumb etc. for you */
function img($src, $alt) {
global $page;
global $lang;
list($width, $height, $type, $attr) = getimagesize("p/$page/d/$src");
print("<img src='p/$page/d/$src' width=$width height=$height alt='$alt' border=0>");
}
function thm($src, $alt) {
global $page;
global $lang;
list($width, $height, $type, $attr) = getimagesize("p/$page/d/.t.$src");
print("<a href='p/$page/d/$src'><img src='p/$page/d/.t.$src' width=$width height=$height alt='$alt' class='thumb'></a>");
}
function a($pg, $txt) {
global $page;
global $lang;
print("<a href='p.php?page=$pg?l=$lang'>$txt</a>");
}
/* utility functions */
function read_var($f) {
if (file_exists($f)) {
$handle = fopen($f, "r");
if ($handle) {
$fl = fgets($handle, 4096);
$fl = str_replace("\n", "", $fl);
return $fl;
}
}
return "";
}
/* functions to output sections of the page */
function show_langs($f) {
global $page;
global $lang;
if (file_exists($f)) {
$handle = fopen($f, "r");
if ($handle) {
while (!feof($handle)) {
$fl = fgets($handle, 4096);
$fl = str_replace("\n", "", $fl);
if ($fl != "") {
print("<a href='p.php?p=$page&l=$fl'><img src='i/$fl.png' width=24 height=18></a>\n");
}
}
}
}
}
function nav_button($b, $c) {
global $page;
global $lang;
if (file_exists("p/$b/$lang-label"))
$l = read_var("p/$b/$lang-label");
else
$l = read_var("p/$b/en-label");
if (file_exists("p/$b/page")) {
$h = read_var("p/$b/page");
$h = "p.php?p=$h&l=$lang";
}
else if (file_exists("p/$b/link")) {
$h = read_var("p/$b/link");
}
print("<tr><td class='$c'><a class='nav' href='$h'>$l</a></td></tr>\n");
}
function nav_subs() {
global $page;
global $lang;
if (file_exists("p/$page/subs")) {
$handle = fopen("p/$page/subs", "r");
if ($handle) {
print("<table border=0 cellpadding=0 cellspacing=4px><tr>\n");
while (!feof($handle)) {
$fl = fgets($handle, 4096);
$fl = str_replace("\n", "", $fl);
if ($fl != "") {
if (file_exists("p/$page/$fl/$lang-label")) {
$l = read_var("p/$page/$fl/$lang-label");
$h = "p.php?p=$page/$fl&l=$lang";
print("<td class='nav'><a class='nav' href='$h'>$l</a></td>\n");
}
else if (file_exists("p/$page/$fl/en-label")) {
$l = read_var("p/$page/$fl/en-label");
$h = "p.php?p=$page/$fl&l=$lang";
print("<td class='nav'><a class='nav' href='$h'>$l</a></td>\n");
}
}
}
print("</tr></table><hr>");
}
}
}
?>

427
www/style.css Normal file
View File

@ -0,0 +1,427 @@
body {
background : url("i/b.png");
background-repeat : repeat-x;
background-position : top left;
background-color : #f4f4f4;
text-align : center;
padding-top : 0px;
padding-bottom : 0px;
padding-left : 0px;
padding-right : 0px;
margin : 0px;
}
//td.t { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='i/t.png'); }
td.t { background-image:url("i/t.gif"); }
td.t[class] { background-image:url("i/t.png"); }
//td.tl { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='i/tl.png'); }
td.tl { background-image:url("i/tl.gif"); }
td.tl[class] { background-image:url("i/tl.png"); }
div.bod {
column-width : 15em;
-moz-column-width : 15em;
column-gap : 2em;
-moz-column-gap : 2em;
column-rule-style : solid;
-moz-column-rule-style : solid;
column-rule-width : 1px;
-moz-column-rule-width : 1px;
column-rule-color : #eeeeee;
-moz-column-rule-color : #eeeeee;
overflow : auto;
margin : 1em;
text-align : left;
vertical-align : top;
}
hr {
width : 200px;
height : 1px;
background : #eeeeee;
border : 0px;
}
h1 {
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #000000;
font-size : 1.3em;
}
h2 {
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #000000;
font-size : 1.1em;
}
h3 {
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #000000;
font-size : 0.9em;
}
p {
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #444444;
font-size : 0.7em;
}
p.tiny {
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #888888;
font-size : 0.5em;
}
a:link {
color : #445566;
text-decoration : underline;
}
a:visited {
color : #667788;
text-decoration : underline;
}
a:active {
color : #88cccc;
text-decoration : none;
}
a:hover {
color : #112266;
text-decoration : underline;
}
img {
vertical-align : middle;
border : 0px;
}
img.thumb {
vertical-align : middle;
border : 1px solid;
}
pre {
font-family : "Bitstream Vera Mono", "Vera Mono", "Trebuchet MS Mono", "Trebuchet Mono", "Tahoma Mono", mono;
color : #000000;
font-size : 1em;
border : 1px dotted #eeeeee;
text-align : left;
vertical-align : middle;
padding : 2em;
overflow : auto;
}
blockquote {
color : #000000;
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
font-size : 1em;
}
td.lnav {
align : middle;
text-align : center;
vertical-align : middle;
width : 100px;
height : 25px;
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #000000;
font-size : 9px;
font-weight : bold;
white-space : no-wrap;
}
//td.lnav { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='i/n.png'); }
td.lnav { background-image:url("i/n.gif"); }
td.lnav[class] { background-image:url("i/n.png"); }
td.rnav {
align : middle;
text-align : center;
vertical-align : middle;
width : 100px;
height : 25px;
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #000000;
font-size : 9px;
font-weight : bold;
white-space : no-wrap;
}
//td.rnav { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='i/n.png'); }
td.rnav { background-image:url("i/n.gif"); }
td.rnav[class] { background-image:url("i/n.png"); }
td.nav {
align : middle;
text-align : center;
vertical-align : middle;
width : 100px;
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #222222;
font-size : 9px;
font-weight : bold;
white-space : no-wrap;
}
a.nav:link {
color : #888888;
text-decoration : none;
}
a.nav:visited {
color : #888888;
text-decoration : none;
}
a.nav:active {
color : #000000;
text-decoration : none;
}
a.nav:hover {
color : #444444;
text-decoration : none;
}
// OLD CSS STUFF TO STEAL FROM
table.main {
border : 0;
cellpadding : 8;
cellspacing : 0;
}
td.bx1 { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='i/nav_tlf.png'); }
td.bx1[class] { background-image:url("i/nav_tlf.png"); }
td.bx2 { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='i/nav_top.png'); }
td.bx2[class] { background-image:url("i/nav_top.png"); }
td.bx3 { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='i/nav_trt.png'); }
td.bx3[class] { background-image:url("i/nav_trt.png"); }
td.bx4 { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='i/nav_lef.png'); }
td.bx4[class] { background-image:url("i/nav_lef.png"); }
td.bx5 {
background : #fff;
text-align : left;
vertical-align : middle;
}
td.bx5b {
background : #fff;
background-repeat : no-repeat;
background-image : url("i/card_bg2.png");
background-position : bottom right;
text-align : left;
vertical-align : middle;
}
td.bx6 { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='i/nav_rig.png'); }
td.bx6[class] { background-image:url("i/nav_rig.png"); }
td.bx7 { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='i/nav_blf.png'); }
td.bx7[class] { background-image:url("i/nav_blf.png"); }
td.bx8 { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='i/nav_bot.png'); }
td.bx8[class] { background-image:url("i/nav_bot.png"); }
td.bx9 { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='i/nav_brt.png'); }
td.bx9[class] { background-image:url("i/nav_brt.png"); }
td.nav {
align : middle;
text-align : center;
vertical-align : top;
}
td.navtop, td.navbottom {
align : center;
text-align : center;
vertical-align : middle;
}
td.nav_img {
width : 10;
text-align : center;
vertical-align : middle;
}
td.nav_text {
text-align : left;
vertical-align : middle;
}
td.xsm_menu_category {
text-align : left;
vertical-align : middle;
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #ccc;
font-size : 12px;
font-weight : bold;
white-space : no-wrap;
}
table.menu {
border : 0;
cellpadding : 0;
cellspacing : 2;
}
table.menu2 {
border : 0;
cellpadding : 0;
cellspacing : 2;
}
td.title {
height : 24;
text-align : center;
vertical-align : middle;
}
td.body {
width : 100%;
height : *;
text-align : center;
vertical-align : top;
}
td.menu {
background : #fff;
text-align : left;
vertical-align : middle;
}
td.nav_text a:link {
color : #444;
text-decoration : none;
}
td.nav_text a:visited {
color : #444;
text-decoration : none;
}
td.nav_text a:active {
color : #888;
text-decoration : none;
}
td.nav_text a:hover {
color : #000;
text-decoration : none;
}
font.xsm_menu_item {
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #000;
font-size : 11px;
white-space : no-wrap;
}
font.xsm_menu_item_selected {
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #000;
font-size : 15px;
font-weight : bold;
white-space : no-wrap;
}
div.left {
float : left;
margin : 16px;
text-align : center;
vertical-align : middle;
}
div.right {
float : right;
margin : 16px;
text-align : center;
vertical-align : middle;
}
div.item {
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #000;
font-size : 11px;
line-height : 14px;
width : 100;
border : 1px solid #ccc;
text-align : center;
vertical-align : middle;
padding : 8px;
}
div.img {
border : 1px solid #ccc;
text-align : center;
vertical-align : middle;
padding : 0px;
}
img.shot {
border : 0px;
}
td.newsdate {
background : #000;
color : #fff;
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
text-align : left;
font-weight : bold;
font-size : 11px;
line-height : 14px;
padding : 4px;
}
td.newstitle {
background : #000;
color : #fff;
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
text-align : right;
font-weight : bold;
font-size : 11px;
line-height : 14px;
padding : 4px;
}
td.news {
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
text-align : left;
font-size : 11px;
line-height : 14px;
padding : 8px;
}
div.thumb {
float : left;
border : 0px;
text-align : center;
vertical-align : bottom;
padding : 2px;
margin : 2px;
}
div.thumbsub {
border : 0px;
text-align : center;
vertical-align : middle;
padding : 2px;
margin : 2px;
}
td.thumb {
border : 0px;
text-align : center;
vertical-align : bottom;
padding : 0px;
margin : 2px;
}