mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-30 03:42:44 +03:00
86 lines
2.1 KiB
HTML
86 lines
2.1 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>JSDoc: Source: backend.js</title>
|
||
|
|
||
|
<script src="scripts/prettify/prettify.js"> </script>
|
||
|
<script src="scripts/prettify/lang-css.js"> </script>
|
||
|
<!--[if lt IE 9]>
|
||
|
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||
|
<![endif]-->
|
||
|
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||
|
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
|
||
|
<div id="main">
|
||
|
|
||
|
<h1 class="page-title">Source: backend.js</h1>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<section>
|
||
|
<article>
|
||
|
<pre class="prettyprint source"><code>/**
|
||
|
* Main javascript code for the backend section of Easy!Appointments.
|
||
|
*/
|
||
|
$(document).ready(function() {
|
||
|
$(window).resize(function() {
|
||
|
Backend.placeFooterToBottom();
|
||
|
}).trigger('resize');
|
||
|
});
|
||
|
|
||
|
|
||
|
/**
|
||
|
* This namespace contains functions that are used in the backend section of
|
||
|
* the applications.
|
||
|
*
|
||
|
* @namespace Backend
|
||
|
*/
|
||
|
var Backend = {
|
||
|
/**
|
||
|
* Place the backend footer always on the bottom of the page.
|
||
|
*/
|
||
|
placeFooterToBottom: function() {
|
||
|
var footerHandle = $('#footer');
|
||
|
|
||
|
if (window.innerHeight > $('body').height()) {
|
||
|
footerHandle.css({
|
||
|
'position' : 'absolute',
|
||
|
'width' : '100%',
|
||
|
'bottom' : '0px'
|
||
|
});
|
||
|
} else {
|
||
|
footerHandle.css({
|
||
|
'position' : 'static'
|
||
|
});
|
||
|
}
|
||
|
}
|
||
|
}</code></pre>
|
||
|
</article>
|
||
|
</section>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<nav>
|
||
|
<h2><a href="index.html">Index</a></h2><h3>Namespaces</h3><ul><li><a href="Backend.html">Backend</a></li><li><a href="BackendCalendar.html">BackendCalendar</a></li><li><a href="FrontendBook.html">FrontendBook</a></li><li><a href="GeneralFunctions.html">GeneralFunctions</a></li></ul>
|
||
|
</nav>
|
||
|
|
||
|
<br clear="both">
|
||
|
|
||
|
<footer>
|
||
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Thu Jun 13 2013 16:52:46 GMT+0300 (EEST)
|
||
|
</footer>
|
||
|
|
||
|
<script> prettyPrint(); </script>
|
||
|
<script src="scripts/linenumber.js"> </script>
|
||
|
</body>
|
||
|
</html>
|