Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
iamjpg committed May 4, 2012
0 parents commit 9682df2
Show file tree
Hide file tree
Showing 11 changed files with 637 additions and 0 deletions.
34 changes: 34 additions & 0 deletions calendar.html
@@ -0,0 +1,34 @@
<!DOCTYPE html>

<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>jQuery Expanded Calendar</title>

<!-- Simple CSS file for HTML page -->
<link rel="stylesheet" href="stylesheets/main.css" type="text/css" media="screen" title="no title" charset="utf-8">

<!-- jCalendar CSS - Contains Tipsy CSS - Delete as needed -->
<link rel="stylesheet" href="javascripts/jquery.calendar/calendar.css" type="text/css" media="screen" title="no title" charset="utf-8">

<!-- Source jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>

<!-- Source CalendarJS - Contains Tipsy jQuery Plugin - Delete as needed -->
<script src="javascripts/jquery.calendar/jquery.calendar.js" type="text/javascript" charset="utf-8"></script>

<!-- Call the Calendar -->
<script>
$(document).ready(function() {
$("#main-container").calendar({
tipsy_gravity: 's'
});
});
</script>
</head>
<body>
<div id="main-container">

</div>
</body>
</html>
Binary file added images/bg-body.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/me.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/noise.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
99 changes: 99 additions & 0 deletions javascripts/jquery.calendar/calendar.css
@@ -0,0 +1,99 @@
#calendar .label {
font-size: 18px;
font-weight: 100;
width: 49px;
height: 33px;
padding: 16px 0 0 0;
margin: 1px 0 0 1px;
text-align: center;
float: left;
cursor: pointer;
display: none;
}

#calendar .year {
color: #FFF;
font-size: 50px;
font-weight: 100;
width: 99px;
height: 81px;
padding: 18px 0 0 0;
margin: 1px 0 0 1px;
text-align: center;
float: left;
background: #000;

}

#calendar .label:hover {
background: #dcdcdc;
}

#calendar .label.today {
background: #399afe;
}

#calendar .label.bold {
color: #FFF;
background: #000;
}

#arrows {
float: left;
cursor: pointer;
}

#arrows .next {
background: #000 url('images/arrow-next.gif') no-repeat center center;
width: 49px;
height: 49px;
margin: 1px 0 1px 1px;
}

#arrows .next:hover {
background: #399afe url('images/arrow-next.gif') no-repeat center center;;
}

#arrows .prev {
background: #000 url('images/arrow-prev.gif') no-repeat center center;
width: 49px;
height: 49px;
margin-left: 1px;
}

#arrows .prev:hover {
background: #399afe url('images/arrow-prev.gif') no-repeat center center;;
}

.clear {
clear: both;
}


/* Tipsy CSS (http://onehackoranother.com/projects/jquery/tipsy/) - If you already use it, delete this. */

.tipsy { font-size: 10px; position: absolute; padding: 5px; z-index: 100000; }
.tipsy-inner { background-color: #000; color: #FFF; max-width: 200px; padding: 5px 8px 4px 8px; text-align: center; }

/* Rounded corners */
.tipsy-inner { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }

/* Uncomment for shadow */
/*.tipsy-inner { box-shadow: 0 0 5px #000000; -webkit-box-shadow: 0 0 5px #000000; -moz-box-shadow: 0 0 5px #000000; }*/

.tipsy-arrow { position: absolute; width: 0; height: 0; line-height: 0; border: 5px dashed #000; }

/* Rules to colour arrows */
.tipsy-arrow-n { border-bottom-color: #000; }
.tipsy-arrow-s { border-top-color: #000; }
.tipsy-arrow-e { border-left-color: #000; }
.tipsy-arrow-w { border-right-color: #000; }

.tipsy-n .tipsy-arrow { top: 0px; left: 50%; margin-left: -5px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent; }
.tipsy-nw .tipsy-arrow { top: 0; left: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}
.tipsy-ne .tipsy-arrow { top: 0; right: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}
.tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -5px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
.tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
.tipsy-se .tipsy-arrow { bottom: 0; right: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
.tipsy-e .tipsy-arrow { right: 0; top: 50%; margin-top: -5px; border-left-style: solid; border-right: none; border-top-color: transparent; border-bottom-color: transparent; }
.tipsy-w .tipsy-arrow { left: 0; top: 50%; margin-top: -5px; border-right-style: solid; border-left: none; border-top-color: transparent; border-bottom-color: transparent; }
Binary file added javascripts/jquery.calendar/images/arrow-next.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added javascripts/jquery.calendar/images/arrow-prev.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added javascripts/jquery.calendar/images/bg-blk-60.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added javascripts/jquery.calendar/images/bg-blk-90.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9682df2

Please sign in to comment.