diff --git a/App/Views/blog/1.html b/App/Views/blog/1.html deleted file mode 100644 index dc1c847..0000000 --- a/App/Views/blog/1.html +++ /dev/null @@ -1,3 +0,0 @@ - -
"sdasssdfasdfasdf"
> -
"sdasssdfasdfasdf"
> \ No newline at end of file diff --git a/App/Views/blog/basic.html b/App/Views/blog/basic.html index 93aedff..a718330 100644 --- a/App/Views/blog/basic.html +++ b/App/Views/blog/basic.html @@ -6,9 +6,13 @@ + + + + @@ -163,7 +167,16 @@ ul li a{
  • 数据聚合
  • 赞助
  • 本博客说明
  • -
  • 文章搜索:
  • +
  • +
    + + +
    +
  • diff --git a/App/Views/blog/css/jquery-editable-select.css b/App/Views/blog/css/jquery-editable-select.css new file mode 100644 index 0000000..038ddc6 --- /dev/null +++ b/App/Views/blog/css/jquery-editable-select.css @@ -0,0 +1,16 @@ +/** + * jQuery Editable Select + * Indri Muska + * + * Source on GitHub @ https://github.com/indrimuska/jquery-editable-select + */ + +input.es-input { padding-right: 20px !important; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAICAYAAADJEc7MAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAG2YAABzjgAA4DIAAIM2AAB5CAAAxgwAADT6AAAgbL5TJ5gAAABGSURBVHjaYvz//z8DOYCJgUzA0tnZidPK8vJyRpw24pLEpwnuVHRFhDQxMDAwMPz//x+OOzo6/iPz8WFGuocqAAAA//8DAD/sORHYg7kaAAAAAElFTkSuQmCC) right center no-repeat; } +input.es-input.open { + -webkit-border-bottom-left-radius: 0; -moz-border-radius-bottomleft: 0; border-bottom-left-radius: 0; + -webkit-border-bottom-right-radius: 0; -moz-border-radius-bottomright: 0; border-bottom-right-radius: 0; } +.es-list { position: absolute; padding: 0; margin: 0; border: 1px solid #d1d1d1; display: none; z-index: 1000; background: #fff; max-height: 160px; overflow-y: auto; + -moz-box-shadow: 0 2px 3px #ccc; -webkit-box-shadow: 0 2px 3px #ccc; box-shadow: 0 2px 3px #ccc; } +.es-list li { display: block; padding: 5px 10px; margin: 0; } +.es-list li.selected { background: #f3f3f3; } +.es-list li[disabled] { opacity: .5; } \ No newline at end of file diff --git a/App/Views/blog/js/jquery-editable-select.js b/App/Views/blog/js/jquery-editable-select.js new file mode 100644 index 0000000..5ac024a --- /dev/null +++ b/App/Views/blog/js/jquery-editable-select.js @@ -0,0 +1,236 @@ +/** + * jQuery Editable Select + * Indri Muska + * + * Source on GitHub @ https://github.com/indrimuska/jquery-editable-select + */ + ++(function ($) { + // jQuery Editable Select + EditableSelect = function (select, options) { + var that = this; + + this.options = options; + this.$select = $(select); + this.$input = $(''); + this.$list = $('