plugins

How to ensure images are loaded inside a JQuery plugin?

While creating a JQuery plugin that required image dimensions, I discovered that webkit browsers like Chrome often return 0 size for images because they're loaded in parallel. My quick and dirty solution was to wrap the code that calls my plugin in a $(window).load() event: $(document).ready(function() { $(window).load(function() {...

how to use jQuery to show up a non-modal dialog?

Here is a plugin for block dialog: http://malsup.com/jquery/block/#dialog But what I need is a non-block dialog. Is there such a plugin? It should be as light as possible ...

MS CRM - Pre Create plugin doesn't change property value

Hi I made a plugin for email entity and registered it on Pre Create event (child pipeline). Plugin is as simple as possible: public class AddDescription : IPlugin { public void Execute(IPluginExecutionContext context) { DynamicEntity di = (DynamicEntity)context.InputParameters["Target"]; di.Properties["descript...

How to Write OS X Finder plugin

I'm looking for a guide or sample code for writing Mac OS X Finder plugins? It would like to know how to do some simple actions: adding image overlayers to icons adding context menu items listen to file changes I found the following two resources: Writing Contextual Menu Plugins for OS X: An outdated document from 2002 that uses t...

Catching LoadLibrary() errors gracefully

I'm working on a piece of C++ software which runs on all Windows versions between Windows XP and Windows Vista. In my code, I developed a DLL which links against a standard library (the Qt library). Once my software is deployed, it's not unusual that the user doesn't have the exact same Qt build on his system but a slightly different con...

IE plugin development help

How do you develop a plugin for IE? I have tried with the help of many sites which is available in the google search. But I didn't get any solution for IE. I want to build a plugin=-in from scratch. I have the experience in Firefox plugin development but not in IE. :( Its more difficult... so any one have the knowledge in this area. ple...

Plugin to use Ruby on Rails Simple I18n backend with translations overridable in the database?

Hello, Hoping some learned Rails developers here can recommend an existing Ruby on Rails plugin or gem that allows you to continue using the Simple I18n backend whilst allowing you to optionally specify translations in the database. Here's why: I have one Rails app used for many websites. For the example I'll just use 2 websites: We...

jQuery form validation plugin dependency-callback

I am using this jQuery form validation plugin: http://docs.jquery.com/Plugins/Validation/Methods I am trying to use the dependancy callback: http://docs.jquery.com/Plugins/Validation/Methods/required#dependency-callback What I am trying to do is only require "BAR" when "FOO" has a certain value. Here's a basic example: <select name="...

python for firefox extensions?

Can I use python in firefox extensions? Does it work? ...

[jQuery] Cycle plugin refuses to scroll, no idea why.

I"m trying to make a gallery piece for my website. I know there are ones out there that would do most of what I want automatically but I'm hoping to be able to build my own that way I know exactly what's gone into it. Problem is, it's not working. Sort of. The CSS works as it's supposed to. The jQuery Cycle plugin is providing the sexy...

WordPress: Assigning widgets to individual pages

Are there any plugins or hacks that allow assigning widgets to individual pages? EDIT: Using self-hosted (.org) 2.8.4 An example of use would be: when you're editing a page in the admin, you'd ideally have the ability to assign widgets to that specific page. The default WP behavior is more "all or nothing" in that you assign widgets to...

How to Modify Eclipse Search Indexing Message

When you type in a word to search in Eclipse Help or any other application using Eclipse help, you get a message (in the place where help contents are usually displayed) about indexing (it is usually hard to see, because it happens very fast): something like "Indexing..." (or "Not found" after search is over and nothing is found). Is the...

Python question regarding a server listener

I wrote a plug-in for the jetbrains tool teamcity. It is pretty much just a server listener that listens for a build being triggered and outputs some text files with information about different builds like what triggered it, how many changes there where ect ect. After I finished that I wrote a python script that could input info into tea...

Displaying code snippets in wordpress.

Ok, not technically a programming question but I want a plugin for my wordpress blog that displays code snippets. Can anyone here recommend a good one? Also, do you guys know which one Jeff uses on codinghorror. That one looks really good. Thanks. ...

How visual studio ide registers a plug-in

I wonder how the VS2008 IDE registers a plugin. A db file, xml etc. since I know that once I call devenv.exe with the parameter to my plugin dll, the next time I launch VS IDE, my plug in is still there. Any leads on where it registers my dll? I can also make use of a best practice for such development pattern. I think of developing a b...

Why doesn't Wordpress plugin 'WP-Syntax' color Java well?

Look at this post for example - the C# examples are highlighted very well, but the Java ones are poor. I'm using the latest version of WP-Syntax BTW, does this belong on UserVoice or here? I couldn't quite decide. ...

What is the right way to modify a wordpress query in a plugin?

Basically i am playing with a plugin that allows future-dated posts on archive pages. My question is broader than this specific functionality, but everyone likes some context. I have my head around many of the plugin development concepts, but must be missing something very basic. I can successfully rewrite a query that gives me the res...

Writing a new refactoring plugin for Eclipse?

Is there any good documentation on implementing new refactorings in Eclipse? Specifically, I'd like to access the AST for a Java class, make some non-trivial changes, and save the result back to the source file. So far, the only documentation I've found is (1) the source code for the existing refactorings and (2) a few articles on the L...

Can someone provide a tabbed view plugin for jQuery?

Should be light in size and have an acceptable UI. ...

Google Chrome plugin ..

How does one go about embedding an application inside a web page shown in the Google Chrome browser like Adobe does with its Flash Chrome plug-in ? Is there an Api available to create Google chrome plugins ? Thanks ...