더 이상 고민하지 말고 먼저 렌더링을 보여드리겠습니다.
다음은 jq를 사용하여 온라인에서 ppt를 만들기 위한 html 코드입니다.
<div id="topbar" class="navbar navbar-fixed-top"> <div class="navbar-inner"> <a class="brand" href="#">H5Slides</a> <ul class="nav" id="title-label-wrapper" data-bind="visible: !editingTitle()"> <li><a href="#" id="label-title" data-bind="text: titleDisplay, click: editTitle"></a></li> </ul> <form class="navbar-form pull-left" id="title-editor-wrapper" data-bind="visible: editingTitle" onsubmit="return false;"> <input type="text" class="span2" id="input-title" placeholder="Input Title here..." data-bind="value: title, hasfocus: editingTitle"> </form> <ul class="nav pull-right"> <li><a href="#theme-manager" data-toggle="modal"><i class="icon-briefcase"></i> Themes</a></li> <li><a href="#reset-confirm" data-toggle="modal"><i class="icon-repeat"></i> Reset</a></li> <li> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="icon-play"></i> Preview <b class="caret"></b> </a> <ul class="dropdown-menu pull-right"> <li><a href="#" id="preview-btn">From start</a></li> <li><a href="#" id="preview-current-btn">From current page</a></li> </ul> </li> <!-- <li><a href="#" id="publish-btn"><i class="icon-ok"></i> Publish</a></li> --> <!-- <li><a href="#" id="remove-btn"><i class="icon-remove"></i> Remove</a></li> --> </ul> </div> </div>