From 28d9440ab7367c9a691ba339da9202f83fad5d25 Mon Sep 17 00:00:00 2001 From: Eric Rasmussen <erasmussen2@unl.edu> Date: Thu, 13 Aug 2009 19:14:49 +0000 Subject: [PATCH] updates to the featured huskers on the globe --- .../views/default/customindex/metatags.php | 22 +++++++++---------- customindex/witw_people.js | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/customindex/views/default/customindex/metatags.php b/customindex/views/default/customindex/metatags.php index 7e48d85f..680e0a12 100644 --- a/customindex/views/default/customindex/metatags.php +++ b/customindex/views/default/customindex/metatags.php @@ -18,17 +18,17 @@ <script type="text/javascript"> - jQuery(document).ready(function(){ - jQuery("#headlines>div").click(function(){ - panelClicked = jQuery(this).attr("id").split('headline')[1]; - jQuery("#headlines>div").removeClass("activepanel"); - jQuery(this).addClass("activepanel"); - jQuery("#posters>div").css({'z-index':'0'}); - jQuery("#poster"+panelClicked+"").css({'z-index':'99'}); - if(jQuery(this).attr("id") == "headline1"){ - jQuery("#FE_InfoWindow").css({'z-index':'2000'}); + 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").css({'z-index':'0'}); + WDN.jQuery("#poster"+panelClicked+"").css({'z-index':'99'}); + if(WDN.jQuery(this).attr("id") == "headline1"){ + WDN.jQuery("#FE_InfoWindow").css({'z-index':'2000'}); } else { - jQuery("#FE_InfoWindow").css({'z-index':'0'}); + WDN.jQuery("#FE_InfoWindow").css({'z-index':'0'}); } }); }); @@ -128,7 +128,7 @@ function applylabel(latlng, location, title, comment, displayname, username, lin 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="http://ucommmeranda.unl.edu/workspace/UNL_Featured/husker/' + linkname + '/">Continue Reading...</a></p></div>', 256, 154); }; -jQuery(document).ready(function() { +WDN.jQuery(document).ready(function() { try{ var map = new FE.Map(document.getElementById("globeInner")); map.onLoad = startMap; diff --git a/customindex/witw_people.js b/customindex/witw_people.js index be0fad42..03784ebd 100644 --- a/customindex/witw_people.js +++ b/customindex/witw_people.js @@ -218,7 +218,7 @@ function displayKenVogel() { 'Ken_Vogel'); }; function displaySidnieWhiteCrawford() { - return openLocation('35.2007000','31.7857000','demouser','Isreal and Palestine','Sidnie White Crawford', + return openLocation('35.2007000','31.7857000','demouser','Isreal; Palestinian Terretories','Sidnie White Crawford', 'Willa Cather Professor and Chair, Department of Classics and Religious Studies', 'Sidnie White Crawford\'s work sheds light on Middle East conflict.', 'Sidnie_White-Crawford'); -- GitLab