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

7
votes
3answers
105 views
+100

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
49 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
46 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
36 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
84 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
38 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
81 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 ...
3
votes
0answers
46 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
47 views

A more elegant way of 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 ...
5
votes
1answer
41 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
0answers
69 views

ForceNumeric plugin [closed]

I found this plugin on net, and I customized it for maxIntegerPlaces and AllowDecimal (to allow only single ...
1
vote
1answer
31 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
198 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
44 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 ...
1
vote
1answer
51 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
79 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
86 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 ...
1
vote
1answer
68 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
87 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
88 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
232 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
81 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. ...
1
vote
1answer
87 views

jQuery plugin best practice

This is a plugin I wrote a while ago and I'm trying to improve it. Is this the best practice for jQuery plugins? Should I use options for flexibility? The initial aim was to replicate the syntax for ...
4
votes
2answers
127 views

My first jQuery plugin - blurStuff()

I've played with jQuery for some time now but have never written my own plugin. A question was asked: "can I blur an image using jQuery?" and I thought this to be a decent candidate to play with. ...
6
votes
1answer
439 views

Review of a jQuery plugin that helps create a responsive Menu

I've just launched my first project on GitHub. It's a jQuery plugin that helps create a responsive menu. It deals with interactivity (essentially using toggle and some classes), and leaves all the ...
1
vote
1answer
471 views

What about accessing jQuery plugin methods with triggers?

There is my jQuery Color Picker Sliders plugin you can access on jsFiddle: http://jsfiddle.net/styu/5H8cA/ I want to access some of the methods from outside of the plugins scope, namely showPopup(), ...
1
vote
0answers
182 views

jQuery carousel plugin - first plugin, advice for improvement and removal of errors

I have recently written my first jQuery plugin. It is a responsive jQuery carousel plugin. It seems to be functioning well apart from on window resize. Sometimes if the window is resized too fast I ...
3
votes
1answer
84 views

Display Twitter timelines and lists on a website

I've built a Twitter plugin recently and was wondering if I could get some feedback on it. There is also a PHP side that grabs the actual tweets and I can post that code if it's needed. ...
5
votes
1answer
77 views

Plugin for pulling Tweets

I've been working on a jQuery plugin for pulling tweets since the v1 endpoints were all closed off and you need oAuth now. This is just the jQuery part but if you want to see the php behind it I'll be ...
7
votes
1answer
198 views

First jQuery Plugin - SmoothSlider

I've been working with jQuery, mostly consuming plugins and using bits and pieces here and there for other functionality. Anyways, I wrote some standalone functionality in jQuery for a project and ...
3
votes
1answer
412 views

Custom event to match CSS :target pseudo-class

The following code makes jQuery trigger a new target event on elements when they become the target of the fragment identifier. For a very basic example, the ...
3
votes
1answer
41 views

Cross-browser/OS testing and review of my jQuery Plugin (Hovr)

I've created a simple jQuery plugin to allow developers to quickly create image hover effects with very simple markup. I also created an option to automatically create the mouseover or mouseout ...
2
votes
1answer
125 views

RSS Feed Calendar Plugin

This plugin is initialized like so: ...
0
votes
2answers
157 views

First jQuery Plugin (Request Code Review)

Would like a code review for my first simple slideToggle jQuery plugin. Demo: https://rawgithub.com/Shivambh28/ezToggle/master/demo.html ...
3
votes
1answer
287 views

Plugin for WordPress and Foundation Reveal

I figure that someone here probably knows a much better way to do this. I'm still figuring out AJAX and jQuery, so I consider that I still need to master quite a bit of knowledge. My function ...
1
vote
2answers
105 views

First jQuery Plugin, Would like a code review

I created my first jQuery plugin over this weekend. I would like a code review so that I can improve my code in the future and learn from any mistakes I make. Any tips for Github would also be greatly ...
2
votes
1answer
51 views

Review my browser reward plugin

I've never put together a plugin before but I thought this would be useful to push technology forward. It's basically a browser sniffer, but if the user has a modern browser it will reward them for ...
1
vote
1answer
220 views

Review my jQuery plugin structure

I'm trying to learn learning javascript and jQuery plugin standards, and after some googling and testing I've come up with this pattern: ...
2
votes
1answer
94 views

jQuery plugin authoring: Vertical Center example

I am fairly new at writing jQuery plugins. Moreover, I am a huge fan of best practice. I have written a plugin which centers an element inside its parent. I would love some feedback on how I could ...
0
votes
1answer
156 views

Review my first attempt at a jQuery plugin

So this is my first attempt at creating a jQuery plugin. InstaSlider is a lightweight jQuery image slider / carousel plugin that populates content from an Instagram hashtag. After searching for a ...
2
votes
1answer
179 views

Zepto / jQuery plugin base

I am looking for a starting point to code plugins, primarily for Zepto.js (with fall back for jQuery). These will provide reusable functions for Tumblr theming. However, I can't seem to find ...
3
votes
1answer
117 views

jQuery dropdown plugin

I'm looking for OOP tips or advice. ...
1
vote
0answers
130 views

jQuery highlightNavigation plugin

I have written my first jQuery plugin using one of the design patterns suggested on jQuery's site: http://docs.jquery.com/Plugins/Authoring. As listed below in the description comment, it's purpose ...
1
vote
1answer
2k views
0
votes
1answer
244 views

Review of jQuery Plugin for TreeViews

Looking for a review of my first published jQuery Plugin. It's for treeviews, very basic example demo can be seen at: Demo Everything works fine, just looking to see if I can get some feedback on ...
2
votes
1answer
175 views

Optimizing my jQuery form popup plugin

Im trying to get better at writing jQuery plugins. Was hoping to get some feedback on my notes, but also just about the general architechture and implenmentation of this pattern (dont even know this ...
5
votes
1answer
123 views

CSS Good Practice on a JavaScript Plugin

I've realized a jQuery Plugin recently and made a basic default CSS for it. As I'm mainly a server-side guy, I'm not too familiar with CSS and would like to have insight about what could be improved. ...
3
votes
2answers
527 views

jQuery Object Oriented Plugin

Update: Great answers up to now, but I would still love to have a bit of review about possibility of variable caching and the filter I'm using for rows and page sets! After seeing a lot of ...
2
votes
0answers
125 views

jQuery plugin boilerplate jquib

Inspired by jqueryboilerplate.com, I extended their boilerplate to fit my needs. Coming from PHP development, I wanted to have a good starting point for writing jQuery plugins with a defined ...
2
votes
1answer
174 views

jQuery plugin for easy CSS3 transformation

I wrote it more for educational reasons and less as something that can compete with existing alternatives. But I enjoyed writing it and wish to get some feedback, JavaScript is my second language :) ...