…jQuery libraries in the core of OpenCart makes Ajax implementation a breeze and more than a pleasant experience. In fact, you'll find several snippets spread across the whole framework that show the heavy use of jQuery, if you try to dig into the view files specifically.Throughout the course of this…
…jQuery methods require some kind of element selection to be of any use. For instance, attaching a click event to a button requires you to select the button first. Since common jQuery selectors are based on existing CSS selectors, you might be well versed in them. However, there are also…
…jQuery, there is a pretty good chance that you also have used at least one of its countless plugins. Just think about something useful that you would like to do in jQuery, and I am almost certain that a plugin exists to do exactly that. Sometimes, when a plugin does…
…jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script> <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script> </body> </html>Note the use of url_for() for creating URLs for static files and other links. It is a very handy tool which is provided by Flask. Read more about this in the documentation. Another important point…
…jquery.colorbox.js"; $data['gallery'] = $gallery; if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/module/uber_gallery.tpl')) { return $this->load->view($this->config->get('config_template') . '/template/module/uber_gallery.tpl', $data); } else { return $this->load->view('default/template/module/uber_gallery.tpl', $data); } } }Starting from the top, the UBER_ORIG_IMG_PATH constant is something you should be aware of as that was introduced at the beginning of this article. We used…
…jquery": "~2.1.4", "eventEmitter": "~4.2.7", "peerjs": "~0.3.14", "bootstrap": "~3.3.5" } } With this configuration, we bring down react, jQuery, bootstrap, eventEmitter for firing events and the peerJS Client library for wrapping the WebRTC. Finally, specify where to install this by setting the .bowerrc file: { "directory": "src/lib" } From here, just…
…jQuery is the most popular JavaScript library, and one of the reasons for that popularity is jQuery's extensibility. Not only does jQuery give us a lot of goodies out of the box, but the community has created a whole ecosystem of open-source plugins. In our new course, Write a jQuery Plugin,…
…jQuery or Angular. Generally, however, an end-user won’t interact directly with a REST server.Interestingly, the AWS SDK actually uses the REST protocol to interact with SimpleDB, so it may seem odd to create a REST server to another REST server. You wouldn’t want to use the SimpleDB REST API directly…
…jQuery.Building a WordPress plugin can be a daunting task depending on your level of experience and/or the complexity of the problem that you're trying to solve. For example, if you're brand new to writing WordPress plugins, then writing something that's somewhat simple will still be daunting because of the learning curve…
…jQuery version of the YouTube Video Popup Plugin or the WordPress YouTube Vimeo Popup Plugin. 8. FullScreen Background / Gallery – Image and Video The FullScreen Background / Gallery – Image and Video jQuery plugin includes several different options for both video and images. Some of the features include: over…