Simple Insert

Extension Information
Extension File Name: 
JuiceSimpleInsert.js
Author: 
Richard Wallis
Extension Class Name: 
simpleInsertJuice
Function Parameters: 

Constructor arguments:
arg: juice - instance of juice
arg: insert - JuiceInsert for page
arg: func - function to call after insert has been shown [optional]
 

Example Code: 

var div = '<div  style="display: block; width: 100%; text-align: center;">' +
'Extended by <a href="http://juice-project.googlecode.com">The Juice Project</a></div>';
var insert = new JuiceInsert(div,"body","append");
var ins = new simpleInsertJuice(juice,insert);
ins.show();
 

 Basic insert extension.

This is used to place html, in the form of an instance of JuiceInsert, on to a page.

extendedbyjuice