forked from fullcalendar/fullcalendar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clean aspectRatio option, setting height right after init bugfix, ie6…
… button positioning bugfix, nixed cache option
- Loading branch information
Showing
9 changed files
with
149 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
<html> | ||
<head> | ||
<script type='text/javascript'>DISABLE_FIREBUG_LITE=true</script> | ||
<script type='text/javascript' src='loader.js'></script> | ||
<script type='text/javascript'> | ||
|
||
$(document).ready(function() { | ||
|
||
$('#calendar').fullCalendar({ | ||
header: { | ||
left: 'prev,next today', | ||
center: 'title', | ||
right: 'month,agendaWeek,basicWeek,agendaDay,basicDay' | ||
} | ||
}); | ||
|
||
}); | ||
|
||
</script> | ||
<style type='text/css'> | ||
|
||
body { | ||
margin: 0; | ||
font-size: 13px; | ||
font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif; | ||
} | ||
|
||
</style> | ||
</head> | ||
<body> | ||
<div style='height:108px;position:relative'></div> | ||
<div style='position:relative;margin-top:-50px;width:900px;z-index:2'> | ||
<div style='position:relative;padding:3px'> | ||
|
||
<div style='margin: 10px 20px 0'>Nav</div> | ||
|
||
<div style='margin:20px 0 0;padding:0 20px'> | ||
|
||
<p> | ||
this is a paragraph | ||
</p> | ||
|
||
<div id='calendar' style='margin:3em 0;direction:ltr'></div> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
<html> | ||
<head> | ||
<link rel='stylesheet' type='text/css' href='../examples/redmond/theme.css' /> | ||
<script type='text/javascript' src='loader.js'></script> | ||
<script type='text/javascript'> | ||
|
||
$(document).ready(function() { | ||
|
||
$('#calendar').fullCalendar({ | ||
year: 2009, | ||
month: 10, | ||
date: 22, | ||
//defaultView: 'agendaWeek', // error also occured with month view | ||
editable: true, | ||
events: "../examples/json-events.php" | ||
}); | ||
|
||
$('#calendar').fullCalendar('option', 'height', $(window).height()-80); | ||
// shouldn't throw an error | ||
|
||
}); | ||
|
||
|
||
</script> | ||
<style type='text/css'> | ||
|
||
body { | ||
margin-top: 40px; | ||
text-align: center; | ||
font-size: 13px; | ||
font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif; | ||
} | ||
|
||
#calendar { | ||
width: 900px; | ||
margin: 0 auto; | ||
} | ||
|
||
</style> | ||
</head> | ||
<body> | ||
<div id='calendar'></div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
<html> | ||
<head> | ||
<link rel='stylesheet' type='text/css' href='../examples/redmond/theme.css' /> | ||
<script type='text/javascript' src='loader.js'></script> | ||
<script type='text/javascript'> | ||
|
||
$(document).ready(function() { | ||
|
||
$('#calendar').fullCalendar({ | ||
header: { | ||
left: 'prev,next today', | ||
center: 'title', | ||
right: 'month,agendaWeek,basicWeek,agendaDay,basicDay', | ||
}, | ||
defaultView: 'agendaWeek', // month view also looked scrunched | ||
aspectRatio: 0 | ||
}); | ||
|
||
// shouldnt allow aspectRatios to *actually* go under .5 | ||
|
||
}); | ||
|
||
</script> | ||
<style type='text/css'> | ||
|
||
body { | ||
margin-top: 40px; | ||
text-align: center; | ||
font-size: 13px; | ||
font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif; | ||
} | ||
|
||
#calendar { | ||
width: 900px; | ||
margin: 0 auto; | ||
} | ||
|
||
</style> | ||
</head> | ||
<body> | ||
<div id='calendar'></div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters