tidying up example markup and ensuring links point somewhere useful
parent
9386481f21
commit
17b5cdfea3
|
@ -22,9 +22,9 @@
|
||||||
$('#list-html').toggle('fast', function(){
|
$('#list-html').toggle('fast', function(){
|
||||||
if($(this).is(':visible')){
|
if($(this).is(':visible')){
|
||||||
$('#show-list').text('Hide underlying list.');
|
$('#show-list').text('Hide underlying list.');
|
||||||
$(".topbar").fadeTo('fast',0.7);
|
$(".topbar").fadeTo('fast',0.9);
|
||||||
}else{
|
}else{
|
||||||
$('#show-list').text('View underlying list.');
|
$('#show-list').text('Show underlying list.');
|
||||||
$(".topbar").fadeTo('fast',1);
|
$(".topbar").fadeTo('fast',1);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -39,12 +39,12 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a class="brand" href="#">jQuery Organisation Chart</a>
|
<a class="brand" href="#">jQuery Organisation Chart</a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li><a href="#">Github</a></li>
|
<li><a href="http://github.com/wesnolte">Github</a></li>
|
||||||
<li><a href="#">Twitter</a></li>
|
<li><a href="http://twitter.com/wesnolte">Twitter</a></li>
|
||||||
<li><a href="#">Blog</a></li>
|
<li><a href="http://th3silverlining.com">Blog</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
<div class="alert-message info" id="show-list">View underlying list.</div>
|
<div class="alert-message info" id="show-list">Show underlying list.</div>
|
||||||
|
|
||||||
<pre class="prettyprint lang-html" id="list-html" style="display:none"><ul id="org">
|
<pre class="prettyprint lang-html" id="list-html" style="display:none"><ul id="org">
|
||||||
<li>
|
<li>
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
<li>Vegetables
|
<li>Vegetables
|
||||||
<ul>
|
<ul>
|
||||||
<li>Pumpkin</li>
|
<li>Pumpkin</li>
|
||||||
<li>Aubergine</li>
|
<li><a href="http://tquila.com" target="_blank">Aubergine</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>Fruit
|
<li>Fruit
|
||||||
|
|
Loading…
Reference in New Issue