Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

How to Use Prototype?

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

How to show loading icon while page is loading

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

How to put the invoice link and partner_id on the account_move ?

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

How to get address from latitude and longitude

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

Events in Unity 3D

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

sr-only class in Bootstrap3

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

Programatically create products in Magento

public function saveproductAction() { $categoryId = $_REQUEST['catId']; $productName = $_REQUEST['ProductName']; $productDesc = $_REQUEST['productDesc']; $productPrice = $_REQUEST['productPrice']; $productQty

Hide div by slide effect and show another div

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

How to highlight a div using Javascript

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

How to Implement Two Virtual Function Methods?

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:

1 415 481
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: