asset manager initial check in

This commit is contained in:
JT Smith 2004-12-17 05:38:46 +00:00
parent 4bc4974ecc
commit f7dd3b0577
320 changed files with 15398 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -0,0 +1,449 @@
* {
box-sizing: border-box;
-moz-box-sizing: border-box;
}
html, body {
margin:0px;
padding: 0px;
background: #fff;
}
body {
font-size: 79%;
font-family: "Verdana", "Helvetica", "sans-serif";
}
h1 {
height: 20px;
margin: 20px 0px 10px 0px;
font-family: "Century Gothic", "Helvetica", "sans-serif";
font-size: 1.4em;
color: highlight;
filter:progid:DXImageTransform.Microsoft.Shadow(color='threedshadow', Direction=135, Strength=2);
}
h2 {
margin: 30px 0px 20px -50px;
font-size: 1.2em;
font-family: "Bookman Old Style", "Helvetica", "sans-serif";
color: threeddarkshadow;
border-bottom: 1px dotted threedshadow;
}
h3 {
margin: 50px 0px 10px 0px;
padding: 5px 10px;
font-family: "Bookman Old Style", "Helvetica", "sans-serif";
font-size: 1em;
color: threeddarkshadow;
background: threedlightshadow;
}
h4 {
margin: 10px;
font-size: 84%;
}
a {
text-decoration: none;
}
p {
margin: 10px 0px;
}
blockquote {
margin: 10px 30px 10px 0px;
padding: 10px;
border: 1px solid #cdf;
background: #f3f3ff;
font-family: "Century Gothic", "Helvetica", "sans-serif";
}
pre {
margin: 10px 0px 10px 10px;
font-family: "Courier New", "Courier", "monospace";
font-size: 100%;
color: highlight;
}
xmp, kbd {
color: infotext;
background: infobackground;
font-family: "Courier New", "Courier", "monospace";
}
xmp {
padding: 10px 5px;
}
/* page layout - width 800px, padding 20px */
table.page {
width: 840px;
table-layout: fixed;
border-collapse: collapse;
font-size: 100%;
}
table.page td {
padding: 0px 20px;
vertical-align: top;
}
/* page header */
.head {
margin: 5px 0px;
padding-top: 5px;
background: url(images/header.png) threedlightshadow;
}
.head .title {
padding-left: 10px;
color: threedshadow;
line-height: 30pt;
font-size: 24pt;
xfont-style: italic;
font-weight: bold;
font-family: Courier New, monospace;
filter:progid:DXImageTransform.Microsoft.Shadow(color='#000000', Direction=135, Strength=2);
}
.head .subtitle {
padding-bottom: 3px;
vertical-align: bottom;
text-align: right;
font-style: italic;
}
/* page menu */
.menu {
margin: 3px 0px;
border-top: 3px double threedshadow;
border-bottom: 3px double threedshadow;
background: threedlightshadow;
font: menu;
}
.menu .left, .menu .right {
padding: 5px 10px;
}
.menu .right {
width: 65%;
text-align: right;
}
.menu a {
margin: 0px 10px;
text-decoration: none;
color: highlight;
}
/* page body */
.body {
margin: 20px 0px;
}
.body td.main {
padding: 0px 20px 0px 70px;
line-height: 1.35em;
}
.location {
margin: 0px 0px 10px 0px;
padding-bottom: 2px;
border-bottom: 1px dotted threedshadow;
color: threeddarkshadow;
}
table.topnews {
width: 470px;
margin: 10px 0px 20px 0px;
font-size: 95%;
color: threeddarkshadow;
}
table.topnews td {
padding: 0px;
vertical-align: top;
}
.topnews td.date {
width: 7em;
}
.image-home {
position: relative;
left: -50px;
top: 0px;
float: left;
width: 30px;
height: 30px;
margin: 0px -30px -30px 0px;
background: url(images/home.png) no-repeat;
filter:progid:DXImageTransform.Microsoft.Shadow(color='threedshadow', Direction=135, Strength=2);
}
/* page right column */
col.main {width: 600px;}
col.right { width: 240px;}
.single col.main {width: 840px;}
.single col.right { width: 0px; display: none;}
.body .right {
width: 240px;
border-right: 1px solid threedshadow;
vertical-align: top;
font-size: 84%;
background: threedlightshadow;
}
.body .right h2 {
margin: 15px 0px;
color: threeddarkshadow;
border: none;
}
.body .right p {
margin: 10px 0px;
}
.body .right ul {
margin: 0px;
padding: 0px;
list-style: square inside;
white-space: nowrap;
cursor: default;
}
.body .right ul.reference {
padding-top: 40px;
margin-bottom: 30px;
border-bottom: 1px solid threedface;
line-height: 1.8em;
}
.body .right ul ul {
margin: 0px 3px;
border: 1px inset;
}
.body .right ul ul ul{
border: none;
}
.body .right li {
font-style: italic;
border-top: 1px solid threedface;
text-indent: 10px;
cursor: hand;
}
.body .right ul ul li {
text-indent: 20px;
}
.body .right ul ul ul li {
font-style: normal;
text-indent: 30px;
}
.tree-active {
background: #fff;
}
.body .right a {
color: highlight;
text-decoration: none;
}
/* copyright message */
.copyright .page td {
padding: 10px;
border-top: 1px dashed threedshadow;
font-size: 84%;
font-variant: small-caps;
text-align: center;
}
/* tutorial */
.tutorial textarea {
overflow: auto;
width: 100%;
height: 250px;
margin: 5px 0px;
background: infobackground;
border: 1px inset;
font-size: 10pt; /* 100% doesn't work??? */
}
.tutorial iframe {
width: 100%;
height: 150px;
margin: 5px 0px;
border: 1px solid white;
}
/* reference */
table.summary, table.params {
width: 100%;
border-collapse: collapse;
font-size: 84%
}
table.summary td, table.params td {
padding: 2px 30px 2px 0px;
text-align: left;
border-top: 1px solid threedface;
border-bottom: 1px solid threedface;
}
table.summary a {
color: highlight;
text-decoration: none;
}
.reference .image-home {
background-image: url(../common/images/reference.png);
}
/* all */
a:hover {
text-decoration: underline;
}
/* forum */
.forum-subject {
margin: 30px 0px 20px 0px;
font-size: 1.2em;
font-weight: bold;
font-family: "Bookman Old Style", "Helvetica", "sans-serif";
color: threeddarkshadow;
border-bottom: 1px dotted threedshadow;
}
.forum-message {
margin: 10px 0px;
line-height: 1.5em;
}
.forum-author, .forum-date {
padding: 0px 30px;
text-align: right;
line-height: 1.5em;
font-style: italic;
}
.forum .image-home {
background-image: url(../common/images/forum.png);
}
.forum-label {
display: -moz-inline-box;
position: relative;
left: -52px;
width: 50px;
height: 16px;
margin-right: -50px;
vertical-align: top;
font-size: 11px;
}
.forum-separator {
margin: 10px 0px 15px 0px;
border-bottom: 1px dotted threedshadow;
}
/* tree */
li ul {
display: none;
}
li.treeVisible ul {
display: block;
}
li.treeVisible li ul {
display: none;
}
li.treeVisible li.treeVisible ul {
display: block;
}
/* code highlight */
.aw-code-panel {
position: relative;
overflow: hidden;
top: 50px;
left: -52px;
width: 30px;
height: 150px;
margin: 0px -30px -150px 0px;
}
.aw-code-panel button{
width: 100%;
height: 2.5em;
font: menu;
}
.aw-code-block {
display: block;
margin: 15px 0px 15px -50px;
padding: 15px 0px 15px 50px;
background: #f9ffee;
border: 1px dotted #999;
font-size: 100%;
font-family: Georgia, Arial, Helvetica;
}
.aw-code-1 { color: #006;}
.aw-code-2 { color: #00c;}
.aw-code-3 { color: #099; font-style: italic}
.aw-code-4 { color: #090;}
/* print */
@media print {
table.page {
width: 640px;
}
.head, .menu, col.right {
display: none;
}
.image-home {
border-left: 30px solid #eee;
}
a {
color: highlight;
}
}

View file

@ -0,0 +1,259 @@
var site = {};
site.head = function(title, subtitle){
return "<div class='head'><table class='page' align='center'><tr>" +
"<td class='title'>" + title + "</td>" +
"<td class='subtitle'>" + subtitle + "</td>" +
"</tr></table></div>";
}
site.menu = function(left, right){
return "<div class='menu'><table class='page' align='center'><tr>" +
"<td class='left'>" + left + "</td>" +
"<td class='right'>" + right + "</td>" +
"</tr></table></div>";
}
site.main = function(){
return "<div class='body'><table class='page' align='center'><col class='main'/><col class='right'/><tr><td class='main'>";
}
site.foot = function(){
return "</td></tr></table></div>";
}
site.copyright = function(message){
return "<div class='copyright'><table class='page' align='center'><tr>" +
"<td>" + message + "</td>" +
"</tr></table></div>";
}
site.doctree = [
["Tutorial", [
["Introduction", [
["Hello World", "tutorial/introduction/helloworld.htm"],
]],
["HTML", [
["Tags", "tutorial/html/tags.htm"],
["Attributes", "tutorial/html/attributes.htm"],
["Styles", "tutorial/html/styles.htm"],
]],
["Grid", [
["Quick Start", "tutorial/grid/intro.htm"],
["Data Sources", "tutorial/grid/data.htm"],
["Number Formatting", "tutorial/grid/formats.htm"],
["Visual Style", "tutorial/grid/style.htm"],
["Mouseover Effects", "tutorial/grid/mouseover.htm"],
["Selections", "tutorial/grid/selection.htm"],
]],
]],
["Reference", [
["System", [
["Active.System.Object", "reference/active.system.object/index.htm"],
["Active.System.HTML", "reference/active.system.html/index.htm"],
["Active.System.Template", "reference/active.system.template/index.htm"],
["Active.System.Control", "reference/active.system.control/index.htm"],
["Active.System.Model", "reference/active.system.model/index.htm"],
["Active.System.Format", "reference/active.system.format/index.htm"],
]],
["Templates", [
["Active.Templates.Box", "reference/active.templates.box/index.htm"],
["Active.Templates.Text", "reference/active.templates.text/index.htm"],
["Active.Templates.Image", "reference/active.templates.image/index.htm"],
["Active.Templates.Link", "reference/active.templates.link/index.htm"],
["Active.Templates.Item", "reference/active.templates.item/index.htm"],
["Active.Templates.List", "reference/active.templates.list/index.htm"],
["Active.Templates.Row", "reference/active.templates.row/index.htm"],
["Active.Templates.Header", "reference/active.templates.header/index.htm"],
["Active.Templates.Scroll", "reference/active.templates.scroll/index.htm"],
["Active.Templates.Status", "reference/active.templates.status/index.htm"],
["Active.Templates.Error", "reference/active.templates.error/index.htm"],
]],
["Controls", [
["Active.Controls.Grid", "reference/active.controls.grid/index.htm"],
]],
["HTTP", [
["Active.HTTP.Request", "reference/active.http.request/index.htm"],
]],
["Text", [
["Active.Text.Table", "reference/active.text.table/index.htm"],
]],
["XML", [
["Active.XML.Table", "reference/active.xml.table/index.htm"],
]],
["Formats", [
["Active.Formats.String", "reference/active.formats.string/index.htm"],
["Active.Formats.Number", "reference/active.formats.number/index.htm"],
["Active.Formats.Date", "reference/active.formats.date/index.htm"],
]],
]],
];
site.reference = function(){
function tree(a){
var i, temp, s = "";
for (i=0; i<a.length; i++){
if (!a[i]) {}
else if (typeof(a[i][1]) == "object"){
temp = "<a>" + a[i][0] + "</a><ul>" + tree(a[i][1]) + "</ul>";
if (a[i][1].expanded) {
s += "<li onclick='site.toggleTree(event, this)' class='treeVisible'>" + temp + "</li>";
a.expanded = true;
}
else {
s += "<li onclick='site.toggleTree(event, this)'>" + temp + "</li>";
}
}
else {
var pattern = a[i][1].replace("index.htm", "");
if (window.location.href.match(pattern)) {
a.expanded = true
s += "<li class='tree-active'><a href='../../" + a[i][1] + "'>" + a[i][0] + "</a></li>";
}
else {
s += "<li><a href='../../" + a[i][1] + "'>" + a[i][0] + "</a></li>";
}
}
}
return s;
}
var s = "";
s += "<ul class='reference' onclick='site.toggleTree(event)'>";
s += tree(site.doctree);
s += "</ul>";
return s;
}
site.tutorial = site.reference;
site.toggleTree = function(event, ref){
// var e = event.srcElement ? event.srcElement : event.target;
// if (e.href) {return}
// if (e.tagName != "LI") {e = e.parentElement}
ref.className = ref.className ? "" : "treeVisible";
event.cancelBubble = true;
}
site.base = function(){
var i, src = "common/site.js", scripts = document.getElementsByTagName("script");
for (i=0; i<scripts.length; i++){if (scripts[i].src.match(src)){ return scripts[i].src.replace(src, "")}}
return "";
}
site.home = function(){
return ("" + window.location).match("activewidgets.com") ? "" : "readme.htm";
}
site.examples = function(){
return ("" + window.location).match("activewidgets.com") ? "grid/" : "grid/index.htm";
}
site.adjustFonts = function(){
try {
if (window.navigator.userAgent.match("Linux")) {
document.body.style.font = "menu";
}
}
catch(error){
}
}
site.example = function(source){
try {
var text = document.getElementById(source).value;
var style = document.getElementById(source).getAttribute("target");
var b = "<button style=\"position:relative;left:-60px;top:8px;margin-bottom:-22px;font-size:11px;line-height:11px;height:22px;width:50px\"";
b += " title=\"This example is live! Try to modify the script in the textbox and press 'refresh' to see the results.\"";
b += " onclick=\"window.refresh" + source + "()\">Refresh</button><br />";
document.write(b);
var name = source + "-frame";
var f = "<iframe name='" + name + "' style='" + style +"' frameborder=\"0\"></iframe>";
document.write(f);
var doc = frames[name].document;
doc.open();
doc.write("<html><head>");
doc.write("</head><body>");
doc.write("</body></html>");
doc.close()
var wl = window.onload;
window.onload = window["refresh" + source] = function(){
if (typeof wl == "function" ) {wl()}
var doc = frames[name].document;
doc.open();
doc.write("<html><head>");
doc.write("<style> body, html {margin:0px; padding: 0px; overflow: hidden; font: menu} </style>");
doc.write("<link href=\"../../../runtime/styles/classic/grid.css\" rel=\"stylesheet\" type=\"text/css\" ></link>");
doc.write("<style>.active-row-highlight .active-row-cell {background-color: threedshadow}</style>");
doc.write("<s" + "cript src=\"../../../runtime/lib/grid.js\"></s" + "cript>");
doc.write("</head><body>");
doc.write("<s" + "cript>" + document.getElementById(source).value + "</s" + "cript>");
window.setTimeout(function(){
doc.write("</body></html>");
doc.close()
}, 1000);
}
}
catch(e){
}
}
var $header = {toString: function(){
site.adjustFonts();
var s = "", base = site.base(), home = site.home(), examples = site.examples();
s += site.head("ActiveWidgets", "Cross-browser DHTML widgets toolkit");
s += site.menu( "<a href='" + base + home + "'>Home</a>|" +
"<a href='" + base + examples + "'>ActiveWidgets Grid 1.0</a>",
"<a href='http://www.activewidgets.com/messages/'>Support Forum</a>|" +
"<a href='" + base + "documentation/tutorial/introduction/helloworld.htm'>Tutorial</a>|" +
"<a href='" + base + "documentation/reference/active.controls.grid/index.htm'>Reference</a>|" +
"<a href='http://www.activewidgets.com/download/'>Download</a>|" +
"<a href='http://www.activewidgets.com/company/'>Contacts</a>");
s += site.main();
return s;
}};
var $column = {toString: function(){
return "</td><td class='right'>";
}};
var $reference = {toString: function(){
return site.reference();
}};
var $tutorial = {toString: function(){
return site.tutorial();
}};
var $footer = {toString: function(){
var s = "";
s += site.foot();
s += site.copyright("Copyright &copy; 2004 ActiveWidgets Ltd. All Rights Reserved.");
return s;
}};