Skip to content
Snippets Groups Projects
Commit df4b54b1 authored by Matthew Juhl's avatar Matthew Juhl
Browse files

Fixed javascript errors. More JS cleanup to come.

parent 0c19eaf2
Branches
No related tags found
No related merge requests found
...@@ -122,6 +122,7 @@ function posterFader(){ ...@@ -122,6 +122,7 @@ function posterFader(){
}}; }};
function select(node,selected) { function select(node,selected) {
console.log("node: " + node + " & selected: " + selected);
loopswitch = 0; loopswitch = 0;
window.clearTimeout(looptime); window.clearTimeout(looptime);
var postergroup = document.getElementById('posters'); var postergroup = document.getElementById('posters');
...@@ -284,7 +285,7 @@ jQuery(document).ready(function() { ...@@ -284,7 +285,7 @@ jQuery(document).ready(function() {
</a> </a>
</li> </li>
<li class=""><a href="#" onclick="javascript:select(this,'splasstrong');return false;"><strong>Join the Network</strong><span>All University of Nebraska-Lincoln alums are encouraged to be part of the conversation. It's alums like you that are the <strong>Power of Red</strong></span></a></li> <li class=""><a href="#" onclick="javascript:select(this,'splash2');return false;"><strong>Join the Network</strong><span>All University of Nebraska-Lincoln alums are encouraged to be part of the conversation. It's alums like you that are the <strong>Power of Red</strong></span></a></li>
<li class=""><a href="#" onclick="javascript:select(this,'splash3');return false;"><strong>National TV Spot</strong><span>Check out the commercial, created by Chris Evan, a Class of '00 Alum, that is played during every televised Husker sporting event.</span></a></li> <li class=""><a href="#" onclick="javascript:select(this,'splash3');return false;"><strong>National TV Spot</strong><span>Check out the commercial, created by Chris Evan, a Class of '00 Alum, that is played during every televised Husker sporting event.</span></a></li>
</ul> </ul>
<div id="posters"> <div id="posters">
...@@ -299,13 +300,6 @@ jQuery(document).ready(function() { ...@@ -299,13 +300,6 @@ jQuery(document).ready(function() {
<object data="http://www.youtube.com/v/-omonwFkkrY%26hl=en%26fs=1%26color1=0x3a3a3a%26color2=0x999999%26enablejsapi=1%26playerapiid=video1" wmode="transparent" id="video1" type="application/x-shockwave-flash" height="340" width="640"><param value="always" name="allowScriptAccess"></object> <object data="http://www.youtube.com/v/-omonwFkkrY%26hl=en%26fs=1%26color1=0x3a3a3a%26color2=0x999999%26enablejsapi=1%26playerapiid=video1" wmode="transparent" id="video1" type="application/x-shockwave-flash" height="340" width="640"><param value="always" name="allowScriptAccess"></object>
<!-- Note that the JavaScript below says that you need Flash 9 or better! -->
<script type="text/javascript">
var params = {allowScriptAccess: "always"};
var attrs = {id: "video1", wmode: "transparent"}
swfobject.embedSWF("http://www.youtube.com/v/-omonwFkkrY%26hl=en%26fs=1%26color1=0x3a3a3a%26color2=0x999999%26enablejsapi=1%26playerapiid=video1", "videobox1", "640", "340", "9", null, null, params, attrs);
</script>
</div> </div>
</div> </div>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment