mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-26 09:24:07 +00:00
feature(help) show: add cssSet, list-style-type
This commit is contained in:
parent
d653744000
commit
f52f122a6b
1 changed files with 13 additions and 1 deletions
|
|
@ -23,6 +23,18 @@ var CloudCmd, Util, DOM;
|
|||
|
||||
this.show = function(){
|
||||
Images.showLoad({top:true});
|
||||
DOM.cssSet({
|
||||
id : 'help-css',
|
||||
inner : '#help {' +
|
||||
'white-space' + ': normal;' +
|
||||
'margin' + ': 25px;' +
|
||||
'}' +
|
||||
|
||||
'#help li {' +
|
||||
'list-style-type' + ': disc;' +
|
||||
'}'
|
||||
});
|
||||
|
||||
DOM.ajax({
|
||||
url: '/HELP.md',
|
||||
success: function (pData){
|
||||
|
|
@ -34,7 +46,7 @@ var CloudCmd, Util, DOM;
|
|||
success:function(pResult){
|
||||
var lDiv = DOM.anyload({
|
||||
name : 'div',
|
||||
style : 'white-space: normal; margin: 25px',
|
||||
id : 'help',
|
||||
inner : pResult.toString()
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue