Commit da894426 authored by Simon Daron's avatar Simon Daron
Browse files

Quicker tab

parent 247aab0d
......@@ -11,7 +11,7 @@ $(function() {
// switch this tab on
$(this).addClass("active");
// slide all elements with the class 'content' up
self.find(".content").fadeOut();
self.find(".content").hide();
//alert($(this).attr("href"));
// Now figure out what the 'title' attribute value is and find the element with that id. Then slide that down.
$($(this).attr("href")).fadeIn();
......
......@@ -33,9 +33,9 @@
</div>
<hr />
<div class="wrapper">
<ul class="small news columns padded">
<ul class="news columns padded">
{% for NewsItem in news %}
<li class="item ellipsis">{% include "news/link.html" with content=NewsItem %}</li>
<li class="item ellipsis small ">{% include "news/link.html" with content=NewsItem %}</li>
{% endfor %}
</ul>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment