Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Template skinning update

  • Loading branch information...
commit 85ec667ab820082d97b07dc9e53edbc293ff9db1 1 parent 96e47c4
@davglass davglass authored
View
36 bin/yuidoc_generate.py
@@ -315,6 +315,7 @@ def allprop_sort(x, y):
moduleprops = []
+ classList = []
# class API view
#for i in classes:
@@ -337,6 +338,9 @@ def allprop_sort(x, y):
if const.PRIVATE in c: t.access = const.PRIVATE
elif const.PROTECTED in c: t.access = const.PROTECTED
+ desc = ''
+ if const.DESCRIPTION in c:
+ desc = c[const.DESCRIPTION]
#subclasses
@@ -347,6 +351,9 @@ def allprop_sort(x, y):
t.subclasses = subclasses
+ gName = i.replace('YAHOO.widget.', '');
+ gName = gName.replace('YAHOO.util.', '');
+ classInfo = { const.DESCRIPTION: desc, const.NAME: i, const.GUESSEDNAME: gName, const.EXTENDS: [] }
# Properties/fields
@@ -357,7 +364,7 @@ def allprop_sort(x, y):
for propertykey in keys:
prop = c[const.PROPERTIES][propertykey]
if self.showprivate or const.PRIVATE not in prop:
- propdata = {const.NAME: propertykey, const.HOST: i, const.URL:getUrl(i, propertykey, const.PROPERTY)}
+ propdata = {const.NAME: propertykey, const.HOST: i, const.TYPE: 'property', const.URL:getUrl(i, propertykey, const.PROPERTY)}
transferToDict( const.ACCESS, prop, propdata )
if const.PRIVATE in prop: propdata[const.ACCESS] = const.PRIVATE
@@ -385,7 +392,7 @@ def allprop_sort(x, y):
for methodkey in keys:
method = c[const.METHODS][methodkey]
if self.showprivate or const.PRIVATE not in method:
- methoddata = {const.NAME: methodkey, const.HOST: i, const.URL:getUrl(i, methodkey, const.METHOD)}
+ methoddata = {const.NAME: methodkey, const.HOST: i, const.TYPE: 'method', const.URL:getUrl(i, methodkey, const.METHOD)}
transferToDict( const.ACCESS, method, methoddata )
if const.PRIVATE in method: methoddata[const.ACCESS] = const.PRIVATE
@@ -430,7 +437,7 @@ def allprop_sort(x, y):
for eventkey in keys:
event = c[const.EVENTS][eventkey]
if self.showprivate or const.PRIVATE not in event:
- eventdata = {const.NAME: eventkey, const.HOST: i, const.URL:getUrl(i, eventkey, const.EVENT)}
+ eventdata = {const.NAME: eventkey, const.HOST: i, const.TYPE: 'event', const.URL:getUrl(i, eventkey, const.EVENT)}
transferToDict( const.ACCESS, event, eventdata )
if const.PRIVATE in event: eventdata[const.ACCESS] = const.PRIVATE
@@ -478,7 +485,7 @@ def allprop_sort(x, y):
for configkey in keys:
config = c[const.CONFIGS][configkey]
if self.showprivate or const.PRIVATE not in config:
- configdata = {const.NAME: configkey, const.HOST: i, const.URL:getUrl(i, configkey, const.CONFIG)}
+ configdata = {const.NAME: configkey, const.HOST: i, const.TYPE: 'config', const.URL:getUrl(i, configkey, const.CONFIG)}
transferToDict( const.ACCESS, config, configdata )
if const.PRIVATE in config: configdata[const.ACCESS] = const.PRIVATE
@@ -501,7 +508,7 @@ def allprop_sort(x, y):
configs.append(configdata)
# get inherited data
- inherited = t.inherited = {const.PROPERTIES:{}, const.METHODS:{}, const.EVENTS:{}, const.CONFIGS:{}}
+ inherited = t.inherited = {const.PROPERTIES:{}, const.METHODS:{}, const.EVENTS:{}, const.CONFIGS:{}, const.SUPERCLASS: {} }
if const.EXTENDS in c:
supercname = t.extends = unicode(c[const.EXTENDS])
if supercname in classes:
@@ -514,6 +521,16 @@ def allprop_sort(x, y):
if supercname in classes:
superc = classes[supercname]
getPropsFromSuperclass(superc, classes, inherited)
+
+ #Create the superclass chain and attach it to the classInfo Object
+ extends = {}
+ for i in inherited:
+ for a in inherited[i]:
+ extends[a] = a
+
+ inherited[const.SUPERCLASS] = extends
+ classInfo[const.EXTENDS] = inherited
+ classList.append(classInfo)
# Constructor -- technically the parser can take multiple constructors
# but that does't help here
@@ -537,6 +554,14 @@ def allprop_sort(x, y):
params.append(param)
+ # write module splash
+ moduleprops.sort(allprop_sort)
+ t.allprops_raw = moduleprops
+ moduleprops_json = simplejson.dumps(moduleprops)
+ t.allprops = moduleprops_json
+ classList.sort(allprop_sort)
+ t.classList_raw = classList
+ t.classList = simplejson.dumps(classList)
self.write("%s.html" %(self.classname), t)
# clear out class name
@@ -551,6 +576,7 @@ def allprop_sort(x, y):
# write module splash
moduleprops.sort(allprop_sort)
+ t.allprops_raw = moduleprops
moduleprops_json = simplejson.dumps(moduleprops)
t.allprops = moduleprops_json
View
223 template/assets/ac-js
@@ -1,164 +1,59 @@
(function() {
- var Event=YAHOO.util.Event,Dom=YAHOO.util.Dom,oACDS,oAutoComp;
-
- Cookie = {
-
- set: function(key, val, o){
- o = o||{};
- val = encodeURIComponent(val);
- if (o.domain) {
- val += '; domain=' + o.domain;
- }
- if (o.path) {
- val += '; path=' + o.path;
- }
- if (YAHOO.lang.isNumber(o.duration)) {
- var date = new Date();
- date.setTime(date.getTime() + o.duration*24*60*60*1000);
- val += '; expires=' + date.toGMTString();
- }
- if (o.secure) {
- val += '; secure';
- }
- document.cookie = key + '=' + val;
- },
+ var Event=YAHOO.util.Event,
+ Dom=YAHOO.util.Dom,
+ oACDS, oAutoComp,
+ show = {
+ 'private': false,
+ 'protected': false,
+ 'deprecated': false
+ };
- get: function(key){
- var m = document.cookie.match('(?:^|;)\\s*?' + key + '=([^;]*)');
- return (m) ? decodeURIComponent(m[1]) : null;
- },
-
- remove: function(key){
- return this.set(key, "", {duration: -1});
+Event.onAvailable('yui-classopts-form', function() {
+ //Checkboxes are available..
+ var handleClick = function(e) {
+ var id, checked = false;
+ if (YAHOO.lang.isString(e)) {
+ id = e;
+ } else {
+ var tar = Event.getTarget(e);
+ id = tar.id;
}
- }
-
- var showPrivate=(Cookie.get("showPrivate")=="true");
- var showProtected=(Cookie.get("showProtected")=="true");
- var showDeprecated=(Cookie.get("showDeprecated")=="true");
-
- //alert(Cookie.get("showPrivate"));
- //alert(Cookie.get("showProtected"));
- //var s="",style=(YAHOO.lang.ua.ie)?"":"inherit";
- var s="", style;
-
- style=(showPrivate) ? "inherit" : "none";
- s='#doc3 .private { display:' + style + '; }';
-
- style=(showProtected) ? "inherit" : "none";
- s+='\n#doc3 .protected { display:' + style + '; }';
-
- style=(showDeprecated) ? "inherit" : "none";
- s+='\n#doc3 .deprecated { display:' + style + '; }';
-
- if (s.length > 0) {
- var el=document.createElement("style");
- //el.innerHTML=s;
-
- el.setAttribute("type", "text/css");
- if(el.styleSheet) {
- el.styleSheet.cssText = s;
+ var el = Dom.get(id);
+ checked = el.checked;
+
+ var className = id;
+ if (checked) {
+ show[id.replace('show_', '')] = true;
+ Dom.addClass(document.body, className);
+ YAHOO.util.Cookie.setSub('yuidoc', id, 'checked');
} else {
- var txt = document.createTextNode(s);
- el.appendChild(txt);
+ show[id.replace('show_', '')] = false;
+ Dom.removeClass(document.body, className);
+ YAHOO.util.Cookie.setSub('yuidoc', id, '');
}
+ };
- document.getElementsByTagName("head")[0].appendChild(el);
- }
-
- function showHidePrivate(show) {
- showHide("private", show);
- showPrivate=show;
- Cookie.set("showPrivate", show, 2);
- }
-
- function showHideProtected(show) {
- showHide("protected", show);
- showProtected=show;
- Cookie.set("showProtected", show, 2);
- }
-
- function showHideDeprecated(show) {
- showHide("deprecated", show);
- showDeprecated=show;
- Cookie.set("showDeprecated", show, 2);
- }
-
- function showHide(type, show) {
- var className=(show) ? "": "none";
- var els=Dom.getElementsByClassName(type);
-
- // console.log('showhide ' + type + ', ' + els.length);
-
- for (var i=0,l=els.length;i<l;i=i+1) {
- //try {
- Dom.setStyle(els[i], "display", className);
- //} catch(e) {}
+ var checkCookie = function(id) {
+ var value = YAHOO.util.Cookie.getSub('yuidoc', id),
+ el = Dom.get(id);
+ if (value === 'checked') {
+ el.checked = true;
+ } else {
+ el.checked = false;
}
- }
-
- Event.onAvailable("showprivate", function() {
- var el = Dom.get("showprivate");
- if (el) {
-
- if (showPrivate) {
- el.checked=true;
- Cookie.set("showPrivate", true, 2);
- }
-
- // get cookie state, show private if needed
- showHidePrivate(el.checked);
-
-
- // set up handler
- Event.on(el, "click", function(e) {
- showHidePrivate(this.checked);
- });
- }
-
- el = Dom.get("showprotected");
- if (el) {
-
- if (showProtected) {
- el.checked=true;
- Cookie.set("showProtected", true, 2);
- }
-
- // get cookie state, show private if needed
- showHideProtected(el.checked);
-
- // set up handler
- Event.on(el, "click", function(e) {
- showHideProtected(this.checked);
- });
- }
-
- el = Dom.get("showdeprecated");
- if (el) {
-
- if (showDeprecated) {
- el.checked=true;
- Cookie.set("showDeprecated", true, 2);
- }
-
- // get cookie state, show private if needed
- showHideDeprecated(el.checked);
+ };
- // set up handler
- Event.on(el, "click", function(e) {
- showHideDeprecated(this.checked);
- });
- }
- });
+ var els = ['show_deprecated', 'show_protected', 'show_private'];
- var propsort = function(a, b) {
- //return (a.url > b.url) ? 1 : ((a.url < b.url) ? -1 : 0);
- return (a.name.toLowerCase() > b.name.toLowerCase()) ? 1 : ((a.name.toLowerCase() < b.name.toLowerCase()) ? -1 : 0);
+ for (var i = 0; i < els.length; i++) {
+ Event.on(els[i], 'click', handleClick);
+ checkCookie(els[i]);
+ handleClick(els[i]);
}
+
+});
- //var allprops = ALL_YUI_PROPS;
- // allprops.sort(propsort);
-
+//Starting the AutoComplete code
var getResults = function(query) {
var results = [];
if(query && query.length > 0) {
@@ -169,11 +64,11 @@
var prop = ALL_YUI_PROPS[i];
- if (!showProtected && prop.access == "protected") {
+ if (!show['protected'] && prop.access == "protected") {
// skip
- } else if (!showPrivate && prop.access == "private") {
+ } else if (!show['private'] && prop.access == "private") {
// skip
- } else if (!showDeprecated && prop.deprecated) {
+ } else if (!show['deprecated'] && prop.deprecated) {
// skip
} else {
var s = (prop.host + "." + prop.name).toLowerCase();
@@ -196,19 +91,10 @@
if(aResults.length == 0) {
if (query.length > 0) {
oAutoComp.setBody("<div id=\"resultsdefault\">Not found</div>");
- } else {
- //oAutoComp.setBody("<div id=\"resultsdefault\">Start typing to find a property/method/event/config " +
- //" or browse a module by clicking a link on the left.</div>");
- oAutoComp.setBody("<div id=\"resultsdefault\">Start typing to find a property/method/event/config</div>");
}
}
};
- var myOnContainerCollapse = function(sType, aArgs) {
- var oAutoComp = aArgs[0];
- oAutoComp.setBody("<div id=\"resultsdefault\">Start typing to find a property/method/event/config</div>");
- };
-
var myOnItemSelect = function(sType, aArgs) {
var ac = aArgs[0];
var item = aArgs[2];
@@ -224,7 +110,7 @@
// Instantiate AutoComplete
oAutoComp = new YAHOO.widget.AutoComplete('searchinput','searchresults', oACDS);
- oAutoComp.alwaysShowContainer = true;
+ //oAutoComp.alwaysShowContainer = true;
oAutoComp.queryDelay = 0.2;
oAutoComp.maxResultsDisplayed = 200;
oAutoComp.minQueryLength = 0;
@@ -235,7 +121,6 @@
// Subscribe to Custom Events
oAutoComp.dataReturnEvent.subscribe(myOnDataReturn);
- oAutoComp.containerCollapseEvent.subscribe(myOnContainerCollapse);
oAutoComp.itemSelectEvent.subscribe(myOnItemSelect);
// Set initial content in the container
@@ -246,5 +131,15 @@
var validateForm = function() {
return false;
};
+
+ YAHOO.util.Event.onAvailable('classTab', function() {
+ var tabs = new YAHOO.widget.TabView('classTab');
+ });
+ /*
+ YAHOO.util.Event.onAvailable('codeTree', function() {
+ var tree1 = new YAHOO.widget.TreeView('codeTree');
+ tree1.render();
+ });
+ */
})();
View
349 template/assets/api-js
37 additions, 312 deletions not shown
View
145 template/assets/api.css
@@ -1,18 +1,25 @@
-/*2.2.0*/
-/*reset.css*/body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}ol,ul {list-style:none;}caption,th {text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym {border:0;}
-/*fonts.css*/body{font:13px arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}table {font-size:inherit;font:100%;}select, input, textarea {font:99% arial,helvetica,clean,sans-serif;}pre, code {font:115% monospace;*font-size:100%;}body * {line-height:1.22em;}
-/*grids.css*/body{text-align:center;}#ft{clear:both;}#doc,#doc2,#doc3,.yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7{margin:auto;text-align:left;width:57.69em;*width:56.3em;min-width:750px;}#doc2{width:73.074em;*width:71.313em;min-width:950px;}#doc3{margin:auto 10px;width:auto;}.yui-b{position:relative;}.yui-b{_position:static;}#yui-main .yui-b{position:static;}#yui-main{width:100%;}.yui-t1 #yui-main,.yui-t2 #yui-main,.yui-t3 #yui-main{float:right;margin-left:-25em;}.yui-t4 #yui-main,.yui-t5 #yui-main,.yui-t6 #yui-main{float:left;margin-right:-25em;}.yui-t1 .yui-b{float:left;width:12.3207em;*width:12.0106em;}.yui-t1 #yui-main .yui-b{margin-left:13.3207em;*margin-left:13.0106em;}.yui-t2 .yui-b{float:left;width:13.8456em;*width:13.512em;}.yui-t2 #yui-main .yui-b{margin-left:14.8456em;*margin-left:14.512em;}.yui-t3 .yui-b{float:left;width:23.0759em;*width:22.52em;}.yui-t3 #yui-main .yui-b{margin-left:24.0759em;*margin-left:23.52em;}.yui-t4 .yui-b{float:right;width:13.8456em;*width:13.512em;}.yui-t4 #yui-main .yui-b{margin-right:14.8456em;*margin-right:14.512em;}.yui-t5 .yui-b{float:right;width:18.4608em;*width:18.016em;}.yui-t5 #yui-main .yui-b{margin-right:19.4608em;*margin-right:19.016em;}.yui-t6 .yui-b{float:right;width:23.0759em;*width:22.52em;}.yui-t6 #yui-main .yui-b{margin-right:24.0759em;*margin-right:23.52em;}.yui-t7 #yui-main .yui-b{display:block;margin:0 0 1em 0;}#yui-main .yui-b{float:none;width:auto;}.yui-g .yui-u,.yui-g .yui-g,.yui-gc .yui-u,.yui-gc .yui-g .yui-u,.yui-ge .yui-u,.yui-gf .yui-u{float:right;display:inline;}.yui-g div.first,.yui-gc div.first,.yui-gc div.first div.first,.yui-gd div.first,.yui-ge div.first,.yui-gf div.first{float:left;}.yui-g .yui-u,.yui-g .yui-g{width:49.1%;}.yui-g .yui-g .yui-u,.yui-gc .yui-g .yui-u{width:48.1%;}.yui-gb .yui-u,.yui-gc .yui-u,.yui-gd .yui-u{float:left;margin-left:2%;*margin-left:1.895%;width:32%;}.yui-gb div.first,.yui-gc div.first,.yui-gd div.first{margin-left:0;}.yui-gc div.first,.yui-gd .yui-u{width:66%;}.yui-gd div.first{width:32%;}.yui-ge .yui-u{width:24%;}.yui-ge div.first,.yui-gf .yui-u{width:74.2%;}.yui-gf div.first{width:24%;}.yui-ge div.first{width:74.2%;}#bd:after,.yui-g:after,.yui-gb:after,.yui-gc:after,.yui-gd:after,.yui-ge:after,.yui-gf:after{content:".";display:block;height:0;clear:both;visibility:hidden;}#bd,.yui-g,.yui-gb,.yui-gc,.yui-gd,.yui-ge,.yui-gf{zoom:1;}
-body { background-color: #fff; }
+
+body { background-color: #ECF0F6; }
/* main page */
-a:link { color: #00F; }
+a:link { color: #003399; }
a:visited { color: #003399;}
-#doc3 #hd {margin-bottom:1em}
+#doc3 #hd { margin-bottom:1em; position: relative; zoom: 1; }
+#doc3 #hd h1 { color: #545454; font-size: 170%; padding: 0px 0 8px 150px; background: url(yui.png) 15px 9px no-repeat; height: 60px; font-weight: bold; }
+#doc3 #hd h1 a { position: relative; top: 14px; }
#doc3 #hd a { text-decoration: none; color: black; }
-#doc3 #hd h1 { color: #545454; font:170%/50px arial Bold; padding: 0px 0 8px 130px; background: url(yui.png) left center no-repeat; }
-#doc3 #hd h3 { background: #947DB2; color: #FFF; font: 110%/1.22em arial; padding: 5px 10px; margin: 0 0 7px 0; }
+#doc3 #hd h3 {
+ background: #98AAB1; background-image: url(bg_hd.gif); color: #000; font-size: 100%; padding: 4px 10px; margin: 0 0 7px 0;
+ border: 1px solid #98AAB1;
+}
+#ft hr {
+ display: none;
+}
+#ft {
+ background: #98AAB1; background-image: url(bg_hd.gif); color: #000; font-size: 100%; padding: 4px 10px; margin: 7px 0 0 0; border: 1px solid #98AAB1;
+}
#doc3 #hd h3 A { color: #FFF; text-decoration: none; }
#doc3 #hd .breadcrumbs { font-size: 85%; margin-bottom:10px;}
#doc3 #hd .subtitle {position: absolute; right:1em; padding: 0px;margin:0px}
@@ -25,17 +32,24 @@ a:visited { color: #003399;}
#doc3 .detail .deprecated strong { color:#441054; }
#doc3 code, pre {font-size:85%}
-/*
-#doc3 .private {
- display:none;
+#doc3 #hd h1 {
+ border: 1px solid #98AAB1;
+ background-color: #fff;
+ margin-bottom: .5em;
+
+}
+#bd {
+ border: 1px solid #98AAB1;
+ background-color: #fff;
}
-#doc3 .protected {
- display:none;
+.submodules dd {
+ font-size: 93%;
+ font-weight: italic;
}
-*/
-#doc3 .classopts { font-size: 85%; float:right; margin:2px; padding: 2px; background-color:#cdc6d5;border: 1px solid #947db2;}
+
+#doc3 .classopts { font-size: 85%; float:right; margin:2px; padding: 2px; background-color:#ECF0F6;border: 1px solid #98AAB1;}
#yui-classopts-form fieldset legend { display: none; }
/* undo reset.css styles for description block formatting */
@@ -45,37 +59,57 @@ a:visited { color: #003399;}
#doc3 .description em {padding: 2px; background-color: #EFECCA}
#doc3 pre { padding: 10px;}
-#doc3 .summary { margin: 0px 0 10px 0; padding:10px; border: 1px solid #cccccc; background-color: #eeeeee; }
+#doc3 .summary { margin: 0px 10px 10px 0; padding:10px; background-color:#ECF0F6; border:1px solid #98AAB1; }
#doc3 .extends {font-weight: normal; font-size: 90%}
#doc3 .nav {min-height: 400px;}
-#doc3 .nav .module {width:100%; background:#EEEEEE; margin: 0 0 15px 0; padding: 0; overflow:hidden}
-#doc3 .nav .module h4 { padding: 3px 5px; border-bottom: #947DB2 1px solid; }
+#doc3 .nav .module {
+ width:100%;
+ border-right: 1px solid #98AAB1;
+ border-bottom: 1px solid #98AAB1;
+ padding: 0; overflow:hidden;
+}
+#doc3 .nav .module h4 {
+ padding: 3px 5px;
+ border-bottom: 1px solid #98AAB1;
+ background-image: url(bg_hd.gif);
+}
#doc3 .nav .module h4 A { color: #000; text-decoration: none; }
#doc3 .nav .module .content { padding: 2px; }
#doc3 .nav .module UL.content LI { font-size: 90%; }
-#doc3 .nav .module UL.content A { text-decoration: none; }
-#doc3 .nav .module LI { padding: 2px 4px 2px 4px; }
-#doc3 .nav .module LI.selected { background: #CDC6D5; }
+#doc3 .nav .module UL.content A { text-decoration: none; color: black; display: block; padding: 2px 4px 2px 4px; }
+#doc3 .nav .module LI,
+#doc3 .nav .module LI A {
+ zoom: 1;
+}
+#doc3 .nav .module LI.selected A,
+#doc3 .nav .module LI A:hover {
+ background-color: #ECF0F6;
+ zoom: 1;
+}
-#doc3 .section { margin: 0 0 16px 0; }
+#doc3 .section { margin: 0 7px 7px 0; }
#doc3 .section strong { font-weight: bold;}
#doc3 .section hr { border: none 0; border-top: 1px solid #ccc; }
#doc3 .section h4 { font-size:110%;}
-#doc3 .section h3 { background: #947DB2; width: 100%; color: #FFF; padding: 3px; margin: 0 0 7px 0; }
+#doc3 .section h3 { background: #98AAB1; background-image: url(bg_hd.gif); width: 98%; color: #000; padding: 3px; margin: 0 0 7px 0;
+ border: 1px solid #98AAB1;
+
+}
#doc3 .section h3 .top { font-size: 60%; font-weight: normal; width: 100%; font-family: verdana; padding-left: 20px; }
-#doc3 .section h3 .top A { color: #FFF; text-decoration: none; }
+#doc3 .section h3 .top A { color: #000; text-decoration: none; }
#doc3 .section.details .content { padding: 0 0 0 10px; }
#doc3 .section.details .description { padding: 10px 0 0 20px; }
#doc3 .section.details .description dt { font-weight: bold; }
#doc3 .section.details .description td { border:1px solid #ccc; margin:2px;padding:2px;}
-#doc3 .inheritance { padding:10px; background-color:#eeeeee }
+#doc3 .inheritance { padding:10px; background-color:#ECF0F6; border:1px solid #98AAB1; }
#doc3 .inheritance h4 { font-size: 100%;}
/* index page autocomplete */
-#propertysearch {;position:absolute;margin:1em;width:35em;}/* set width of widget here*/
+/*
+#propertysearch {;position:absolute;margin:1em;width:35em;}
#searchinput {position:absolute;width:100%;height:1.4em;}
#searchresults {position:absolute;top:1.7em;width:100%;}
#searchresults .yui-ac-content {position:absolute;top:4px; left:0px; width:100%;height:20em;border:1px solid #aaa;background:#fff;overflow:auto;overflow-x:hidden;z-index:9050;}
@@ -85,6 +119,63 @@ a:visited { color: #003399;}
#searchresults li.yui-ac-highlight {background:#D1C6DA;}
#searchresults li em { position:absolute; width:44%; overflow:hidden; color:#654D6C;}
#searchresults li span { position:relative; left:46% }
+*/
+
+#propertysearch {
+ width: 25em;
+ position: absolute;
+ right: 5px;
+ bottom: -4px;
+}
+#searchinput {
+ width: 83%;
+ height: 1.4em;
+}
+#searchresults {
+ position: absolute;
+ right: 25em;
+ top: 25px;
+ height: 0;
+}
+#searchresults .yui-ac-content {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 25em;
+ height: 20em;
+ border: 1px solid #98AAB1;
+ background: #fff;
+ overflow: auto;
+ overflow-x: hidden;
+ z-index: 9050;
+}
+#searchresults li.yui-ac-highlight {
+ background-color: #ECF0F6;
+}
+#searchresults li em {
+ width:44%;
+ overflow: hidden;
+ color: #98AAB1;
+}
+
+.deprecated, .private, .protected {
+ display: none;
+}
+
+body.show_deprecated .deprecated,
+body.show_private .private,
+body.show_protected .protected {
+ display: inherit;
+}
+
+#splash_classList ul {
+ margin: 1em;
+ margin-left:2em;
+}
+#splash_classList ul li {
+ list-style: disc outside;
+}
+
/* source code view */
#srcout {min-width: 580px; }
View
BIN  template/assets/bg_hd.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
11 template/assets/reset-fonts-grids-min.css
@@ -1,4 +1,7 @@
-/*Copyright (c) 2006,Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.net/yui/license.txt */
-/*reset.css*/body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}ol,ul {list-style:none;}caption,th {text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym {border:0;}
-/*fonts.css*/body{font:13px arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}table {font-size:inherit;font:100%;}select, input, textarea {font:99% arial,helvetica,clean,sans-serif;}pre, code {font:115% monospace;*font-size:100%;}body * {line-height:1.22em;}
-/*grids.css*/body{text-align:center;}#ft{clear:both;}#doc,#doc2,#doc3,.yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7{margin:auto;text-align:left;width:57.69em;*width:56.3em;min-width:750px;}#doc2{width:73.074em;*width:71.313em;min-width:950px;}#doc3{margin:auto 10px;width:auto;}.yui-b{position:relative;}.yui-b{_position:static;}#yui-main .yui-b{position:static;}#yui-main{width:100%;}.yui-t1 #yui-main,.yui-t2 #yui-main,.yui-t3 #yui-main{float:right;margin-left:-25em;}.yui-t4 #yui-main,.yui-t5 #yui-main,.yui-t6 #yui-main{float:left;margin-right:-25em;}.yui-t1 .yui-b{float:left;width:12.3207em;*width:12.0106em;}.yui-t1 #yui-main .yui-b{margin-left:13.3207em;*margin-left:13.0106em;}.yui-t2 .yui-b{float:left;width:13.8456em;*width:13.512em;}.yui-t2 #yui-main .yui-b{margin-left:14.8456em;*margin-left:14.512em;}.yui-t3 .yui-b{float:left;width:23.0759em;*width:22.52em;}.yui-t3 #yui-main .yui-b{margin-left:24.0759em;*margin-left:23.52em;}.yui-t4 .yui-b{float:right;width:13.8456em;*width:13.512em;}.yui-t4 #yui-main .yui-b{margin-right:14.8456em;*margin-right:14.512em;}.yui-t5 .yui-b{float:right;width:18.4608em;*width:18.016em;}.yui-t5 #yui-main .yui-b{margin-right:19.4608em;*margin-right:19.016em;}.yui-t6 .yui-b{float:right;width:23.0759em;*width:22.52em;}.yui-t6 #yui-main .yui-b{margin-right:24.0759em;*margin-right:23.52em;}.yui-t7 #yui-main .yui-b{display:block;margin:0 0 1em 0;}#yui-main .yui-b{float:none;width:auto;}.yui-g .yui-u,.yui-g .yui-g,.yui-gc .yui-u,.yui-gc .yui-g .yui-u,.yui-ge .yui-u,.yui-gf .yui-u{float:right;display:inline;}.yui-g div.first,.yui-gc div.first,.yui-gc div.first div.first,.yui-gd div.first,.yui-ge div.first,.yui-gf div.first{float:left;}.yui-g .yui-u,.yui-g .yui-g{width:49.1%;}.yui-g .yui-g .yui-u,.yui-gc .yui-g .yui-u{width:48.1%;}.yui-gb .yui-u,.yui-gc .yui-u,.yui-gd .yui-u{float:left;margin-left:2%;*margin-left:1.895%;width:32%;}.yui-gb div.first,.yui-gc div.first,.yui-gd div.first{margin-left:0;}.yui-gc div.first,.yui-gd .yui-u{width:66%;}.yui-gd div.first{width:32%;}.yui-ge .yui-u{width:24%;}.yui-ge div.first,.yui-gf .yui-u{width:74.2%;}.yui-gf div.first{width:24%;}.yui-ge div.first{width:74.2%;}#bd:after,.yui-g:after,.yui-gb:after,.yui-gc:after,.yui-gd:after,.yui-ge:after,.yui-gf:after{content:".";display:block;height:0;clear:both;visibility:hidden;}#bd,.yui-g,.yui-gb,.yui-gc,.yui-gd,.yui-ge,.yui-gf{zoom:1;}
+/*
+Copyright (c) 2008, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.6.0
+*/
+html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}del,ins{text-decoration:none;}body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}select,input,button,textarea{font:99% arial,helvetica,clean,sans-serif;}table{font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}body{text-align:center;}#ft{clear:both;}#doc,#doc2,#doc3,#doc4,.yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7{margin:auto;text-align:left;width:57.69em;*width:56.25em;min-width:750px;}#doc2{width:73.076em;*width:71.25em;}#doc3{margin:auto 10px;width:auto;}#doc4{width:74.923em;*width:73.05em;}.yui-b{position:relative;}.yui-b{_position:static;}#yui-main .yui-b{position:static;}#yui-main,.yui-g .yui-u .yui-g{width:100%;}{width:100%;}.yui-t1 #yui-main,.yui-t2 #yui-main,.yui-t3 #yui-main{float:right;margin-left:-25em;}.yui-t4 #yui-main,.yui-t5 #yui-main,.yui-t6 #yui-main{float:left;margin-right:-25em;}.yui-t1 .yui-b{float:left;width:12.30769em;*width:12.00em;}.yui-t1 #yui-main .yui-b{margin-left:13.30769em;*margin-left:13.05em;}.yui-t2 .yui-b{float:left;width:13.8461em;*width:13.50em;}.yui-t2 #yui-main .yui-b{margin-left:14.8461em;*margin-left:14.55em;}.yui-t3 .yui-b{float:left;width:23.0769em;*width:22.50em;}.yui-t3 #yui-main .yui-b{margin-left:24.0769em;*margin-left:23.62em;}.yui-t4 .yui-b{float:right;width:13.8456em;*width:13.50em;}.yui-t4 #yui-main .yui-b{margin-right:14.8456em;*margin-right:14.55em;}.yui-t5 .yui-b{float:right;width:18.4615em;*width:18.00em;}.yui-t5 #yui-main .yui-b{margin-right:19.4615em;*margin-right:19.125em;}.yui-t6 .yui-b{float:right;width:23.0769em;*width:22.50em;}.yui-t6 #yui-main .yui-b{margin-right:24.0769em;*margin-right:23.62em;}.yui-t7 #yui-main .yui-b{display:block;margin:0 0 1em 0;}#yui-main .yui-b{float:none;width:auto;}.yui-gb .yui-u,.yui-g .yui-gb .yui-u,.yui-gb .yui-g,.yui-gb .yui-gb,.yui-gb .yui-gc,.yui-gb .yui-gd,.yui-gb .yui-ge,.yui-gb .yui-gf,.yui-gc .yui-u,.yui-gc .yui-g,.yui-gd .yui-u{float:left;}.yui-g .yui-u,.yui-g .yui-g,.yui-g .yui-gb,.yui-g .yui-gc,.yui-g .yui-gd,.yui-g .yui-ge,.yui-g .yui-gf,.yui-gc .yui-u,.yui-gd .yui-g,.yui-g .yui-gc .yui-u,.yui-ge .yui-u,.yui-ge .yui-g,.yui-gf .yui-g,.yui-gf .yui-u{float:right;}.yui-g div.first,.yui-gb div.first,.yui-gc div.first,.yui-gd div.first,.yui-ge div.first,.yui-gf div.first,.yui-g .yui-gc div.first,.yui-g .yui-ge div.first,.yui-gc div.first div.first{float:left;}.yui-g .yui-u,.yui-g .yui-g,.yui-g .yui-gb,.yui-g .yui-gc,.yui-g .yui-gd,.yui-g .yui-ge,.yui-g .yui-gf{width:49.1%;}.yui-gb .yui-u,.yui-g .yui-gb .yui-u,.yui-gb .yui-g,.yui-gb .yui-gb,.yui-gb .yui-gc,.yui-gb .yui-gd,.yui-gb .yui-ge,.yui-gb .yui-gf,.yui-gc .yui-u,.yui-gc .yui-g,.yui-gd .yui-u{width:32%;margin-left:1.99%;}.yui-gb .yui-u{*margin-left:1.9%;*width:31.9%;}.yui-gc div.first,.yui-gd .yui-u{width:66%;}.yui-gd div.first{width:32%;}.yui-ge div.first,.yui-gf .yui-u{width:74.2%;}.yui-ge .yui-u,.yui-gf div.first{width:24%;}.yui-g .yui-gb div.first,.yui-gb div.first,.yui-gc div.first,.yui-gd div.first{margin-left:0;}.yui-g .yui-g .yui-u,.yui-gb .yui-g .yui-u,.yui-gc .yui-g .yui-u,.yui-gd .yui-g .yui-u,.yui-ge .yui-g .yui-u,.yui-gf .yui-g .yui-u{width:49%;*width:48.1%;*margin-left:0;}.yui-g .yui-g .yui-u{width:48.1%;}.yui-g .yui-gb div.first,.yui-gb .yui-gb div.first{*margin-right:0;*width:32%;_width:31.7%;}.yui-g .yui-gc div.first,.yui-gd .yui-g{width:66%;}.yui-gb .yui-g div.first{*margin-right:4%;_margin-right:1.3%;}.yui-gb .yui-gc div.first,.yui-gb .yui-gd div.first{*margin-right:0;}.yui-gb .yui-gb .yui-u,.yui-gb .yui-gc .yui-u{*margin-left:1.8%;_margin-left:4%;}.yui-g .yui-gb .yui-u{_margin-left:1.0%;}.yui-gb .yui-gd .yui-u{*width:66%;_width:61.2%;}.yui-gb .yui-gd div.first{*width:31%;_width:29.5%;}.yui-g .yui-gc .yui-u,.yui-gb .yui-gc .yui-u{width:32%;_float:right;margin-right:0;_margin-left:0;}.yui-gb .yui-gc div.first{width:66%;*float:left;*margin-left:0;}.yui-gb .yui-ge .yui-u,.yui-gb .yui-gf .yui-u{margin:0;}.yui-gb .yui-gb .yui-u{_margin-left:.7%;}.yui-gb .yui-g div.first,.yui-gb .yui-gb div.first{*margin-left:0;}.yui-gc .yui-g .yui-u,.yui-gd .yui-g .yui-u{*width:48.1%;*margin-left:0;} .yui-gb .yui-gd div.first{width:32%;}.yui-g .yui-gd div.first{_width:29.9%;}.yui-ge .yui-g{width:24%;}.yui-gf .yui-g{width:74.2%;}.yui-gb .yui-ge div.yui-u,.yui-gb .yui-gf div.yui-u{float:right;}.yui-gb .yui-ge div.first,.yui-gb .yui-gf div.first{float:left;}.yui-gb .yui-ge .yui-u,.yui-gb .yui-gf div.first{*width:24%;_width:20%;}.yui-gb .yui-ge div.first,.yui-gb .yui-gf .yui-u{*width:73.5%;_width:65.5%;}.yui-ge div.first .yui-gd .yui-u{width:65%;}.yui-ge div.first .yui-gd div.first{width:32%;}#bd:after,.yui-g:after,.yui-gb:after,.yui-gc:after,.yui-gd:after,.yui-ge:after,.yui-gf:after{content:".";display:block;height:0;clear:both;visibility:hidden;}#bd,.yui-g,.yui-gb,.yui-gc,.yui-gd,.yui-ge,.yui-gf{zoom:1;}
View
178 template/main.tmpl
@@ -3,6 +3,8 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>API: $modulename #if $classname# $classname #end if# #if $filename# $filename #end if# (YUI Library)</title>
+
+ <link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
<link rel="stylesheet" type="text/css" href="assets/api.css" />
<script type="text/javascript" src="assets/api-js"></script>
@@ -13,18 +15,22 @@
<div id="doc3" class="yui-t2">
<div id="hd">
- <h1><a href="$projecturl">$projectname</a></h1>
+ <h1><a href="$projecturl" title="$projectname">$projectname</a></h1>
<h3>$moduletitle&nbsp; <span class="subtitle">$version</span></h3>
- <p>
- <a href="./index.html">$projectname</a>
+ <a href="./index.html" title="$projectname">$projectname</a>
#if $modulename
- &gt; <a href="./${cleansedmodulename}.html">$modulename</a>
+ &gt; <a href="./${cleansedmodulename}.html" title="$modulename">$modulename</a>
#if $classname# &gt; $classname #end if#
#if $filename# &gt; $filename (source view) #end if#
- </p>
-
#end if
-
+ <form onsubmit="return false">
+ <div id="propertysearch">
+ Search: <input autocomplete="off" id="searchinput" />
+ <div id="searchresults">
+ &nbsp;
+ </div>
+ </div>
+ </form>
</div>
<div id="bd">
@@ -33,30 +39,18 @@
<form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
<fieldset>
<legend>Filters</legend>
- <span class="classopts"><input type="checkbox" name="showprivate" id="showprivate" /> <label for="showprivate">Show Private</label></span>
- <span class="classopts"><input type="checkbox" name="showprotected" id="showprotected" /> <label for="showprotected">Show Protected</label></span>
- <span class="classopts"><input type="checkbox" name="showdeprecated" id="showdeprecated" /> <label for="showdeprecated">Show Deprecated</label></span>
+ <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
+ <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
+ <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
</fieldset>
</form>
#if $index
<div class="summary description">
This is the API documentation for the
- <a href="http://developer.yahoo.com/yui/">Yahoo! User Interface Library</a>
+ <a href="http://developer.yahoo.com/yui/">Yahoo! User Interface Library</a>.
+ <p>Choose a module name from the list for more information.</p>
</div>
- <form onsubmit="return false">
- <p>Search YUI</p>
- <div id="propertysearch">
- <input autocomplete="off" id="searchinput" />
- <div id="searchresults">
- &nbsp;
- </div>
- </div>
- </form>
-
- <script type="text/javascript">
- ALL_YUI_PROPS = $allprops;
- </script>
#end if
@@ -76,7 +70,7 @@
Class <b property="yui:name">$classname</b>
<span class="extends">
#if $extends
- - extends <a href="${extends}.html">$extends</a>
+ - extends <a href="${extends}.html" title="$extends">$extends</a>
#end if
</span>
@@ -86,7 +80,7 @@
#set $i=0
#for $provider in $uses##if $i > 0#, #end if#
<span rel="extend" resource="${provider}.html">
- <a href="${provider}.html" property="yui:name">$provider</a>#set $i=$i+1#
+ <a href="${provider}.html" property="yui:name" title="$provider">$provider</a>#set $i=$i+1#
</span>
#end for#
@@ -101,7 +95,7 @@
<dd>
#for $subclass in $subclasses
<span rel="yui:subclass" resource="${subclass}.html">
- <a href="${subclass}.html" property="yui:name">$subclass</a>
+ <a href="${subclass}.html" property="yui:name" title="$subclass">$subclass</a>
</span>
#end for
</dd>
@@ -213,14 +207,14 @@
<div rel="yui:inheritance">
#for $superclassname in $inherited.properties
<div class="section field inheritance" rel="yui:superclass" resource="${superclassname}.html">
- <h4>Properties inherited from <a href="${superclassname}.html" property="yui:name">$superclassname</a>:</h4>
+ <h4>Properties inherited from <a href="${superclassname}.html" property="yui:name" title="$superclassname">$superclassname</a>:</h4>
<div class="content" rel="yui:properties">
<code>
#set i=0
#set l=len($inherited.properties[$superclassname])-1
#for $prop in $inherited.properties[$superclassname]#
<span rel="yui:property" resource="${superclassname}.html#property_$prop.name">
- <a class="$prop.access#if $prop.deprecated# deprecated#end if#" href="${superclassname}.html#property_$prop.name" property="yui:name">$prop.name</a>#if $i<$l#<span class="$prop.access#if $prop.deprecated# deprecated#end if#">,</span>#end if#
+ <a class="$prop.access#if $prop.deprecated# deprecated#end if#" href="${superclassname}.html#property_$prop.name" property="yui:name" title="$prop.name">$prop.name</a>#if $i<$l#<span class="$prop.access#if $prop.deprecated# deprecated#end if#">,</span>#end if#
</span>
#set i=i+1
#end for#
@@ -321,14 +315,14 @@
<div rel="yui:inheritance">
#for $superclassname in $inherited.methods
<div class="section field inheritance" rel="yui:superclass" resource="${superclassname}.html">
- <h4>Methods inherited from <a href="${superclassname}.html" property="yui:name">$superclassname</a>:</h4>
+ <h4>Methods inherited from <a href="${superclassname}.html" property="yui:name" title="$superclassname">$superclassname</a>:</h4>
<div class="content" rel="yui:methods">
<code>
#set i=0
#set l=len($inherited.methods[$superclassname])-1
#for $method in $inherited.methods[$superclassname]
<span rel="yui:method" resource="${superclassname}.html#method_$method.name">
- <a class="$method.access#if $method.deprecated# deprecated#end if#" href="${superclassname}.html#method_$method.name" property="yui:name">$method.name</a>#if $i<$l#<span class="$method.access#if $method.deprecated# deprecated#end if#">,</span>#end if#
+ <a class="$method.access#if $method.deprecated# deprecated#end if#" href="${superclassname}.html#method_$method.name" property="yui:name" title="$method.name">$method.name</a>#if $i<$l#<span class="$method.access#if $method.deprecated# deprecated#end if#">,</span>#end if#
</span>
#set i=i+1
#end for
@@ -397,7 +391,7 @@
#if $event.bubbles
<div class="bubbles">
- <strong>Bubbles:</strong> This event bubbles to <a href="${event.bubbles}.html">$event.bubbles</a>.
+ <strong>Bubbles:</strong> This event bubbles to <a href="${event.bubbles}.html" title="$event.bubbles">$event.bubbles</a>.
</div>
#end if
#if $event.preventable
@@ -426,7 +420,7 @@
<div rel="yui:inheritance">
#for $superclassname in $inherited.events
<div class="section field inheritance" rel="yui:superclass" resource="${superclassname}.html">
- <h4>Events inherited from <a href="${superclassname}.html" property="yui:name">$superclassname</a>:</h4>
+ <h4>Events inherited from <a href="${superclassname}.html" property="yui:name" title="$superclassname">$superclassname</a>:</h4>
<div class="content" rel="yui:events">
<code>
#set i=0
@@ -434,7 +428,7 @@
#for $event in $inherited.events[$superclassname]
#set i=i+1
<span rel="yui:event" resource="${superclassname}.html#event_$event.name">
- <a class="$event.access#if $event.deprecated# deprecated#end if#" href="${superclassname}.html#event_$event.name" property="yui:name">$event.name</a>#if $i<$l#<span class="$event.access#if $event.deprecated# deprecated#end if#">,</span>#end if##set i=i+1#
+ <a class="$event.access#if $event.deprecated# deprecated#end if#" href="${superclassname}.html#event_$event.name" property="yui:name" title="$event.name">$event.name</a>#if $i<$l#<span class="$event.access#if $event.deprecated# deprecated#end if#">,</span>#end if##set i=i+1#
</span>
#end for#
</code>
@@ -485,7 +479,7 @@
<div rel="yui:inheritance">
#for $superclassname in $inherited.configs
<div class="section field inheritance" rel="yui:superclass" resource="${superclassname}.html">
- <h4>Configuration attributes inherited from <a href="${superclassname}.html" property="yui:name">$superclassname</a>:</h4>
+ <h4>Configuration attributes inherited from <a href="${superclassname}.html" property="yui:name" title="$superclassname">$superclassname</a>:</h4>
<div class="content" rel="yui:attributes">
<code>
#set i=0
@@ -493,7 +487,7 @@
#for $config in $inherited.configs[$superclassname]
#set i=i+1
<span rel="yui:attribute" resource="${superclassname}.html#config_$config.name">
- <a class="$config.access#if $config.deprecated# deprecated#end if#" href="${superclassname}.html#config_$config.name" property="yui:name">$config.name</a>#if $i<$l#<span class="$config.access#if $config.deprecated# deprecated#end if#">,</span>#end if#
+ <a class="$config.access#if $config.deprecated# deprecated#end if#" href="${superclassname}.html#config_$config.name" property="yui:name" title="$config.name">$config.name</a>#if $i<$l#<span class="$config.access#if $config.deprecated# deprecated#end if#">,</span>#end if#
</span>
#set i=i+1
#end for#
@@ -534,46 +528,44 @@
</div>
#end if
-<div class="yui-gc">
- <div class="yui-u first">
- <form onsubmit="return false">
- <p>Search ${modulename}:
- <div id="propertysearch">
- <input autocomplete="off" id="searchinput" />
- <div id="searchresults">
- &nbsp;
+ <div class="yui-gc">
+ <div class="yui-u first">
+
+ #if $classnames
+ <p>This module contains the following classes:</p>
+ <script>
+ //var YUI_CLASS_LIST = $classList;
+ </script>
+ <div id="splash_classList">
+ <ul>
+ #set $counter = 0
+ #for $classNames in $classList_raw
+ <li><a href="${classNames.name}.html" title="$classNames.name" id="class_${counter}">$classNames.guessedname</a></li>
+ #set $counter = $counter + 1
+ #end for
+ </ul>
</div>
- </div>
- </form>
- <script type="text/javascript">
- ALL_YUI_PROPS = $allprops;
- </script>
- </div>
- <div class="yui-u">
- #set count = 0;
- #for $info in $submodules
- #set count = count + 1
- #end for
- #if count != 0
- <style>
- .submodules dd {
- font-size: 93%;
- font-weight: italic;
- }
- </style>
- <div class="submodules">
- <h4>Submodules:</h4>
- <dl>
- #for $info in $submodules
- <dt><code><a href="${$subdata[$info].name}.html">$info</a></code></dt>
- <dd>$subdata[$info].description</dd>
- #end for
- </dl>
+ #end if
</div>
- #end if
+ <div class="yui-u">
+ #set count = 0;
+ #for $info in $submodules
+ #set count = count + 1
+ #end for
+ #if count != 0
+ <div class="submodules">
+ <h4>Submodules:</h4>
+ <dl>
+ #for $info in $submodules
+ <dt><code><a href="${$subdata[$info].name}.html" title="$info">$info</a></code></dt>
+ <dd>$subdata[$info].description</dd>
+ #end for
+ </dl>
+ </div>
+ #end if
- </div>
-</div>
+ </div>
+ </div>
#end if
</div>
@@ -582,7 +574,7 @@
<div class="nav">
#if $modulenames
- <div class="module">
+ <div id="moduleList" class="module">
<h4>Modules</h4>
<ul class="content">
#for $moduledef in $modulenames
@@ -590,15 +582,14 @@
#if $moduledef == $modulename
#set $css = "selected"
#end if
-
- <li class="$css"><a href="module_${moduledef}.html">$moduledef</a></li>
+ <li class="$css"><a href="module_${moduledef}.html" title="$moduledef">$moduledef</a></li>
#end for
</ul>
</div>
#end if
#if $classnames
- <div class="module">
+ <div id="classList" class="module">
<h4>Classes</h4>
<ul class="content">
#for $classdef in $classnames
@@ -606,14 +597,14 @@
#if $classdef == $classname
#set $css = "selected"
#end if
- <li class="$css"><a href="${classdef}.html">$classdef</a></li>
+ <li class="$css"><a href="${classdef}.html" title="$classdef">$classdef</a></li>
#end for
</ul>
</div>
#end if
#if $filenames
- <div class="module">
+ <div id="fileList" class="module">
<h4>Files</h4>
<ul class="content">
#for $filedef in $filenames
@@ -621,59 +612,51 @@
#if $filedef == $filename
#set $css = "selected"
#end if
- <li class="$css"><a href="${filedef}.html">$filedef</a></li>
+ <li class="$css"><a href="${filedef}.html" title="$filedef">$filedef</a></li>
#end for
</ul>
</div>
#end if
#if $properties
- <div class="module">
+ <div id="propertyList" class="module">
<h4>Properties</h4>
<ul class="content">
#for $prop in $properties
- <li class="${prop.access}#if $prop.deprecated# deprecated#end if#"><a href="#property_${prop.name}">$prop.name</a>
- <!--<code>&lt;$property.type&gt;</code>-->
- </li>
+ <li class="${prop.access}#if $prop.deprecated# deprecated#end if#"><a href="#property_${prop.name}" title="$prop.name">$prop.name</a></li>
#end for
</ul>
</div>
#end if
#if $methods
- <div class="module">
+ <div id="methodsList" class="module">
<h4>Methods</h4>
<ul class="content">
#for $method in $methods
- <li class="${method.access}#if $method.deprecated# deprecated#end if#"><!--<code>$method.return.type</code>-->
- <a href="#method_${method.name}">$method.name</a>
- </li>
+ <li class="${method.access}#if $method.deprecated# deprecated#end if#"><a href="#method_${method.name}" title="$method.name">$method.name</a></li>
#end for
</ul>
</div>
#end if
#if $events
- <div class="module">
+ <div id="eventsList" class="module">
<h4>Events</h4>
<ul class="content">
#for $event in $events
- <li class="${event.access}#if $event.deprecated# deprecated#end if#">
- <a href="#event_${event.name}">$event.name</a>
- </li>
+ <li class="${event.access}#if $event.deprecated# deprecated#end if#"><a href="#event_${event.name}" title="$event.name">$event.name</a></li>
#end for
</ul>
</div>
#end if
#if $configs
- <div class="module">
+ <div id="configList" class="module">
<h4>Configuration Attributes</h4>
<ul class="content">
#for $config in $configs
- <li class="${config.access}#if $config.deprecated# deprecated#end if#">
- <a href="#config_${config.name}">$config.name</a>
- </li>
+ <li class="${config.access}#if $config.deprecated# deprecated#end if#"><a href="#config_${config.name}" title="$config.name">$config.name</a></li>
#end for
</ul>
</div>
@@ -687,6 +670,9 @@
Copyright &copy; $year Yahoo! Inc. All rights reserved.
</div>
</div>
+<script type="text/javascript">
+ ALL_YUI_PROPS = $allprops;
+</script>
#if $ydn
<!--MyBlogLog instrumentation-->
<script type="text/javascript"
Please sign in to comment.
Something went wrong with that request. Please try again.