How would I implement the jQuery Cookie Plugin into this snippet of jQuery, so it saves the open/closed state of the toggles upon leaving the page?
$(document).ready(function() {
$('a.toggle').click(function() {
var id = $(this).attr('name');
$('#module' + id).slideToggle('fast');
$('a.toggle[name='+id+']').toggle();
retu...
jQuery plugin to add comma separating numbers into three digits without white spaces and if total digits are under three, then no comma added.
Ex. 2984 => 2,984 and 297312984 => 297,312,984 and 298 => 298
$('span.rawNums').digits();
Thanks.
...
Hi,
I am trying to understand the jquery plugin syntax, because I want to merge two plugins into
one. The blinker that also needs to be able to stop de interval or run a number of times.
Anyway,
is this syntax the same as
jQuery.fn.extend({
everyTime: function(interval, label, fn, times) {
return this.each(function() {
...
Hello,
I am still trying to understand plugin procedure
so I can write my own or adapt another.
I try to learn from this plugin
It sets methods with fn.extend and then passes itself(with this) to some function
made in jquery.extend.
jQuery.fn.extend({
everyTime: function(interval, label, fn, times) {
return this.each(func...
I am developing a website where i am using CSS based layouts with absoulate positions. I would like to know is there any plug in for IE 8 which will tell based on the mouse where i am moving with the position (In Pixels).
I want to know with out any JS. I am looking is there any external plug in which will allow me to find out the posi...
Hi everyone, I am trying to write a plugin for ckeditor, like in the link below
http://stackoverflow.com/questions/1139766/ckeditor-custom-plugins-button/1994020#1994020
the problem is, I want the button to change once I click it, and change back, so the users knows something happened. how can i change the path to the icon after the but...
The JProfiler plugin of my Eclipse IDE (Eclipse 3.5) is configured to work with JProfiler 6.x which is installed on my machine.
I'd like to configure my Eclipse to work with JProfiler 4.x which is also installed on my machine. How can I do it through Eclipse UI?
Tried to find this option in Run --> 'Profile Configuration' but couldn't ...
I'm starting a medium (academic) project in C++ for which I need users to be able to write small scripts, which interact directly with the main program. My first thought as an aproach to this was to make something like Gedit does with it's plugins (in fact I thought about it because it is something very similar to what I need to do.)
I ...
I'm trying to use a jaxb plugin to insert a interface into a choice element generating the classes from maven. The problem is that I can't seem to figure out how to do so from maven, the repository isn't clear from the documentation and the only example (bellow) doesn't work, it seems to ignore the plugin (maven reports no error about no...
I don't seem to find any documentation on how to implement an home screen plugin for Nokia E52 devices.
Does someone know how to do this or where this documentation is?
...
I have used a jquery UI tabs plugin in my page and in one of the tab i have put a form. SO for example , the tab calls a page form.php which has the form tag of html. Now form.php uses ajax and jquery to submit the form. Does this sound feasible.
$(document).ready(function(){
$("form#formdata").submit(function() {
...
Hi everyone,
I have a question related to eclipse plugin development. Is there any means
by which I can programmatically change the background color in eclipse.
I am able to change the text foreground color by calling
setTextColor(color, offset, length, controlRedraw) in ITextViewer
but I don't find any function by which I can c...
Does anybody know of a jQuery plugin that will allow for what I'm calling "tiered options" within an HTML select element? By this I mean something similar to the folder/file structure system that you find on most Operating Systems. Here's a screen shot of what I'm talking about from Windows:
I'm not as much concerned with having the i...
I have an Eclipse plugin, that among other things, can create a project and give it several classpath entries. This in and of itself works fine.
These jars do not have source included in the, however there is a URL that can be used for Javadoc. I want to set this up programmatically for these classpath entries that the plug-in creates...
When I try to install the Android plugin for Eclipse on MacOS X (Leopard) I get the error:
Cannot create tempfile for site.xml
Permission denied
I'm not sure what persmissions the system is referring to. I have set this up on a Linux distro with no trouble at all.
...
Hi there,
I'm a newbie when it comes to writing plugins, but I like to learn ;).
I got the following wish. I want to write a plugin that turns a "div" with an id to a uploadform for an image file. By setting options I want to pass values for height/size/extension etc.
I want to be able to use the plugin more then once on a page. for ...
When it comes to adding gems/plugins I notice that sometimes the author name is prepended to the gem/plugin name, whereas other times it isn't. Is there any reasoning behind this?
Example:
config.gem "thoughtbot-factory_girl", :source => "http://gems.github.com"
Why not have it as:
config.gem "factory_girl", :source => "http://gems....
I use Eclipse for different projects, each with its own workspace. They need quite a different set of plugins (SVN vs hg vs git, AppEngine vs Tomcat vs OSGi, and so on), and I have all those plugins installed and active all the time, which clutters the workspace quite a bit. I'd like to selectively disable plugins for each workspace.
...
Hi guys,
I've written another plug-in for wordpress,
On my main options page i have 3 tabs, after i click save,
it updates my options, but when the page re-loads im on tab 1 of 3, were 3 = options page.
the options are still showing the old values,
until i either refresh the page or click on another page and come back..
all i need...
I just downloaded vim today.
The surround plugin documentation says:
Press cs"' inside "Hello world!" to change it to 'Hello world!'.
But where am I supposed to press cs"' and in which mode?
...