A plug-in (or plugin) is a set of software components that adds specific abilities to a larger software application. If supported, plug-ins enable customizing the functionality of an application.

learn more… | top users | synonyms

0
votes
0answers
33 views

jQuery form validator

I am new to the world of jQuery plugins, I don't know why I didn't get into this sooner. What I have a working validator that validates bootstrap styled forms. What I have discovered is that the way ...
5
votes
1answer
49 views

jQuery Plugin - Sliding Tile Puzzle

I created a basic jQuery plugin to make a basic sliding tile puzzle. ...
0
votes
0answers
24 views

jQuery resizable plugin

Is there any way I can simplify this re-sizable solution? It seems too difficult and messy to me. Working example ...
3
votes
2answers
63 views

Drop down menu plugin

I am making a dropdown menu in JavaScript for my website, and recently I decided I wanted to make it a plugin (as in, upload it on the web and make it compatible with other plugins). I am new to ...
11
votes
2answers
198 views

jQuery plugin that makes a slider out of an <ul> list

This is one of my very first jQuery plugins. In short: it makes a slider out of an <ul> list filled with <li> items ...
2
votes
0answers
23 views

Filtered Search Plugin

I need opinions on how to improve this code example github ...
3
votes
1answer
36 views

MEF Execute Plugin Exports in Threads

I am developing a service application that would implement a peer to peer messaging system. I am wondering if my following code is the best approach. It works, but I am naive and it would be nice to ...
2
votes
1answer
51 views

Making text field taggable

I'm new to JavaScript and new to jQuery plugin development. My plugin is really easy I just want to taggify a <ul> ...
2
votes
1answer
16 views

Bash Compress Managed Directory Ignoring .git, bower_components, node_modules, etc

Fairly easy way to compress a wordpress plugin (or similar) as a zip file without including all the dependencies used to create and manage the development, but which don't belong in the final product. ...
2
votes
1answer
99 views

jQuery plugin - image slider

This is my first jQuery plugin (used the jQuery ui widget factory). All code improvements are welcome. GitHub The plugin creates a gallery with one big picture and a given amount of clickable ...
2
votes
1answer
38 views

Converting any CSS colour to RGB(a)

For a plugin I'm writing in jQuery I have two optional parameters. For each parameter I do a check for its value. However, I'm curious if I can't write it shorter. Here is the fiddle and here's the ...
7
votes
2answers
118 views

Animating a block of HTML on scroll

I'm pretty new to client side scripting and I'm still learning. I've written this JS plugin which animates blocks of HTML (fade-in from left/top/right/bottom) as you scroll down the page. Everything ...
3
votes
1answer
50 views

Improving jQuery scrolldown animations

I'm pretty new to client side scripting and I'm still learning. I've written this JS plugin which animates blocks of HTML (fade-in from left/top/right/bottom) as you scroll down the page. Everything ...
1
vote
0answers
49 views

Pagination with static data

I am using following code to implement pagination functionality. All items are rendering on page load and li elements greater than page set are hidden with CSS. I ...
3
votes
1answer
59 views

Database Plugin for CKFinder users

I have written a small plugin library for CKFinder that I would like some critiques on. The library is located here. If you are looking for where to start, check out plugin.php and hook function in ...
4
votes
1answer
171 views

jQuery Datepicker Plugin

I created a jQuery plugin that converts a text field to a 3 drop down, datepicker. It allows the user to select a Day, Month and Year rather than type the date in an input box. The original input ...
3
votes
0answers
73 views

Ajax file uploader jQuery plugin

I tried to write my first jQuery plugin. It's a very simple Ajax file uploader. I would appreciate a review of this code. HTML ...
6
votes
2answers
231 views

Responsive text by JavaScript

I'm working on a JavaScript plugin that makes font-sizes flexible (for a responsive layout). The code works well so far, but I'm sure that it's capable of improvement (especially if you look at the ...
1
vote
0answers
80 views

jQuery remote validation plugin

I wrote this jquery plugin to do remote validations on the server. The code self explanatory. When the field blurs (event is customisable), the plugin checks to see if there is a value and sends the ...
2
votes
1answer
37 views

geoInput jQuery Plugin

I made my first jQuery plugin, and was hoping to get a review. I'm especially interested in comments on whether I went about building up my html and applying the css in a reasonable manner (I chose to ...
5
votes
0answers
123 views

Deadlock watchdog in a server to defend against poorly written extensions

In the Red5 server we have no control over what implementers do with their applications. As such, we have attempted to implement code that would prevent them from causing bad things to happen. This ...
2
votes
1answer
157 views

Switching from functional jQuery code to object-oriented

I've been happily using jQuery, creating vars and binding events in my modules (which have only a little bit of JS). But recently I needed to add an anonymous functions to my code and after ...
4
votes
1answer
109 views

jQuery scroll-prevention plugin

This plugin is for article pages that has a very long main content (left side) and a shorter sidebar. When the user scrolls down mostly the right part will be white space. What this plugin does is ...
16
votes
2answers
579 views

Pluggin' in Plugins

I'm currently working on an in-house project and a part of that project is this pretty standard plugin loader below. There must be a way to avoid so many ugly looking ...
5
votes
3answers
184 views

Monitoring params via JMX

A task for hiring on a new job (I failed it with reason "very bad code"). Write a program, which will be monitoring the params via JMX. Param should have name, type and observabale value. Why my ...
4
votes
2answers
142 views

Showing a list of plugins to filter

How can I refactor this function? I show a list of plugins in JSF, and I should filter them. I added function filterPlugins but I have some questions: Should we ...
2
votes
1answer
120 views

Expose only desired functions to 3rd party plugins in JavaScript

I tried to build a solution to dynamically load JS code, but to only expose predefined functions. Is this the correct approach? Is there any Method to execute arbitrary code if I put all my code ...
11
votes
1answer
146 views

Metalsmith plugin for stripping UTF8 BOM from files

I've been developing a metalsmith static site and I came across an issue where Visual Studio was automatically adding a BOM to the pages. I wrote the following plugin for metalsmith (it needs to be ...
11
votes
3answers
188 views

Scanning a directory for plugins and loading them

I'm working on a simple dictionary tool, with a base class that can be extended by plugins to represent different dictionaries. The plugins are organized in the filesystem like this: ...
3
votes
1answer
227 views

jQuery collapse/expand plugin

This is my first plugin for JavaScript. It originated from a need for a similar feature at work and I decided to make it a bit more generic in case I needed it again. I was just wanting some criticism ...
3
votes
1answer
153 views

Simple IRC bot with plugin support

I'm looking to see if there is anything in this I could have done better or see if could have structured the code better. Here is the project on GitHub. ...
1
vote
1answer
231 views

Zoom in/zoom out jQuery plugin

I created my first plugin in jQuery and just want some inputs on how I can improve the code and features. Here is the fiddle ...
5
votes
2answers
264 views

Small jQuery mobile plugin to handle touch events

Why this plugin: I am developing a mobile app - at some point, I felt like this would be a good idea to give the users the possibility to control everything in the app with touch gestures, hence the ...
3
votes
1answer
52 views

Plugin for communication protocols in browser(s)

I would like to get some feedback from the community regarding a plugin I recently moved from requiring jQuery to a stand alone JS implementation. It is meant to handle browser communication ...
4
votes
1answer
203 views

Converting <li> tags to horizontal responsive barcharts

I am writing my first jQuery plugin that converts li tags to horizontal responsive barcharts. I am looking for some feedback and suggestions regarding the ...
2
votes
0answers
157 views

Plugin that grabs the coordinates of all the cities in our database

I have a plugin that grabs the coordinates of all the cities in our database working in WordPress here. ...
3
votes
2answers
132 views

Changing a single jQuery plugin option on window resize

I'm looking to change a single jQuery plugin option when the window hits certain breakpoints. The code below works, however I'm conscious of repeating code and feel there is a more elegant way ...
4
votes
1answer
63 views

JavaScript scrippits

I was doing writing some various things in JavaScript and ending up writing 2 scripts that proved useful in quite a lot of my other programs and I was wondering if there was anything that I could do ...
1
vote
1answer
38 views

jQuery plugin creation and declaration for usage with $(). or $

Simple idea: just have a plugin (more a basic function). That I can use with jQuery in different ways it offers, means: ...
3
votes
1answer
495 views

Menu Bar Animation Plugin

I'm fairly new to JS/jQuery (a few months), and I think it's time to start getting involved in the community. So I wrote a little plugin. Nothing revolutionary. Really, the project is to write a ...
4
votes
1answer
152 views

Communicating between plugins whilst maintaining context in Javascript

I'm making some changes to a JavaScript plugin on a site I've been made steward over. This main plugin has it's own sub-plugins and I'm trying to make certain aspects modular. Currently, I'm ...
2
votes
1answer
79 views

jQuery Modal Plugin

This is my first attempt at a jQuery plugin, which is a simple modal window. I'm keen for feedback of whether I've got the principle correct, the usability of the plugin and any improvements that ...
3
votes
1answer
117 views

JavaScript jQuery plugin options. Defaults, User Options, and immutable settings pattern?

I'm writing a jQuery plugin. I'm allowing the user to pass options (optionally-- argument 2 to extend) but I also require some defaults (argument 1), and some things user is not allowed to modify ...
6
votes
1answer
826 views

Private methods and properties in jQuery “lightweight start” pattern

For non-plugin code, I generally use the module pattern, but I'm working on a jQuery plugin and decided to try out the "lightweight start" pattern. The problem is, I find myself needing ...
3
votes
1answer
272 views

Leanmodel plugin

I have recently adapted the popular leanmodal plugin (with permission). Being "intermediate" with JS (need to learn more), I was wondering if anyone would like to review my code for efficiency. ...
1
vote
1answer
155 views

Implementing plugins in my Ruby social aggregator app

Some time ago I started with a small Ruby project. I call it social_aggregator. This software aggregates information from different networks to one xml-stream, ...
5
votes
1answer
109 views

Tooltip plugin for portfolio website

I am writing my own tooltip plugin for my portfolio website that I am currently working on. It works rather well, however, I feel that there is a lot I could improve. This is one of my bigger jQuery ...
4
votes
1answer
97 views

Replace radio/checkbox plugin

I've just created my first plugin, but I think I've written too much bloated code. Could you point me to the right direction? ...
3
votes
1answer
504 views

jQuery plugin to ajaxify forms

This is my first foray into the wild world of jQuery plugin development. The plugin "ajaxifies" forms, which isn't particularly spectacular: It gets the basics (action, method) from the form ...
2
votes
1answer
95 views

Wordpress filter post by metavalue

I am making a filter to get posts by status that are saved by post metavalue in a Wordpress plugin. It is a question and answer system, where the question and answer are post objects. ...