Le contexte
un plugin:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
jQuery.fn.pluginobscur = function(options) {
var settings = jQuery.extend({
selectorParent: jQuery(this)
}, options);
return jQuery.rotatorrr(settings);
}
jQuery.pluginobscur = function(options) {
// Settings
var settings = jQuery.extend({  ...
 
../..
 
function methodeduplugin(){ ...}
 
}
je cherche à invoquer methodeduplugin() depuis un lien href sur la page ...


Code : Sélectionner tout - Visualiser dans une fenêtre à part
$.pluginobscur.methodeduplugin()
ne fonctionne pas ? le plugin serait il mal construit ?