Skip to content

Instantly share code, notes, and snippets.

@daniartavia
Created July 23, 2013 22:06
Show Gist options
  • Save daniartavia/6066581 to your computer and use it in GitHub Desktop.
Save daniartavia/6066581 to your computer and use it in GitHub Desktop.
<?
require 'head.php';
require 'nav.php';
require 'footer.php';
?>
<!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" lang="en">
<head>
<?
echo $head;
?>
<title>WebCR</title>
</head>
<body>
<script type='text/javascript'>
$(function() {
function mainmenu(){
$(" #nav ul ").css({display: "none"}); // Opera Fix
$(" #nav li").hover(function(){
$(this).find('ul:first').css({visibility: "visible",display: "none"}).show(200);
},function(){
$(this).find('ul:first').css({visibility: "hidden"});
});
}
$(document).ready(function(){
mainmenu();
});
$('#example-1').tipsy();
$('#north').tipsy({gravity: 'n'});
$('#south').tipsy({gravity: 's'});
$('#east').tipsy({gravity: 'e'});
$('#west').tipsy({gravity: 'w'});
$('.social_icons').tipsy({gravity: 's'});
$('#auto-gravity').tipsy({gravity: $.fn.tipsy.autoNS});
$('#example-fade').tipsy({fade: true});
$('#example-custom-attribute').tipsy({title: 'id'});
$('#example-callback').tipsy({title: function() { return this.getAttribute('original-title').toUpperCase(); } });
$('#example-fallback').tipsy({fallback: "Where's my tooltip yo'?" });
$('#example-html').tipsy({html: true });
$.featureList(
$("#tabs li a"),
$("#output li"), {
start_item : 1
}
);
});
</script>
<div id="wrapper">
<div id="top">
<div id="logo"><a href="index.html"><img src="images/images/logo.png" alt="Full moon" /></a></div>
</div>
<?
echo $nav;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment