Disable ajaxStart and ajaxStop events for a single request
To disable the ajaxStart and ajaxStop events, add global: false in the request. Example:
To disable the ajaxStart and ajaxStop events, add global: false in the request. Example:
Use the following function to validate your CNP string:
The following code will convert an object to an array in Javascript, minding the order of the keys. The keys will be replaced with numbers:
This error appears when the map variable of Openlayers has a different SRS than the wanted layer. When the SRS of the source for the layer cannot be changed, you can use: Here is a full example of a layer:
The following function will help you check if there is an overlap between a certain feature and a layer. In order to work, the example needs ol3 and the JSTS library loaded.
The code below will help you make Twitter’s Boostrap accordion widget as high as the column it is inserted in. It has been tested in version 3.3.4.
politicalcolours.ro has been rewritten using node.js. It is now much faster and also.. online 🙂
mrbunnycooking.com is a cooking blog based on WordPress. Some of the modifications and features will be described below:
PHP Javascript Proxy acts like a PHP proxy, expecially for avoiding javascript cross domain issues. The sources are available here:
Below we have the code for a jQuery based background slider. No additional CSS or HTML modifications are required. The following slider creates DIV elements automatically and also resizes them to fit the window, together with preloading the necessary images.
The following is a modification of jQuery Swapsie Plugin. The mods applied allow the vertical swap between divs with different heights. Enhancements are required to allow horizontal swapping.
This proiect uses PHP, Javascript, CSS, HTML and PostgreSQL