From d49a17b42c14f3d51e58a145401851c100f00fc0 Mon Sep 17 00:00:00 2001
From: Eric Rasmussen <erasmussen2@unl.edu>
Date: Wed, 19 Aug 2009 17:05:10 +0000
Subject: [PATCH] make the "login" and "register" tabs go to the right place

---
 customindex/views/default/customindex/content.php  |  2 +-
 customindex/views/default/customindex/css.php      |  2 +-
 customindex/views/default/customindex/metatags.php | 10 +++++++++-
 3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/customindex/views/default/customindex/content.php b/customindex/views/default/customindex/content.php
index b5d2613f..8b5f2efd 100644
--- a/customindex/views/default/customindex/content.php
+++ b/customindex/views/default/customindex/content.php
@@ -258,7 +258,7 @@
 <!-- end moded splash code  -->
 
 <br  style="clear:both" /><br />
-
+<a name="login" href="#"></a>
 
 
 <?php
diff --git a/customindex/views/default/customindex/css.php b/customindex/views/default/customindex/css.php
index 338c6e88..4743866c 100644
--- a/customindex/views/default/customindex/css.php
+++ b/customindex/views/default/customindex/css.php
@@ -113,7 +113,7 @@ end three equal panels */
 	}
 	#poster2>div {
 		position:absolute;
-		border:1px solid #333;
+		border:2px solid #333;
 		-moz-border-radius:3px;
 		padding:10px;
 	}
diff --git a/customindex/views/default/customindex/metatags.php b/customindex/views/default/customindex/metatags.php
index 93634012..4fc074d5 100644
--- a/customindex/views/default/customindex/metatags.php
+++ b/customindex/views/default/customindex/metatags.php
@@ -19,6 +19,11 @@
     
 <script type="text/javascript">
 	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");
@@ -33,8 +38,11 @@
 	   });
 	   //load the video in a modal box on window load.
 	   //WDN.toolbar.colorbox('#promoVideo', {inline:true, href:"#promoVideo", open:true});
-	
+	   
 	 });
+	 <?php if($_REQUEST['register']==1)
+			echo 'WDN.jQuery(window).load(function() { WDN.jQuery("#headline2").trigger("click"); });';
+	 ?>
 </script>
 
 
-- 
GitLab