Monday, July 13FreeJQuery

Tag: freejquery 2019 plugins

Using jQuery’s .resize() Method
2019, jQuery, TUTORIALS

Using jQuery’s .resize() Method

Using jQuery resize Method In This Article We discuss About Using jQuery resize Method is a cool way to have an event triggered or have a function executed when something is resized. For the purposes of this tutorial, we’re going to show you how to use the .resize() method to trigger an alert method whenever the window is resized. You might be surprised at how easy this functionality is to add to any of your code.In terms of syntax, the .resize() method is used in much the same was as any other jQuery method. Take a look at the snippet below to get a look for yourself:$(window).resize(function(){alert("The window has been resized!");})That’s all it takes to use the resize method to trigger an alert message once the window has been resized. Feel free to use the code...
jQuery click() Method
2019, jQuery, jQuery Plugins

jQuery click() Method

jQuery click Method With jQuery click Method it’s super easy to make something happen as a result of something else being clicked using the .click() method. All you need to do is pass a function through the .click() method. The .click() method will be the trigger event (make sure you use a selector to indicate which HTML element being clicked should trigger your code), and the code within the function that you’ll pass through the .click() method will execute the result of the click trigger. For example, maybe you want to remove a particular element once it’s clicked on. The click() is an inbuilt method in jQuery that starts the click event or attach a function to run when a click event occurs. Syntax: $(selector).click(function); Parameter: It accepts an optional parameter “function” whi...
How to Add/Remove Classes After Delay
2019, jQuery, jQuery Plugins, Plugins

How to Add/Remove Classes After Delay

How to Add/Remove Classes After Delay This Article Is About How to Add/Remove Classes After Delay In your projects, there can often be instances of wanting to change something (color, size, font family, etc) about an element, but only after a certain amount of time has passed (the time passed can be anywhere from a millisecond to ten minutes to ten hours if you like — its entirely up to you and the needs of your project). In jQuery, it’s easy to change elements style or content based on a trigger event (click, for example, is a very common trigger even), but it’s also possible to use time passed as a trigger event of sorts. Remove Classes After Delay As an example, let’s say you have a class called “blue” applied to an element. The class changes the color of the text within any element ...
How To Change or Restore Your CSS Using jQuery
2019, jQuery, TUTORIALS

How To Change or Restore Your CSS Using jQuery

Change or Restore Your CSS Using jQuery This Article Is About Change or Restore Your CSS Using jQuery The jQuery .css() method is an easy way to change the CSS of any HTML element, class, or ID without actually having to edit any of your stylesheets. The syntax for the .css() method is actually quite simple and somewhat similar to how your styles would appear in your stylesheets.If you’re using the .css() method to only add one new style rule to your HTML, the syntax should be like this:$("element").css("property name", "property value");If you’re trying to change the styling of more to one element, the syntax will differ slightly:$("element").css({"property name":"property value", "property name":"property value", "property name":"property value"});In the example belo...
JSL JavaScript Loader Free jQuery
Core Java Script, Web

JSL JavaScript Loader Free jQuery

JSL JavaScript Loader Free jQueryJSL JavaScript Loader Free jQuery is one of the useful core JavaScript for the coders. It's a connection between the web browser & the internet. This highway is optimize to let pictures, text, and CSS fly by. But, when it comes to external scripts, the highway creates a toll booth that slows traffic. JSL JavaScript Loader Free jQuery is the worst part is that pictures text, and css caught behind these scripts have to wait until they pass through. JSL is the latest in toll both avoidance. It creates an express lane that lets all pictures, text, css, and external scripts pass by without worrying about toll booths. That means you save time and money on traffic costs.  Normal Script Inclusion to Apply <script type="text/javascript" src="...