Skip to content

Instantly share code, notes, and snippets.

@qhoxie
Created November 27, 2008 08:26
Show Gist options
  • Save qhoxie/29705 to your computer and use it in GitHub Desktop.
Save qhoxie/29705 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
$(document).ready(function(){
// Your code here
function councilFocus()
{
$("#council_image").hide("fast");
$("#nav1council").css("position", "relative");
$("#lnkAbout").css("position", "relative");
$("#nav1council").css("top", "101px");
$("#lnkAbout").css("top", "101px");
}
function councilUnFocus()
{
$("#council_image").show("fast");
$("#nav1council").css("position", "relative");
$("#lnkAbout").css("position", "relative");
$("#nav1council").css("top", "0");
$("#lnkAbout").css("top", "10");
}
$(".home_mid_promo1_top").focus(function() {
councilFocus();
});
$(".home_mid_promo1_top").hover(councilFocus, councilUnFocus);
$(".home_mid_promo1_top").blur(function() {
councilUnFocus();
});
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment