I hereby claim:
- I am fahrio on github.
- I am fahrio (https://keybase.io/fahrio) on keybase.
- I have a public key whose fingerprint is 21DE 9241 F6D1 3EF2 A536 FD2A B6FA 08AF 3CF2 2D9E
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
/* | |
* author: Fahri Özkaramanlı <http://fahrio.com> | |
*/ | |
l::set(array( | |
// global | |
'ok' => 'Tamam', |
//////////////////////////////////////////////////////////////////////////////// | |
/////////////////////////////////// RULERS //////////////////////////////////// | |
//////////////////////////////////////////////////////////////////////////////// | |
// taskbar_height variable from application.js | |
var ruler_template = "<div id=\"ruler_c\"> </div><div id=\"ruler_fv\"> </div><div id=\"ruler_fh\"> </div><div id=\"ruler_h_holder\"><div id=\"ruler_h\"></div></div><div id=\"ruler_v_holder\"><div id=\"ruler_v\"></div></div>"; | |
function rulers_init(){ | |
// remove previous template divs | |
$('#ruler_c').remove(); |
var shortest_height = $("#device").outerHeight(); | |
var scrolldistance; | |
$("#device .galcolumn").each(function(){ | |
if ($(this).outerHeight() < shortest_height) { | |
shortest_height = $(this).outerHeight(); | |
scrolldistance = shortest_height - $(window).height(); | |
} | |
}) |