Dynamic height and width on resizing in jquery


//jQuery solution
var me = jQuery || $.noConflict();
me(document).ready(function() {
me(‘#heightSpan’).html(me(window).height());
me(‘#widthSpan’).html(me(window).width());

me(window).on(‘resize’, function(){
me(‘#heightSpan’).html(me(window).height());
me(‘#widthSpan’).html(me(window).width());
});
});

width: px

height: px
[/sourcecode]

Creating two functions in AJAX with Javascript


= 60 && $arr[1]!=0)
{
$h = floor($tim/60); $m = $tim%60;
$res = $h.’ Hrs ‘.$m.’ Mins’;
}
else if($tim >= 60 && $arr[1]==0)
{
$h = floor($tim/60); $m = $tim%60;
$res = $h.’ Hrs ‘;
}

return $res;
}
?>

<?php
while($row = mysql_fetch_array($result1)) {
$str = str_replace(' ', '', $row['remark']);
$sr = str_replace('On Time', '',$str);
$s = str_replace('Delay', 'late by', $sr);

$ar = explode(" ", $s);
$me = strtolower($row['arrived']);
$mea = ucwords($me);
$z = $row['image'];
echo "

“;
echo “

To Schduled Status
“.”
Back to top