diff --git a/customindex/map-pin-1.png b/customindex/map-pin-1.png deleted file mode 100644 index eb979b067bc784a5a792c9e6bec0810350777195..0000000000000000000000000000000000000000 Binary files a/customindex/map-pin-1.png and /dev/null differ diff --git a/customindex/map-pin-10.png b/customindex/map-pin-10.png deleted file mode 100644 index ac7172bc0555be17a7f79c40f97a7588b9ffaa72..0000000000000000000000000000000000000000 Binary files a/customindex/map-pin-10.png and /dev/null differ diff --git a/customindex/map-pin-11.png b/customindex/map-pin-11.png deleted file mode 100644 index 7cd6cbca9930b4246566f75efc3b03d83a63ac8c..0000000000000000000000000000000000000000 Binary files a/customindex/map-pin-11.png and /dev/null differ diff --git a/customindex/map-pin-2.png b/customindex/map-pin-2.png deleted file mode 100644 index eb979b067bc784a5a792c9e6bec0810350777195..0000000000000000000000000000000000000000 Binary files a/customindex/map-pin-2.png and /dev/null differ diff --git a/customindex/map-pin-3.png b/customindex/map-pin-3.png deleted file mode 100644 index 1b7490e26317c79b7ad7891c1838e91cc401cd81..0000000000000000000000000000000000000000 Binary files a/customindex/map-pin-3.png and /dev/null differ diff --git a/customindex/map-pin-4.png b/customindex/map-pin-4.png deleted file mode 100644 index 3b313bcb0d16487b88e9a6c259d80d0177360f6d..0000000000000000000000000000000000000000 Binary files a/customindex/map-pin-4.png and /dev/null differ diff --git a/customindex/map-pin-5.png b/customindex/map-pin-5.png deleted file mode 100644 index 3b313bcb0d16487b88e9a6c259d80d0177360f6d..0000000000000000000000000000000000000000 Binary files a/customindex/map-pin-5.png and /dev/null differ diff --git a/customindex/map-pin-6.png b/customindex/map-pin-6.png deleted file mode 100644 index b8e716ff0fc1754048d86556f11281549eac14af..0000000000000000000000000000000000000000 Binary files a/customindex/map-pin-6.png and /dev/null differ diff --git a/customindex/map-pin-7.png b/customindex/map-pin-7.png deleted file mode 100644 index cfc7005416a9a0c700c5c961382868a7513d0586..0000000000000000000000000000000000000000 Binary files a/customindex/map-pin-7.png and /dev/null differ diff --git a/customindex/map-pin-8.png b/customindex/map-pin-8.png deleted file mode 100644 index d47e0b4a6bcac14d1bb68807228b028fa824fe64..0000000000000000000000000000000000000000 Binary files a/customindex/map-pin-8.png and /dev/null differ diff --git a/customindex/map-pin-9.png b/customindex/map-pin-9.png deleted file mode 100644 index 6dbd3f166a46c14aef9e04e3a4c1e09e78faecda..0000000000000000000000000000000000000000 Binary files a/customindex/map-pin-9.png and /dev/null differ diff --git a/customindex/views/default/customindex/content.php b/customindex/views/default/customindex/content.php index fc235c0aa264f9de4e9fa5b2be821b8cb2ee7920..485bf889566e2f62002dbadf441ab3ddd8e28331 100644 --- a/customindex/views/default/customindex/content.php +++ b/customindex/views/default/customindex/content.php @@ -19,6 +19,13 @@ ?> + +<link rel="stylesheet" href="<?php echo $CONFIG->url ?>mod/customindex/views/default/customindex/globesplash.css" type="text/css" /> +<script type="text/javascript">var config_url = "<?php echo $CONFIG->url ?>";</script> +<script type="text/javascript" src="http://globe.poly9.com/api.js"></script> +<script type="text/javascript" src="<?php echo $CONFIG->url ?>mod/customindex/witw_people.js"></script> +<script type="text/javascript" src="<?php echo $CONFIG->url ?>mod/customindex/views/default/customindex/globesplash.js"></script> + <!-- begin splash code from ucommcoleman/workspace/wdntempaltes/splash.shtml --> <div id="splashwrapper"> <div id="splash"> diff --git a/customindex/views/default/customindex/globesplash.css b/customindex/views/default/customindex/globesplash.css new file mode 100644 index 0000000000000000000000000000000000000000..2dc393a09f6e1b6f66f7b2b2c302d4a09141e753 --- /dev/null +++ b/customindex/views/default/customindex/globesplash.css @@ -0,0 +1,27 @@ +<style type="text/css"> +p.witw_location { + text-transform: capitalize; +} +</style> +<!--[if IE]> + <style type="text/css"> + #FE_InfoWindow { + margin:10px 0 0 15px !important; + } + #maincontent>ul.wdn_tabs { + width:920px; + } + form#searchform .search_submit_button { + font-size: 0px; + line-height: 0px; + } + </style> +<![endif]--> +<!--[if IE 8]> + <style type="text/css"> + #FE_InfoWindow { + margin:0 0 0 5px !important; + } + </style> +<![endif]--> + diff --git a/customindex/views/default/customindex/globesplash.js b/customindex/views/default/customindex/globesplash.js new file mode 100644 index 0000000000000000000000000000000000000000..b977cae20988a08a15ee4647a3fefb95a97fdfe5 --- /dev/null +++ b/customindex/views/default/customindex/globesplash.js @@ -0,0 +1,170 @@ + + function showLinks() { + WDN.jQuery("#promoVideoList").show(); + }; + + WDN.jQuery(window).load(function(){ + WDN.jQuery("#FE_InfoWindow").wrap("<div id='xxx'></div>"); + //WDN.jQuery("#promoVideoList").hide(); + }); + WDN.jQuery(document).ready(function(){ + WDN.jQuery("#headlines>div").click(function(){ + panelClicked = WDN.jQuery(this).attr("id").split('headline')[1]; + WDN.jQuery("#headlines>div").removeClass("activepanel"); + WDN.jQuery(this).addClass("activepanel"); + WDN.jQuery("#posters>div").hide(); + if(WDN.jQuery(this).attr("id") == "headline1"){ + WDN.jQuery("#poster"+panelClicked+"").show().css({'z-index':'99'}); + } else { + WDN.jQuery("#poster"+panelClicked+"").show().css({'z-index':'105'}); + } + if(WDN.jQuery(this).attr("id") == "headline1"){ + WDN.jQuery("#xxx").show(); + var pause = setTimeout('WDN.jQuery("#FE_InfoWindow").css({"z-index":"200"});',1000); + } else { + WDN.jQuery("#xxx").hide(); + WDN.jQuery("#FE_InfoWindow").css({'z-index':'0'}); + } + }); + //Controls for the video section + WDN.jQuery('#promoVideoList a').click(function() { + WDN.jQuery("#promoVideoList").hide(); + //unload the current swfObject + swfobject.removeSWF("promoVideo"); + //create a new div since it was removed + WDN.jQuery('#poster3').prepend("<div id='promoVideo'></div>"); + //run swfObject again with the new video + var flashvars = { + file: WDN.jQuery(this).attr("href"), + autostart: true, + skin: "http://www.unl.edu/ucomm/templatedependents/templatesharedcode/scripts/components/mediaplayer/UNLVideoSkin.swf" + }; + + swfobject.embedSWF("http://www.unl.edu/ucomm/templatedependents/templatesharedcode/scripts/components/mediaplayer/player.swf", "promoVideo", "640", "408", "10.0.0", false, flashvars, params, attributes, showLinks); + //WDN.jQuery('object#promoVideo param[name=flashvars]').attr({value: "allowfullscreen=true&quality=best&wmode=transparent&file="+WDN.jQuery(this).attr("href")+"&image=mod/customindex/videoStill.jpg&autostart=false&skin=http://www.unl.edu/ucomm/templatedependents/templatesharedcode/scripts/components/mediaplayer/UNLVideoSkin.swf"}); + //WDN.log("New video loaded"); + return false; + }); + }); + + + + + +<!-- begin poly9 globe js --> + + +var c=0; +var t; +var pinsonly=true; + +function startMap() { + //these are needed when the globe is turned off by clicking on another panel, then when it's restarted it begins here + pinsonly=true;c=0; + + //turn off the overlay + this.toggleDashboard(); + + letsdothisloop('0'); + pinsonly=false; + c = Math.floor(Math.random()*30); + var pauseforasec =setTimeout("letsdothisloop('5000');",1500); +}; + +function letsdothisloop(delay) { + if(c==0) displayNancyAndreasen(); + else if(c==1) displayAtorodAzizinamini(); + else if(c==2) displayClaudeMBoltonJr(); + else if(c==3) displayWarrenBuffett(); + else if(c==4) displayBingChen(); + else if(c==5) displayGranvilleCoggs(); + else if(c==6) displayDrLTreyColeman(); + else if(c==7) displayPamDingman(); + else if(c==8) displayChristopherElbow(); + else if(c==9) displayShaneFarritor(); + else if(c==10) displaySheriFritz(); + else if(c==11) displayRulonGardner(); + else if(c==12) displayDavidHarwood(); + else if(c==13) displayJohnHoerner(); + else if(c==14) displayMichaelHoff(); + else if(c==15) displayJohnJanovyJr(); + else if(c==16) displayJayKeasling(); + else if(c==17) displayScottKillinger(); + else if(c==18) displayNithalKuwa(); + else if(c==19) displayCindyMcCaffrey(); + else if(c==20) displayBetsyOBrien(); + else if(c==21) displayJuanitaPage(); + else if(c==22) displayLarkinPowell(); + else if(c==23) displayJeffreyRaikes(); + else if(c==24) displayBrettRatcliffe(); + else if(c==25) displayJorgeAlbertoRodriguez(); + else if(c==26) displayTedSorensen(); + else if(c==27) displayBobThacker(); + else if(c==28) displayKenVogel(); + else if(c==29) displayCharlesWood(); + else if(c==30) displayJohnYohe(); + else { + if(pinsonly) { + c=0; + return; + } + else + c=-1; + } + c=c+1; + if(pinsonly) + letsdothisloop(delay); + else + t=setTimeout("letsdothisloop("+delay+")",delay); +}; + +function openLocation(lng, lat, username, location, displayname, title, comment, linkname) { + if(!pinsonly) + clearTimeout(t); + var latlng = new FE.LatLng(lat,lng); + if(!pinsonly){ + setTimeout(function(){map1.panTo(latlng,1.5,"easeInOutQuad")}, 50); + map1.zoomTo(19505000,1.5,"easeInOutQuad"); + } + label = window.label = new FE.Pushpin(latlng,new FE.Icon(config_url+'mod/customindex/map-pin-12.png')); + //make pins clickable + if(pinsonly) + FE.Event.addListener(label, 'click', function() { openLocation(lng, lat, username, location, displayname, title, comment, linkname);}); + map1.addOverlay(label); + if(!pinsonly) + applylabel(latlng, location, title, comment, displayname, username, linkname); +}; + +function applylabel(latlng, location, title, comment, displayname, username, linkname) { + if(!linkname){ //these are the most recently joined users + if(comment != undefined && comment != "") + label.openInfoWindowHtml('<div id="witw_wrapper">'+ + '<a href="'+config_url+'pg/profile/' + username + '"><img class="witw_icon" src="'+config_url+'mod/profile/icondirect.php?username=' + username + '&size=medium" width="60" height="60" /></a><h1>' + displayname + '</h1>'+ + '<p class="witw_location">' + location + '</p><p class="witw_title">' + title + '</p>'+ + '<p class="witw_comment"><strong>Why here?</strong><br /><em>\"' + comment + '\"</em></p><p class="witw_comment" style="margin-top:-6px; padding-right: 12px; text-align:right;"><a href="'+config_url+'pg/profile/' + username + '">View Profile</a></p>'+ + '</div>', 256, 154); + else + label.openInfoWindowHtml('<div id="witw_wrapper">'+ + '<a href="'+config_url+'pg/profile/' + username + '"><img class="witw_icon" src="'+config_url+'mod/profile/icondirect.php?username=' + username + '&size=medium" width="60" height="60" /></a><h1>' + displayname + '</h1>' + + '<p class="witw_location">' + location + '</p><p class="witw_title">' + title + '</p>'+ + '<p class="witw_comment"></p><p class="witw_comment"><a href="'+config_url+'pg/profile/' + username + '">View Profile</a></p>'+ + '</div>', 256, 154); + } + else //these are the featured WITW Huskers (like Buffett, etc) + label.openInfoWindowHtml('<div id="witw_wrapper"><img class="witw_icon" src="'+config_url+'mod/customindex/witw_icons/' + linkname + '_medium.jpg" width="60" height="60" /><h1>' + displayname + '</h1><p class="witw_location">' + location + '</p><p class="witw_title">' + title + '</p><p class="witw_comment">' + comment + ' <a href="'+config_url+'featured/husker/' + linkname + '/">Continue Reading...</a></p></div>', 256, 154); +}; + +WDN.jQuery(document).ready(function() { + try{ + window.map1 = new FE.Map(document.getElementById("globeInner")); + map1.onLoad = startMap; + map1.load(); + }catch(e){} + + WDN.jQuery("#YourselfOnTheMap").qtip("show"); + +}); + + +<!-- end poly9 globe js --> + diff --git a/customindex/views/default/customindex/metatags.php b/customindex/views/default/customindex/metatags.php index 040faa1750663ba1cc63c0cc36b516aed4588aea..c3f4a5386f89e5dd48a9e2520759cf104b7c7652 100644 --- a/customindex/views/default/customindex/metatags.php +++ b/customindex/views/default/customindex/metatags.php @@ -16,203 +16,3 @@ ?> -<style type="text/css"> -p.witw_location { - text-transform: capitalize; -} -</style> -<!--[if IE]> - <style type="text/css"> - #FE_InfoWindow { - margin:10px 0 0 15px !important; - } - #maincontent>ul.wdn_tabs { - width:920px; - } - form#searchform .search_submit_button { - font-size: 0px; - line-height: 0px; - } - </style> -<![endif]--> -<!--[if IE 8]> - <style type="text/css"> - #FE_InfoWindow { - margin:0 0 0 5px !important; - } - </style> -<![endif]--> - - - -<script type="text/javascript"> - function showLinks() { - WDN.jQuery("#promoVideoList").show(); - }; - - WDN.jQuery(window).load(function(){ - WDN.jQuery("#FE_InfoWindow").wrap("<div id='xxx'></div>"); - //WDN.jQuery("#promoVideoList").hide(); - }); - WDN.jQuery(document).ready(function(){ - WDN.jQuery("#headlines>div").click(function(){ - panelClicked = WDN.jQuery(this).attr("id").split('headline')[1]; - WDN.jQuery("#headlines>div").removeClass("activepanel"); - WDN.jQuery(this).addClass("activepanel"); - WDN.jQuery("#posters>div").hide(); - if(WDN.jQuery(this).attr("id") == "headline1"){ - WDN.jQuery("#poster"+panelClicked+"").show().css({'z-index':'99'}); - } else { - WDN.jQuery("#poster"+panelClicked+"").show().css({'z-index':'105'}); - } - if(WDN.jQuery(this).attr("id") == "headline1"){ - WDN.jQuery("#xxx").show(); - var pause = setTimeout('WDN.jQuery("#FE_InfoWindow").css({"z-index":"200"});',1000); - } else { - WDN.jQuery("#xxx").hide(); - WDN.jQuery("#FE_InfoWindow").css({'z-index':'0'}); - } - }); - //Controls for the video section - WDN.jQuery('#promoVideoList a').click(function() { - WDN.jQuery("#promoVideoList").hide(); - //unload the current swfObject - swfobject.removeSWF("promoVideo"); - //create a new div since it was removed - WDN.jQuery('#poster3').prepend("<div id='promoVideo'></div>"); - //run swfObject again with the new video - var flashvars = { - file: WDN.jQuery(this).attr("href"), - autostart: true, - skin: "http://www.unl.edu/ucomm/templatedependents/templatesharedcode/scripts/components/mediaplayer/UNLVideoSkin.swf" - }; - - swfobject.embedSWF("http://www.unl.edu/ucomm/templatedependents/templatesharedcode/scripts/components/mediaplayer/player.swf", "promoVideo", "640", "408", "10.0.0", false, flashvars, params, attributes, showLinks); - //WDN.jQuery('object#promoVideo param[name=flashvars]').attr({value: "allowfullscreen=true&quality=best&wmode=transparent&file="+WDN.jQuery(this).attr("href")+"&image=mod/customindex/videoStill.jpg&autostart=false&skin=http://www.unl.edu/ucomm/templatedependents/templatesharedcode/scripts/components/mediaplayer/UNLVideoSkin.swf"}); - //WDN.log("New video loaded"); - return false; - }); - }); - -</script> - - - -<!-- begin poly9 globe js --> -<script type="text/javascript" src="http://globe.poly9.com/api.js"></script> -<script type="text/javascript" src="<?php echo $CONFIG->url ?>mod/customindex/witw_people.js"></script> -<script type="text/javascript"> -var c=0; -var t; -var pinsonly=true; - -function startMap() { - //these are needed for when the globe is turned off by clicking on another panel, then when it's restarted it begins here - pinsonly=true;c=0; - //turn off the overlay - this.toggleDashboard(); - letsdothisloop('0'); - pinsonly=false; - c = Math.floor(Math.random()*30); - var pauseforasec =setTimeout("letsdothisloop('5000');",1500); -}; - -function letsdothisloop(delay) { - if(c==0) displayNancyAndreasen(); - else if(c==1) displayAtorodAzizinamini(); - else if(c==2) displayClaudeMBoltonJr(); - else if(c==3) displayWarrenBuffett(); - else if(c==4) displayBingChen(); - else if(c==5) displayGranvilleCoggs(); - else if(c==6) displayDrLTreyColeman(); - else if(c==7) displayPamDingman(); - else if(c==8) displayChristopherElbow(); - else if(c==9) displayShaneFarritor(); - else if(c==10) displaySheriFritz(); - else if(c==11) displayRulonGardner(); - else if(c==12) displayDavidHarwood(); - else if(c==13) displayJohnHoerner(); - else if(c==14) displayMichaelHoff(); - else if(c==15) displayJohnJanovyJr(); - else if(c==16) displayJayKeasling(); - else if(c==17) displayScottKillinger(); - else if(c==18) displayNithalKuwa(); - else if(c==19) displayCindyMcCaffrey(); - else if(c==20) displayBetsyOBrien(); - else if(c==21) displayJuanitaPage(); - else if(c==22) displayLarkinPowell(); - else if(c==23) displayJeffreyRaikes(); - else if(c==24) displayBrettRatcliffe(); - else if(c==25) displayJorgeAlbertoRodriguez(); - else if(c==26) displayTedSorensen(); - else if(c==27) displayBobThacker(); - else if(c==28) displayKenVogel(); - else if(c==29) displayCharlesWood(); - else if(c==30) displayJohnYohe(); - else { - if(pinsonly) { - c=0; - return; - } - else - c=-1; - } - c=c+1; - if(pinsonly) - letsdothisloop(delay); - else - t=setTimeout("letsdothisloop("+delay+")",delay); -}; - -function openLocation(lng, lat, username, location, displayname, title, comment, linkname) { - if(!pinsonly) - clearTimeout(t); - var latlng = new FE.LatLng(lat,lng); - if(!pinsonly){ - setTimeout(function(){map1.panTo(latlng,1.5,"easeInOutQuad")}, 50); - map1.zoomTo(19505000,1.5,"easeInOutQuad"); - } - label = window.label = new FE.Pushpin(latlng,new FE.Icon('<?php echo $CONFIG->url ?>mod/customindex/map-pin-12.png')); - //make pins clickable - if(pinsonly) - FE.Event.addListener(label, 'click', function() { openLocation(lng, lat, username, location, displayname, title, comment, linkname);}); - map1.addOverlay(label); - if(!pinsonly) - applylabel(latlng, location, title, comment, displayname, username, linkname); -}; - -function applylabel(latlng, location, title, comment, displayname, username, linkname) { - if(!linkname){ //these are the most recently joined users - if(comment != undefined && comment != "") - label.openInfoWindowHtml('<div id="witw_wrapper">'+ - '<a href="<?php echo $CONFIG->url ?>pg/profile/' + username + '"><img class="witw_icon" src="<?php echo $CONFIG->url ?>mod/profile/icondirect.php?username=' + username + '&size=medium" width="60" height="60" /></a><h1>' + displayname + '</h1>'+ - '<p class="witw_location">' + location + '</p><p class="witw_title">' + title + '</p>'+ - '<p class="witw_comment"><strong>Why here?</strong><br /><em>\"' + comment + '\"</em></p><p class="witw_comment" style="margin-top:-6px; padding-right: 12px; text-align:right;"><a href="<?php echo $CONFIG->url ?>pg/profile/' + username + '">View Profile</a></p>'+ - '</div>', 256, 154); - else - label.openInfoWindowHtml('<div id="witw_wrapper">'+ - '<a href="<?php echo $CONFIG->url ?>pg/profile/' + username + '"><img class="witw_icon" src="<?php echo $CONFIG->url ?>mod/profile/icondirect.php?username=' + username + '&size=medium" width="60" height="60" /></a><h1>' + displayname + '</h1>' + - '<p class="witw_location">' + location + '</p><p class="witw_title">' + title + '</p>'+ - '<p class="witw_comment"></p><p class="witw_comment"><a href="<?php echo $CONFIG->url ?>pg/profile/' + username + '">View Profile</a></p>'+ - '</div>', 256, 154); - } - else //these are the featured WITW Huskers (like Buffett, etc) - label.openInfoWindowHtml('<div id="witw_wrapper"><img class="witw_icon" src="<?php echo $CONFIG->url ?>mod/customindex/witw_icons/' + linkname + '_medium.jpg" width="60" height="60" /><h1>' + displayname + '</h1><p class="witw_location">' + location + '</p><p class="witw_title">' + title + '</p><p class="witw_comment">' + comment + ' <a href="<?php echo $CONFIG->url ?>featured/husker/' + linkname + '/">Continue Reading...</a></p></div>', 256, 154); -}; - -WDN.jQuery(document).ready(function() { - try{ - window.map1 = new FE.Map(document.getElementById("globeInner")); - map1.onLoad = startMap; - map1.load(); - }catch(e){} - - WDN.jQuery("#YourselfOnTheMap").qtip("show"); - -}); - - -</script> -<!-- end poly9 globe js --> - -