Tagged Questions
0
votes
1answer
78 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 ...
1
vote
0answers
44 views
Review my 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 ...
1
vote
0answers
51 views
Jquery Dropdown plugin looking for OOP tips or advice!
;(function ( $, window, document, undefined ) {
if ( typeof Object.create !== 'function' ) {
Object.create = function (o) {
function F() {}
F.prototype = o;
return ...
0
votes
1answer
36 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 ...
1
vote
1answer
100 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 ...
3
votes
2answers
196 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 ...
1
vote
0answers
83 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 :)
...
1
vote
0answers
37 views
Creating and referencing markup…cloning, etc. efficient system for this plugin
I am pulling multiple feeds from youtube that have a callback function which makes markup from each feed. They add that markup to a documentFragment stored in var data. When all the feeds have ...
1
vote
1answer
88 views
Pattern for creating a JavaScript plugin
I 'm currently using this pattern to create and extend a globally accessible custom plugin to be used in a web application:
; // defensive programming: script may be concatenated with others
...
1
vote
1answer
344 views
jQuery countdown - accuracy
I'm using this simple plugin to show a simple countdown in my pages, what I would like is to keep it more accurate, cause somentimes it seems it isn't accurate.
This is the plugin:
/*
countdown is a ...
1
vote
1answer
100 views
Ajax plugin that binds to click and page load
I have an app that has a number ajax requests and instead of writing them all out, I created a plugin that takes options based on the request I am making.
I would like the ajax requests to occur when ...
2
votes
1answer
119 views
Review my first jQuery slider plugin
This is my first jQuery plugin. It is a simple slider that requires very little mark up in html. It works for my purposes but I am not a jQuery expert and I am wondering if there are mistakes or ...
2
votes
2answers
105 views
Please review different approaches for writing plugins/widgets in javascript
I have written a js library (think, jQuery, but with much much less features, and targetted for newer browsers on mobile).
This library provides a extension mechanism. One of the ways the extension ...
0
votes
0answers
167 views
Creating boilerplate for jQuery plugins
I've been writing some smaller jQuery plugins lately, and I've been thinking of writing up some boilerplate that I can use when writing new ones. I have code that works (for now), but I want to share ...
1
vote
1answer
215 views
Simple jQuery search on input element
Just wanted a way of attaching a jQuery search plugin to an input element (or collection) and be able to pass specific options at invoke time:
This is the plugin code
(function($){
$.fn.extend({
...
1
vote
2answers
346 views
My first jQuery plugin — Heftybox
I'm getting started with my first official jQuery plugin, and I'm just turning now looking for input. I want to know what I'm doing wrong or right so far and if everything is being developed in a ...