Skip to content
Snippets Groups Projects
Commit b686f263 authored by Seth Meranda's avatar Seth Meranda
Browse files

Presentation updates.

parent 0c0447dd
Branches
No related tags found
No related merge requests found
......@@ -150,8 +150,9 @@ Big Ten Video Slide
color: #fff !important;
}
/* End styles for the Become a Husker Section */
#maincontent #wdn_Carousel {
margin-bottom:24px;
}
/*news headlines*/
......@@ -161,57 +162,33 @@ Big Ten Video Slide
#maincontent #news_headlines ul li a {padding-bottom:0px;margin-bottom:-10px;}
#maincontent #news_headlines ul li span {font-size:0.8em;padding-top:0px;}
/* Huskers Schedule Box
------------------------------*/
#huskers_schedule_wrapper {
position:relative;
margin-bottom: 20px;
margin-top:40px;
border:1px solid #600C0E;
-webkit-border-radius:3px;
-moz-border-radius:3px;
border-radius:3px;
}
#huskers_schedule_wrapper_inner {
border:1px solid #c40013;
padding:5px;
background:#A40000;
color:#fff;
-webkit-border-radius:3px;
-moz-border-radius:3px;
border-radius:3px;
}
#huskers_n {
background:url('images/huskers.png') no-repeat center top;
width:100%;
height:71px;
position: absolute;
top: -51px;
left: 0px;
#maincontent #newsItems {
}
#maincontent #huskers_schedule_wrapper a {
color: #fff;
text-decoration:underline;
}
#maincontent #huskers_events {
position: relative;
list-style: none outside none;
padding: 20px 0 20px;
color:#fff;
#maincontent #newsItems h3, #maincontent #socialFeeds h3 {
font-weight:bold;
text-transform:uppercase;
background:#F2EDDE;
line-height:1;
padding:0.5em;
color:#655F3C;
text-shadow: 0 1px 0 #FFF;
}
#maincontent #huskers_events li {
border-bottom:1px dashed #a0a0a0;
padding: 5px 0;
#maincontent #newsList {
padding:0;
list-style-type:none;
margin:5px;
}
#maincontent #huskers_events p {
margin:0 0 0 10px;
#maincontent #newsList li {
border-bottom:1px solid #F2EDDE;
padding:0.5em 0.2em;
}
#maincontent #huskers_events p a img {
display:none;
#maincontent #newsList li a {
color:#12516e;
font-weight:bold;
text-size:1.3em;
}
/*Go Big Red Specific*/
#maincontent ul#socialOutposts {
list-style-image:none;
......
......
......@@ -145,8 +145,9 @@
</ul>
</div>
<div class="grid3">
<ul class="wdn_tabs" style="width:220px;margin-bottom:6px;">
<div class="grid3" id="socialFeeds">
<h3>Social</h3>
<ul class="wdn_tabs">
<li><a href="#facebook">Facebook</a></li>
<li><a href="#twitter">Twitter</a></li>
</ul>
......@@ -172,16 +173,8 @@
</div>
<div class="grid6">
<div id="huskers_schedule_wrapper">
<div id="huskers_schedule_wrapper_inner">
<span id="huskers_n"></span>
<div id="huskers_schedule"></div>
<p style="text-align:right"><em><a href="http://www.huskers.com/" class="external">Huskers.com</a></em></p>
<script src="http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20rss%20where%20url%3D'http%3A%2F%2Fpipes.yahoo.com%2Fpipes%2Fpipe.run%3F_id%3D67df958f5c60c5217e7c28fb3b4556ff%26_render%3Drss'&format=json&diagnostics=true&callback=showHuskersSchedule" type="text/javascript"></script>
</div>
</div>
<div class="grid6" id="newsItems">
<script src="http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20rss%20where%20url%3D'http%3A%2F%2Fpipes.yahoo.com%2Fpipes%2Fpipe.run%3F_id%3D67df958f5c60c5217e7c28fb3b4556ff%26_render%3Drss'&format=json&diagnostics=true&callback=buildNews" type="text/javascript"></script>
</div>
......
......
......@@ -94,17 +94,6 @@ WDN.jQuery(function(){
}
});
});
WDN.jQuery('.wdn_carousel').serialScroll({
target : '.currentScroller',
items : '.scrollerItems > li',
duration : 700,
prev:'.sliderControl.left a',
next:'.sliderControl.right a',
start: sliderStart,
interval : 10000,
force : true,
stop : true
}).click(function(){WDN.jQuery('.currentScroller').trigger('stop');});
});
function formatBlogDate(theDate) {
......@@ -125,9 +114,14 @@ function showBlogPosts(data) {
}
}
function showHuskersSchedule(data) {
WDN.jQuery('#huskers_schedule').html('<ul id="huskers_events"></ul><div class="clear"></div>');
for (var i=0; i<3; i++) {
WDN.jQuery("ul#huskers_events").append("<li><a href='"+data.query.results.item[i].link+"'>"+data.query.results.item[i].title+"</a><br /><span>"+data.query.results.item[i].description+"</span></li>");
function buildNews(data) {
WDN.jQuery('#newsItems').html('<h3>News from Nebraska</h3><ul id="newsList"></ul>');
for (var i=0; i<7; i++) {
newsItem = "<li>"
+ "<a href='"+data.query.results.item[i].link+"'>"
+data.query.results.item[i].title
+ "</a>";
newsItem = newsItem + "</li>";
WDN.jQuery("ul#newsList").append(newsItem);
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment