Skip to content

Commit

Permalink
Cosmetic changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Gorbatchev committed Dec 29, 2011
1 parent 489129c commit 35c5fcd
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 18 deletions.
2 changes: 1 addition & 1 deletion source/_includes/live_demo.html
Expand Up @@ -10,7 +10,7 @@ <h4>Live Demo</h4>
<h4>Form Content</h4>

<p class="hint">This is the data that will be submitted with HTML form.</p>
<pre class="output"></pre>
<pre id="output" class="output"></pre>

<script>
(function()
Expand Down
21 changes: 9 additions & 12 deletions source/css/main.less
Expand Up @@ -32,21 +32,10 @@ nav {
}

#demo {
textarea { width: 450px; }
input, textarea { width: 450px; }
margin-bottom: 10px;
}

#content {
h2, h3 {
background : url(/images/025.png) 0 50% no-repeat;
text-indent : 30px;
}

h2 {
background-image : url(/images/026.png);
}
}

#textarea {
width : 400px;
}
Expand All @@ -63,3 +52,11 @@ nav {
z-index : 100000;
background : none !important;
}

.homepage {
pre {
text-overflow : ellipsis;
overflow : hidden;
white-space : pre;
}
}
4 changes: 2 additions & 2 deletions source/index.html
Expand Up @@ -14,14 +14,14 @@ <h1>TextExt Plugin for jQuery</h1>
</div>
</div>

<div id="content" class="container">
<div id="content" class="container homepage">
<div class="row">
<div id="left" class="span8 columns"></div>
<div id="right" class="span8 columns">
<h2>Demo</h2>
<p>This demo shows off Tags, Prompt, Focus, Autocomplete and Ajax plugins.</p>
<div id="demo">
<textarea rows="1"></textarea>
<input id="textarea" type="text"/>
</div>
<p>You can see the code for this demo below in the example section.</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions source/js/home.js
Expand Up @@ -32,8 +32,8 @@
move(3, left); // how to use
move(2, right); // example

$('#demo textarea').textext({
plugins : 'tags prompt focus autocomplete ajax',
$('#textarea').textext({
plugins : 'tags prompt focus autocomplete ajax arrow',
tagsItems : [ 'jquery', 'plugin', 'tags', 'autocomplete' ],
prompt : 'Add one...',
ajax : {
Expand Down
4 changes: 3 additions & 1 deletion source/manual/examples/autocomplete-with-custom-render.html
Expand Up @@ -37,7 +37,9 @@
;

return '<div style="background-image:url(/images/render-demo/' +
icon + '.png)">' + suggestion + '<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit...</p></div>';
icon + '.png)">' + suggestion +
'<p>Lorem ipsum dolor sit amet, consectetur adipisicing ' +
'elit...</p></div>';
}
}
})
Expand Down

0 comments on commit 35c5fcd

Please sign in to comment.