All Questions
159 questions
3
votes
1
answer
63
views
Allowing developers to quickly create image hover effects
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 ...
6
votes
1
answer
681
views
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
1
answer
1k
views
jQuery Color Picker Sliders plugin
I want to access some of the methods from outside of the plugins scope, namely showPopup(), hidePopup() and ...
2
votes
1
answer
690
views
jQuery dropdown plugin to prevent scanning the whole DOM on every click
Here is a simple plugin I have written for a jQuery dropdown effect. Simple show / hide (although open classes may be better).
When you click the HTML the event searches the whole DOM for a specific ...
0
votes
1
answer
344
views
Binding touch events and moving an element
I have the following jQuery plugin that binds touch events and moves an element.
In the functions moveMe and snap, there is ...
2
votes
1
answer
89
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.
jsFiddleiddle
...
3
votes
0
answers
148
views
jQuery modal dialog plugin
I'm working on creating a new jQuery modal plugin. I'm pretty good at jQuery but still pretty new to the whole object oriented plug-and-play style of plugins so I used a different plugin I found ...
-2
votes
1
answer
187
views
Stateful Javascript plugin [closed]
I am new to Jquery plugins, I was searching a lot about widgets and plugins, however I am still not sure if this code is okay. Should I use widgets for stateful plugins? Or is this plugin correct? ...
2
votes
0
answers
131
views
jQuery plugin to highlight HTML on click/hover events and easy grouping
I have this plugin that I have finally finished the big pieces of, there's one or two minor details that are not yet implemented do to lack of a decision yet but everything else is there.
I wrote it ...
6
votes
2
answers
187
views
Handlers for checkboxes to select various map features
I am developing a plugin for QGIS (a Geographic Information Systems) software which uses Python. I have several functions where each of them is connected to a QCheckbox. So when a checkbox is checked, ...
20
votes
3
answers
670
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 ...
2
votes
3
answers
258
views
jQuery plugin to highlight text spans in various colors
I am trying to tackle two fairly massive concepts through JavaScript and jQuery, the first being object-oriented programming and the second being how to build robust modular plugins with an OOP ...
0
votes
2
answers
63
views
injectOptions jQuery plugin
Over the past year I've found myself moving from back-end development to something more akin to full-stack development. I've created the following jQuery plugin as a test of my hopefully-not-so-...
3
votes
0
answers
80
views
jQuery plugin for a lightweight dropdown
I'm working on my first jQuery plugin for a lightweight dropdown. This dropdown behaves just like a ordinary <select>.
Before implementing new features I'd ...
1
vote
1
answer
84
views
Popup jQuery plugin
I need a code review for my first jQuery plugin. It seems like a lot of code and I want to hear something about my plugin code structure and more.
...
1
vote
1
answer
218
views
Documentation for a Minecraft server plugin
I'm working on a minecraft plugin for my Spigot Minecraft server.
I have a class which works as expected. I've done my best to hammer every single bug out (famous last words, I know) and am now ...
4
votes
1
answer
792
views
Integrating the Ace embeddable code editor for editing HTML, CSS, and JavaScript
I am currently implementing the Ace-editor embeddable code editor. In to my application.
I use a div with a certain class(example: editor_js) to render the editor the div also gets a data attribute (...
4
votes
2
answers
123
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 ...
0
votes
1
answer
206
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 ...
7
votes
1
answer
4k
views
Compile-time plugin system
Background
For a piece of software that I need to get extensible, I wanted to design a
simple compile-time "plugin" system in C++.
My use case was that the program (actually a library) can accept ...
3
votes
2
answers
261
views
Nagios plugin webdav check 2
Original post: nagios plugin webdav check
According to the good advice I have received I've made some modifications to the code:
...
1
vote
1
answer
61
views
Tabster / jQuery based plugin
I am PHP programmer whom only recently started to play with a bit of JS/jQuery. Because of that my code is probably something that most of You hardocding JS programmers would see as disgrace (again I ...
2
votes
1
answer
1k
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
1
answer
100
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 ...
0
votes
1
answer
334
views
Setup options for a jQuery plugin
This code is the basic structure I use for coding plugins. It's pretty standard with the settings extended and the each loop. However, now I'm working on the best way to provide setters/getters. For ...
2
votes
1
answer
280
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 ...
4
votes
1
answer
76
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 protocols ...
1
vote
1
answer
562
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
...
4
votes
1
answer
108
views
Scale-able API development with macro definitions
In a couple of months I'll be part of a large(ish) project, and there's good chances my team will be a lot bigger, with at least 2 programmers (probably 3) and some 3-5, or more, consumers of the API ...
2
votes
1
answer
87
views
ngCordova plugin for audio player
I wrote a Cordova plugin for an app that I'm working on, and now I'm trying to write an Angular definition to wrap my plugin. So far, I've followed the model in ng-cordova.js:
...
3
votes
1
answer
7k
views
Monitor, read and display data from a dynamic log file
I am developing a plugin for intellij that basically monitors a log file and displays the data in a tool window within the IDE in real-time. I have managed to get it working but I would like to know ...
3
votes
1
answer
830
views
Simple Python plugin loader
I have written a simple system to load plugins from files in Python 2.7, and I'd like to see if any of it can be improved upon.
vedo.py
...
2
votes
1
answer
92
views
genContent plugin
This is a plugin for inserting content, which is for fallback for CSS generated content for IE
Please review and suggest optimization tips and or improvement of code. See the TODO in code and offer ...
6
votes
1
answer
309
views
jQuery plugIn to manage forms
I have just created my first jQuery plugin. I am looking to suggestions on how to improve it, leading to a code optimization.
...
3
votes
1
answer
790
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 clean,...
6
votes
1
answer
1k
views
jQuery Plugin - Sliding Tile Puzzle
I created a basic jQuery plugin to make a basic sliding tile puzzle.
...
1
vote
1
answer
78
views
jQuery Plugin options
The user can provide a JSON object to configure the plugin when they initialise it. I want those options to be available whenever a plugin action is performed.
I have read the plugin documentation ...
6
votes
1
answer
282
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 ...
4
votes
1
answer
100
views
Bash plugin to setup project for books
I'm writing a bash plugin to help people create books in a specific way. It's an ordinary shell script to setup the project and create its subresources. I'm using a loop to create barebones assets and ...
5
votes
1
answer
2k
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 ...
7
votes
2
answers
574
views
jQuery plugin to cycle through text and "typewrite" it out
I have written a jQuery plugin (my first for a long time) that simply cycles through strings of text in a data attribute and uses setInterval to type it out - it's ...
5
votes
1
answer
2k
views
Plugin Pattern for Generic Python Application
Summary
I am experimenting with a plugin pattern for a generic Python application (not necessarily web, desktop, or console) which would allow packages dropped into a plugin folder to be used ...
3
votes
1
answer
197
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 ...
11
votes
2
answers
1k
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 ...
11
votes
1
answer
252
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 ...
1
vote
1
answer
460
views
WordPress plugin for obfuscating a file URL
I'm making a WordPress plugin that obfuscates the real file URL and forces the download of one of this 3 types of URL:
Local: ...
3
votes
1
answer
842
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
1
answer
239
views
Tooltip popup plugin
This plugin displays a tooltip popup with the data obtained via Ajax. I am sure there are better ones out there, but my objective is to learn how to correctly build a plugin, not find the best one ...
1
vote
2
answers
231
views
slideToggle plugin
I would like a code review for my first simple slideToggle jQuery plugin.
Demo
...
4
votes
1
answer
600
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.
...