Simple jquery plugin used to trigger a function when a specific element apears on viewport, this callback is trigged one time. This plugin is very useful when you what to preload an image when this apears on the viewport. In this example the image is printed with osrc attribute wich keeps the path to the [...]
Archive for the ‘JavaScript’ Category
Working with JSON RPC from javascript
JSON-RPC is lightweight remote procedure call protocol similar to XML-RPC. Its very simple and its used by alots of web applicationsĀ at least json wich is very used in modern applications. To communicate with server in a professional way, json-rpc is a good solution all you need to do is to create server side classes and [...]