Skip to content

Instantly share code, notes, and snippets.

@codecowboy
Created December 9, 2011 12:48
Show Gist options
  • Save codecowboy/1451400 to your computer and use it in GitHub Desktop.
Save codecowboy/1451400 to your computer and use it in GitHub Desktop.
Search form page
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="home.aspx.cs" Inherits="home" Title="-removed- 15th Anniversary Website -Home Page" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="/library/js/jquery.js"></script>
<script type="text/javascript" src="/library/js/hoverIntent.js"></script>
<script type="text/javascript" src="/library/js/superfish.js"></script>
<script type="text/javascript" src="/library/js/supersubs.js"></script>
<script type="text/javascript" src="/library/js/swfobject.js"></script>
<script type="text/javascript" src="/library/js/cufon-yui.js"></script>
<script type="text/javascript" src="/library/js/DIN_300.font.js"></script>
<script type="text/javascript">
notIE6 = false;
if (!($.browser.msie && $.browser.version.substr(0, 1) < 7)) {
Cufon.replace('h1', { fontFamily: 'DIN' });
notIE6 = true;
}
var flashvars = {};
var params = {
wmode: "transparent"
};
var attributes = {};
//swfobject.embedSWF("/library/swf/-removed-_v01.swf", "-removed-Panel", "390", "270", "9.0.0", "/library/js/expressInstall.swf", flashvars, params, attributes);
swfobject.embedSWF("/library/swf/animated-logo-v05.swf", "flashDiv", "808", "300", "9.0.0", "/library/swf/expressInstall.swf", flashvars, params, attributes);
isSafari3 = false;
if (window.devicePixelRatio) isSafari3 = true;
$(document).ready(function () {
$("ul.sf-menu").supersubs({
minWidth: 12, // minimum width of sub-menus in em units
maxWidth: 27, // maximum width of sub-menus in em units
extraWidth: 1 // extra width can ensure lines don't sometimes turn over
// due to slight rounding differences and font-family
}).superfish(); // call supersubs first, then superfish, so that subs are not display:none when measuring. Call before initialising
if (!notIE6) {
$("#primaryNav").css("font-size", "0.9em");
$(".sf-menu a").css("padding-bottom", "0.7em");
$(".sf-menu a").css("border-bottom", "5px solid #005299");
$(".sf-menu li li a").css("border-bottom", "0px solid #005299");
//$(".sf-menu li:sfHover ul").css("top", "5.9em");
};
if (isSafari3) {
$(".sf-menu a").css("padding-bottom", "0.75em");
}
$('#references-removed-').hide();
$('#rffToggle').click(function () {
($('#references-removed-').is(":visible")) ? $(this).css("background-position", "0px 0") : $(this).css("background-position", "-200px 0");
$('#references-removed-').slideToggle(400);
return false;
});
});
</script>
</head>
<body>
<div class="headerWrapper">
<div class="headerWrapperUpper">
<div class="innerWrapper">
<div id="headerLogos"><a href="/home.aspx"><img src="/images/header/-removed--logo.png" width="231" height="88" alt="-removed-" border="0" /></a><img src="images/header/logo-lockup-divider.png" width="6" height="86" alt="" border="0" /><a href="/-removed--and--removed-/-removed--15th-year-anniversary.aspx" title="Follow this link to learn more about our -removed- legacy"><img src="/images/header/anniversary-logo.png" width="222" height="86" alt="-removed- 15th Year Anniversary" border="0" /></a></div>
<div id="headerSearch">
<form action="footer/search.aspx" method="post">
<input type="hidden" name="incVal1" value="0" />
<div class="searchFormSubmit"><input id="searchButton" type="image" src="/images/header/search_btn.png" value="submit" name="submit" /></div>
<div class="searchFormInput">
<input name="headerSearchTxt" type="text" value="Search the site" id="headerSearchTxt" tabindex="1" onfocus="this.value=''" />
</div>
</form>
</div>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment