link rel uu.wodemo.net

2021-03-17 04:49:26 -0400

css link 网站模板 看不懂

CSS源代码 网站模板看不懂

javascript网站模板 看不懂

";return d},getHtmlHelp:function(c){var b="",a="wo-compose-text-help-button-"+this.index;b+=' ';b+=' +help ";b+='
';b+="

Markdown Examples

";b+="[link title](http://example.com)

## Header 2
### Header 3
#### Header 4
##### Header 5
###### Header 6

- List item 1
- List item 2
- List item 3

1. Ordered list item 1
2. Ordered list item 2
3. Ordered list item 3

```
Code
Code
```

This is a ~~strike~~ word.

This is an __important__ word.


- [ ] A todo task.
- [x] A done task.

> Quote
> Quote
> Quote

First Column | Second Column
---------------- | ---------------
Content Row | Content Row
Content Row | Content Row

<p style="color:red">HTML works here too</p>

";b+="

Macros

";b+="{WO.ENTRY.FILES.N.URL} - The URL for Nth file
----- For example {WO.ENTRY.FILES.1.URL}
";b+="{WO.ENTRY.FILES.N.NAME} - The file name for Nth file
";b+="{WO.ENTRY.FILES.N.EXT} - The file extension for Nth file
";b+="

";b+="
";return b},getHtmlFile:function(h,d){var b=WoLang,e="",a="",j="";b.setGroup("compose");e+='';var f=this.types.length,g,k;e+='";e+="";e+='';if(d){a=d.filename;j=d.fileext;e+=''}else{e+='
'}if(!a){a=""}if(!j){j=""}e+=b._("filename")+' . '+this.getHtmlSectionOp()+"";e+="";return e},getHtmlSectionOp:function(){var a=WoLang;a.setGroup("compose");return''+a._("up")+' '+a._("down")+' '+a._("remove")+" "},addHandlers:function(){var a=this;WoDom.eachClass("section",function(b){WoDom.eachClass("up",a.handleUp,b);WoDom.eachClass("down",a.handleDown,b);WoDom.eachClass("remove",a.handleRemove,b);WoDom.eachClass("wo-compose-text-options",function(c){a.handleHelp(c,a)},b)},this.sectionContainer)},handleHelp:function(b,c){var a=WoLang;a.setGroup("compose");WoDom.removeEvents(b,"change");WoDom.addEvent(b,"change",function(){var f=b.nextSibling,d,e;var g=b.options[b.selectedIndex].getAttribute("value");if(f.nodeName!="span"){f=f.nextSibling}d="inline-block";e=$(f);e.css("display",d)})},handleRemove:function(b){var a=WoLang;a.setGroup("compose");WoDom.removeEvents(b,"click");WoDom.addEvent(b,"click",function(){if(window.confirm(a._("You really want to remove?"))){WoCompose.sectionContainer.removeChild(b.parentNode.parentNode.parentNode)}})},handleDown:function(a){WoDom.removeEvents(a,"click");WoDom.addEvent(a,"click",function(){var c=a.parentNode.parentNode.parentNode;var b=c.nextSibling;if(!b||b.nodeName.toLowerCase()!="tr"){return}WoCompose.handleMove(b,c)})},handleUp:function(a){WoDom.removeEvents(a,"click");WoDom.addEvent(a,"click",function(){var c=a.parentNode.parentNode.parentNode;var b=c.previousSibling;if(!b||b.nodeName.toLowerCase()!="tr"){return}WoCompose.handleMove(c,b)})},handleMove:function(b,a){WoCompose.sectionContainer.insertBefore(b,a);WoDom.eachTagName("input",function(c){if(c.getAttribute("name").indexOf("order__")===0){input_value=parseInt(c.getAttribute("value"));c.setAttribute("value",input_value+1)}},a);WoDom.eachTagName("input",function(c){if(c.getAttribute("name").indexOf("order__")===0){input_value=parseInt(c.getAttribute("value"));c.setAttribute("value",input_value-1)}},b)},generateUrlMappingFromTitle:function(){try{var a=$(".compose-title").val();a=a.toLocaleLowerCase().replace(/^[^0-9a-z]+/,"").replace(/[^0-9a-z]+$/,"").replace(/[^0-9a-z]/g,"-").replace(/-{2,}/g,"-");if(a.length==""){alert("There is no 0-9 and a-z in the title")}else{$(".wo-compose-url-input").val("/"+a)}}catch(b){alert(b);alert("Failed to generate")}}};WoUtil={escapeHtml:function(a){return a.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/>/g,">").replace(/=0){kQuery(".wo-n-count-block").css("display","inline");kQuery(".wo-n-count-num").html(WoUser.notificationCount)}}};WoTemplateEditor={customTemplates:{},defaultTemplates:{},setTemplateName:function(a){this.name=a},setCustomTemplate:function(a){this.customTemplates[this.name]=a},setDefaultTemplate:function(a){this.defaultTemplates[this.name]=a},onTypeChange:function(d,b){this.setTemplateName(b);var c=kQuery("select[name="+b+"_template_type]").val();var a="textarea[name="+b+"_template_contents]";if(c=="default"){if(typeof d=="undefined"||d==""){WoTemplateEditor.setCustomTemplate(kQuery(a).val())}kQuery(a).val(WoTemplateEditor.defaultTemplates[b]);kQuery(a).attr("disabled","disabled");kQuery(a).css("color","gray")}else{kQuery(a).val(WoTemplateEditor.customTemplates[b]);kQuery(a).attr("disabled",false);kQuery(a).css("color","black")}}};

看不懂 json代码

«Newer      Older»

Back to home

Subscribe | Register | Login | N