Open main menu

CDOT Wiki β

Changes

User:Minooz/OSD600/popcorn/doc

835 bytes removed, 23:01, 26 February 2011
Documentation for tagthisperson plugin
_end:
};
 
})());
 
</pre>
target - The id of the document element that the text needs to be - attached to, this target element must exist on the DOM
</pre>
 
 
 
 
// Keep track of qty and sequence of options' objects based on the options' target var count = 0; var targetObj = {}; function addCount( target ) { targetObj[ target ] = ++count; } return { manifest: { about:{ name: "Popcorn tagthisperson Plugin", version: "0.1", author: "@annasob", website: "annasob.wordpress.com" }, options:{ start : {elem:'input', type:'text', label:'In'}, end : {elem:'input', type:'text', label:'Out'}, target : 'tag-container', person : {elem:'input', type:'text', label:'Name'}, image : {elem:'input', type:'text', label:'Image Src'}, href : {elem:'input', type:'text', label:'href Src'} } }, _setup: function( options ) {
1
edit