Skip to content
Snippets Groups Projects
Commit d49a17b4 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

make the "login" and "register" tabs go to the right place

parent b3a0cc6c
Branches
No related tags found
No related merge requests found
......@@ -258,7 +258,7 @@
<!-- end moded splash code -->
<br style="clear:both" /><br />
<a name="login" href="#"></a>
<?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;
}
......
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment