jQuery Documentation Format
This is a very candid question. Can someone in the jQuery core team elaborate on the choice of the documentation format in jQuery source code ? I mean, it seems to be not standardize (doesn't use special tags or specific comments) with JSdoc or other format. Why such a choice ?
Sortable and Selectable together
Hi My question is: i need to mixed sortable & selectable plugin together! but don't work!!! Has a sulotion?
jquery.validate in chrome field loses focus on unhighlight
This is in Chrome (4) on both Mac and PC. When a field is marked as invalid and your are entering a valid value as soon as the value is valid and validate runs the "unhighlight" function the field loses focus and you must click with the mouse to regain focus. Any suggestions? You cannot add $(element).focus() to the unhighlight function because it runs on blur() so can never escape the field. As it works in every other browser I assume this is a Chrome bug but maybe there is a jQuery fix?
jQuery HTML5 Form Plugin
Hello, I recently develop a jQuery plugin HTML5 form validaton, its my first one =) its very simple, but usefull and its very well doc (English and Spanish). jQuery.html5form Thank you! Matiaswww.matiasmancini.com.ar
What license should I use for my plugins?
I have absolutely no idea about licencing for projects... I know that jQuery itself it protected using GPL and MIT. Could someone inform me as to what is usually used for plugin development? Or maybe some online resources that would explain it? Thank you
Add a plugin.
I know that this is probably the most asked question, but there is no direct way that I can see to upload a plugin in the plugins section of the site. I don't have access to any pages other than my account page. I have been trying to upload for two days, it can't be this difficult to upload to jQuery. Can someone tell me how this is accomplished; I would really appreciate it. By the way it is an HTML 5 video plugin with play/pause, seek, progress, loader, timer, volume, fullscreen and multi-video
[Cross-Domain iFrame] || How to close the iframe from within the iframe
Hello I create a plugin to show another page into my page by the usage of iFrame. What I do is to create an iFrame, resize it to the "Web Site A" document size and then load into the iframe a page from the "Web Site B" came from another domain. Then I like to add a controll into the "Web Site B" that will allow the user to close the iframe and then to be able to see again the "Web Site A". How can I do that. I don't wan't to add this functionality into the plugin, just I like to know how I can close
jQuery File Tree file linking
Good Afternoon, I am using jQuery file Tree and i would to be be able to have the files open in a new when i click on the name. Can someone help me please.
Access "this" in a "namespace"-function
Hi, i want to write a function that looks like this: $(elem).pluginName.disable(); and disable() should access "$(elem)" to trigger an Event. How can i achieve this? Thank your for your answers and sorry for my bad english.
plugin with functions for each element
Hello, I do not know how to explain it, but I'll try ... I have two or more elements, I would create, for each element, a box that controls some functions for that particular element. An example that could be cited are wysiwyg editors that can be applied in multiple textarea, and does not interfere in other's behavior. I'm having trouble researching this, if they have any explanation or reference would be of much help.
Variables in jquery plugin with multiple methods
Hello, I have created my first jquery plugin and I am not sure if I am using the variables the"correct" way. The plugin is working fine as I did it, I just want to know if there is a more elegant way of doing it. My question is: am I declaring and setting the variables in a "correct" way? The plugin: It takes an element and turns it into a basic scroll roller. Source code: (function( $ ){ var settings = { speed :10000, totalWidth :500, loop :true, construct :'span' }; var root; var methods = { init
Sorting dates with tablesorter plugin
Hi folks, this one is driving me mad! I have a table of data that I was hoping to sort using the tablesorter plugin but I'm finding that it doesn't work at all on date columns. I wonder if it's because I'm working with UK dates... here's my call to the plugin: <script type="text/javascript"> $(document).ready(function() { //Attach the LoadUsers template event to the link/button $("#UsersTable").tablesorter({ dateFormat: 'dd/mm/yyyy',
JQuery Datepicker - Key events - goals?
I'm trying to ensure my forms are as keyboard-accessible as possible without touching a mouse and I've noticed the datepicker doesn't suit that goal, so I'd like to get an idea of what the JQuery dev team's goals are exactly for the datepicker, and whether I should be focused on writing my modifications to it as a hack for me or a patch for JQuery UI. It's also possible someone will reply saying "That already exists, just pass this option" etc. The 2 issues I see with JQuery UI and how I'd fix them:
Alternative to $.event.handle in 1.9.0
Hi, I have written a library of mobile 'events', that unifies mobile and desktop clicks and touches into a single event (see here > https://github.com/benmajor/jQuery-Mobile-Events). I (rather foolishly) relied on two undocumented jQuery features to handle certain areas within the code. One of them was $.attrFn, which I have been able to fix by declaring it myself, but the other is a little more difficult, it is the $.event.handler. The full code that no longer works is as follows: function triggerCustomEvent(
Cannot Upload .js Files As A Release
Everything seems to be back now, but there is a possible feature change that I wouldn't mind information on. I've got used to upload the jquery.pluginname.js file when I add a release, but now I get this message... It is only possible to attach files with the following extensions: zip gz tar bz2 rar tgz tar.gz dmg rpm deb. Do I *have* to zip up my .js file now in order to upload it?
Does jQuery.validate.js has internationalization or localization options ?
Does jQuery.validate.js has internationalization or localization options ? If yes, how can we achieve that? If no, still Is there any other tools or pugin or anything which helps me to achieve that through jQuery.validate.js ?
Superfish new functionality
Attached is an ammendment I have made to Superfish, to give a onBeforeHide() functionality. Works in the same way as the onBeforeShow() function. This allows you to have sexy hide effects, eg slideUp(). Hope this helps people and feel free to incorporate it into any future releases of the plugin. S
Supersized jquery plugin
Hello Everyone. I am not sure if you have seen the supersized plugin but its a great piece of development by a guy called Sam Dunn via build internet. Its got great full screen features for galleries. I have been trying to develop this a little further for myself and for my specific requirements. I am not sure if anyone knows how to create a cue for the images to slide into view with this plugin or not because at he min the slides just slide across right next to each other. Does anyone know how to
jQuery UI widget factory, separate widgets sharing data
Hi All, I think I'm missing something here. I thought that when you created a new widget each instance of that widget's attributes are unique to it. It seems that a change of one internal attribute in one, affects all the other instances. Here's jsfiddle demonstrating the issue: http://jsfiddle.net/xVMuh/1/ In this case, shouldn't each value logged be unique to when the widget was created? What is going on here? It seems "that this.something.A = new Date().valueOf()" is actually setting the widgets
Metadata plugin
Is the metadata plugin being maintained anymore? The version on github is apparently not the most recent version, which is 2.1. The 2.1 version has support for HTML5 custom data attributes, but with surprising semantics (string values have to be double quoted, with resulting bug reports). And a number of other bugs, all going stale or inundated with spam. I'd like to help improve the situation, but I'm not sure how to proceed. EDIT: I've submitted a couple of pull requests on github: http://github.com/jquery/jquery-metadata/pull/1
Update Project
Hi, I can't update my project in jQuery Plugins! "Your submission has triggered the spam filter and will not be accepted" I've tried with minimal text, without success. From what I saw of Drupal and Mollon, there's nothing I can do. This occurred after 4 or 5 previews without save. I do not know who manages the users. But you can enable the update of the project? User: CHW Project:WiseJS or Anyone have any ideas? Best regards, CHW
Disable() Enable() for anchor tags
I have designed a toolbar that uses anchor tags (<a>) with click events assocated with each one. I want to build a JQuery plug-in that allows me to easily enable and disable certain anchor tags in my toolbar with syntax similar to this... $("#aDelete").linkbutton("disable"); These things would have to happen in the "disable" event: 1) The CSS class would have to change to a "disabled" class to change the look of the button. 2) The current event stack (especially the "click" event) would have
Ideas on how to make direction-aware scrolling div?
Sorry for the confusing title.. but what I'm looking for is something similar to the scroll follow plugin, but have it detect which direction the user was scrolling. If something like this already exists, even better. But if not, I'll try to make a plugin myself. The point is when the div that follows the scrolling is taller than the window it's in. In a situation like this, I want the bottom of the div to peg to the bottom of the window when I'm scrolling down, but have it peg to the top when
call internal function
Hi, I am tryin to develop some plugin. this is my start point: (function ($) { $.fn.One_vTest = function (options) { var defaults = { isMultiple: false, isInlineAnswer: true, ansReplayHolder: "#ansReply", rightAnswerClass: "rightAns", rightReplyHolder: "#RightReply", wrongReplyHolder: "#WrongReply" } var options = $.extend(defaults, options); return this.each(function () { }); }
Swf files with jquery
So I am using the the smooth scrolling function on a website I am building. The client is wanting to put multiple swf files on the page. Is there a way to attach the navigation buttons to activate the certain swf files? Any suggestions? Thanks!
How to reference original bound element in plugin callback?
I have plugin that simply opens a modal box and allows users to select a value form a picklist. The plugin attaches an event listen to open the select/modal box. This selected value will then be returned to a callback function. In this call back I would also like to reference the actual element the plugin was bound to but I am not sure how to do this. In the code see this section: "//************How do I " This is one of my first plugins so if there is a better way to do this please let me know.
Creating a "top of page" ???
jquery.accordian.js is what I'm using. I have a list and using the jquery.accordian.js as a verticle set-up, the list expands past the boundaires of the page. Thus resulting in seeing 3/4 of the disappear. How can I get the link within the "accordian" to go back to the top of the page when clicking on the selected link. If this did not make sense let me know. I need help.
Carousel for switchung iFrames or Web Applications?
Hello, I am a developer of business web applications, experienced in Javascript, HTML5, jQuery (itself) but haven't developed own jQuery plugins yet. I now need the expertise of experienced plugin developers, about feasability of the following scenario: I am evaluating possibilities to develop a "Windows-like" app switcher, in carousel style, which shall allow business users to switch between several web apps, loaded at the same time, but only have one visible in the foreground at a point of time.
Need a co-developer on a portion of my cookies plugin
Hello all, I wrote a javascript cookies library back in Nov of 2005 and released it as open source. I've maintained it over the years and added jQuery bindings to it a couple of years ago. While the cookie support works perfectly without jQuery, the bindings let you connect HTML elements to cookies and vice/versa. For example, a form input's value can be stored to cookie by `$( 'input#someInput' ).cookify();` or the input can be filled from cookie by `$( 'input#someInput' ).cookieFill();` This all
Event fired an extra time on each subsequent request.
Hi, I'm pretty new to plugin development (stared the weekend) and was wondering if someone could tell me why the following event will occur one more time it did the last time on each subsequent time it's being fired? It's pretty much just opening a modal which will allow the user to create a new record. Upon close, the callback in the client get called that will update the list on the calling page with the new record. Plugin: (function ($) { $.fn.extend({ addCustomService: function
finding x-nth tr of table (where x is current index of a looping array)
I'm developing a plugin that lets you group table rows (based on "tr.subheader"s) and toggle them "open" or "closed". See here for a working example: http://www.michaelsoutherton.com/sandbox/toggletablegroups/ The toggles work, and it even saves and loads the cookie correctly as well. The only thing I can't get it to do is "open/close" the appropriate table rows when the page loads. Specifically, I'm stuck on line 43 of the test page: $.each(CookieArray, function(index, value) { var CurrentRow
Broadcast events from my plugin
I have a little plugin that works fairly well for what i need it to do. It has defaults for properties and I let clients override those with their own values. I also have default functionality for some functions and users can also override those to introduce non-default behaviors when needed. The piece I can figure out is how I can provide event broadcasts from within my plugin that calling clients can listen in on and react to. Let me try to clarify - inside of my plugin something happens when a
Cycle Plugin Image positioning
I have the following CSS manipulating nested DIVs. It's essentially a horizontal table surrounded by navigation options with the slideshow in the middle. When I load this up, the slideshow appears outside the intended "cell", apparently attached to the upper-left corner of the browser. How do I wrestle this back into the desired "cell"? TIA, Perry <---snip----> #content_gallery { width: 700px; height: 420px; margin-left: 10px; margin-top: 80px; background-color: #62623C; } .container
Simple plugin for official plugin development pattern
Hello, Can someone point me to a simple jQuery plugin developed using the plugin development pattern mentioned at http://docs.jquery.com/Plugins/Authoring ? If there is a tutorial with a complete plugin, that would be even better. Thanks.
Change Each order of my plugin? $("#id3,#id1,#lid2).myPlugin()
Hi guys, I've wrote a plugin - and it works great for what I need - except I've noticed today that: return this.each(function() { Puts the elements in the order they appear in the DOM. So on my html page, I have this... <div id="id1"></div> <div id="id2"></div> <div id="id3"></div> But I want to change the divs in the order I provide the plugin. Like this... $("#id3,#id1,#lid2).myPlugin() The each function changes the order to how the elements appear on the page - 1,2,3 But this is no good. Please
Closing widget issue
Hi there, I am new to widget development and I am trying developing a dialog widget. How can I unload/close/kill/destroy the dialog from a command button which is part of the dialog ?
Jquery Content Slider using Jquery Cycle
I need sample code to create a Content Slider using Jquery Cycle. B L Praveen Web Developer
The name the Plugin?
The name of jQuery Plugin need a 'Product registration documents'? how to register a 'Product registration documents'? This is very Important for me
understanding the this keyword in jquery.fn
Hello all, In order to get me started writing my own plugins I decided to follow ch.11 of the 'Learning Jquery 1.3' from Karl Swedberg and Jonathan Chaffer. However I got stuck very early with the following piece of code (p.346): html: <style> .this{color:red} .that{color:blue;} .target{font-weight:bold} </style> <ul> <li class="this">Lorem ipsum dolor sit amet</li> <li>Consectetur adipisicing elit</li> <li>Sed do eiusmod tempor incididunt ut labore</li> <li>Magna aliqua</li> <li class="that">Ut
how do its made? different shape cutting on picture
Hi! I need help :( now I work currently working on a picture gallery but I would like to be added by users images and that must be pentagram :) and I can't What is the correct algorithm? please help me :(
Next Page