Javascript

Angular.js How to remove hash from url?

Configuration:

.htaccess file in root directory:

In this mode you can use links without the # in HTML files

Link in Browser:

Source: http://stackoverflow.com/questions/16677528/location-switching-between-html5-and-hashbang-mode-link-rewriting […]

How to Change Bootstrap Carousel Slide Speed

The speed cannot be controlled by the API. Though you can modify CSS that is in charge of that. find in the bootstrap.css file:

and change 0.6s to the time you want. You also might want to edit time in the function call below:

.emulateTransitionEnd(2000)

at bootstrap.js in function Carousel.prototype.slide. That synchronize transition and prevent slide to disapear before transition ends.

Source: http://stackoverflow.com/questions/17332431/how-can-i-control-the-speed-that-bootstrap-carousel-slides-in-items/17332516#17332516 […]

Cordova: How to download file and get download progress?

  […]

Cordova: How to get list of all Files/Directories in a directory?

Tested in Android.

Click here for more details.

Another link Mobile File Explorer with PhoneGap/Cordova has examples. […]

Cordova: How to create directory?

For Documentation Visit: https://www.npmjs.com/package/cordova-plugin-file#android-file-system-layout […]

How to get Base64Image from input type file?

Live Demo: […]

How to access Query String Values using Javascript?

Following function is very useful to easily access url paramters ( query string values).

Source: http://stackoverflow.com/questions/901115/how-can-i-get-query-string-values-in-javascript […]