From df4b54b1c3e485e397395bbdd63c7c3f33a4d246 Mon Sep 17 00:00:00 2001 From: Matthew Juhl <mjuhl24@gmail.com> Date: Fri, 17 Jul 2009 19:35:48 +0000 Subject: [PATCH] Fixed javascript errors. More JS cleanup to come. --- landing/index.shtml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/landing/index.shtml b/landing/index.shtml index 680ff1cc..53f4c532 100644 --- a/landing/index.shtml +++ b/landing/index.shtml @@ -122,6 +122,7 @@ function posterFader(){ }}; function select(node,selected) { + console.log("node: " + node + " & selected: " + selected); loopswitch = 0; window.clearTimeout(looptime); var postergroup = document.getElementById('posters'); @@ -284,7 +285,7 @@ jQuery(document).ready(function() { </a> </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> </ul> <div id="posters"> @@ -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> - <!-- 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> -- GitLab