
Search In
The application runs faster after the prototype property of the GameObject is defined. As a direct result, every instance of GameObject references the methods within GameObject.prototype, taking them as their own methods.
// define the GameObject c
Hello Reader's, If your webpage is taking too long to take data from database and you want to fix a loading icon for the time then you can use the following Javascript based code for that:-
First Step:-
Write the following code just after you <b
If you want to put the invoice link and partner_id on the account_move follow the following code :
invoice_id = fields.Many2one('account.invoice', oldname="invoice")
partner_id = fields.Many2one('res.partner', string='Partner', index=True, ond
If you would like to get address from latitude and longitude. You can use below function:
public function getAddressbylatlong($latitude, $longitude){
$latlng = $latitude. ','.$longitude;
$geocode = file_get_contents('http://maps.go
Loading Levels, Play,Pause and Exit in Unity 3D scene :
Example :
btn is a string.
void OnClick ()
{
if(btn=="Play")
{
Application.LoadLevel("MyScene");
}
}
Play a Game :
Time.timeScale=1;
Pause a Game :
Time.timeScale=0;
Exit from the Game
Hi there.
We are all familiar with the bootstrap sr-only class.
The name expands to screen readers only.
According to the documentation of Bootstrap, the information which is meant only for the screen readers can be hidden from the layout of the p
public function saveproductAction()
{
$categoryId = $_REQUEST['catId'];
$productName = $_REQUEST['ProductName'];
$productDesc = $_REQUEST['productDesc'];
$productPrice = $_REQUEST['productPrice'];
$productQty
This code is used to hide div by slding effect towards right to left and show another div by the same sliding effect on its place .
<script src="js/jquery.min.js" language="javascript" type='text/javascript'></script>
<script src="j
Hello Reader's!
If you want to make a html page that based on user activity, As user clicks on div then JS will make that div highlight.
Let's say our div is -
<div tabindex="0">Hello World</div>
Here div with tabindex of 0 will put
So what I've been given: Mean.cc is a class that inherits polymorphically from Statistic.h (the only things defined in that class are virtual void Collect(double) = 0; and virtual double Calculate() const = 0;)
So the mean.cc is defined as:
