Toolbar Objects

 

 

The editor use two objects for easy calls and custom javascript to be added to the editor. You can place your custom calls
before and after any major event in the toolbar script.

PNE Tools Code 

 

 

PNETOOLS.SavePage()
Calls save page, writes custom CSS for cross browser support.
Sets the spacer height and places the HTML Into
PNEDITOR.HTML

 

PNETOOLS.ReloadVideo()

Deprecated for reload of video content if XSS was triggered.

 

PNETOOLS.Sidebar(Your side bar 1-10)
Call to display a menu bar.

 

PNETOOLS.NewHTMLLayer()

Creates new HTML Layer.

 

PNETOOLS.EmbedHTML()

Calls text entry menu for HTML embed and then
Creates a new HTML Layer with content.

 

PNETOOLS.ToolTip(your text)

Displays your tooltip.

 

PNETOOLS.PNEInt()

Turns on all event listners.

 

PNETOOLS.SortText()

Updates text from the textarea to the current active
internal div layer.

 

PNETOOLS.SortDivText()

Updates text the current active internal div to the textarea.

 

PNETOOLS.Onselect()

Allow selecting until next cycle.

 

PNETOOLS.ONContextMenu(True / False)

Allow right click browser default menu.

 

PNETOOLS.LoadInlineEditor()

Load inline toolbar CKeditor.

 

PNETOOLS.FontSize(-+number)

Change the font size of global internal layer.

Example call: PNETOOLS.FontSize(‘-1’)
Sets font size 2 px smaller.

 

PNETOOLS.TextAlign()

Deprecated. Use PNETOOLS.STYLEINLINE.

 

PNETOOLS.FontSelect(this)

Updates internal div to selected font.

 

PNETOOLS.FontWeight(this)
Toggles internal div from bold to normal.

 

PNETOOLS.FontStyle(this)

Toggles internal div from italic to normal.

 

PNETOOLS.LTR(this)

Toggles internal div and text area to Left To Right.

 

PNETOOLS.LTR(this)

Toggles internal div and text area to Right To Left.

 

PNETOOLS.STYLEINLINE(Style,Value)
Styles current internal inline div.
Example: PNETOOLS.STYLEINLINE(“color”, ‘black’)

 

PNETOOLS.Preview()
Loops editor to hide editor objects.

 

PNETOOLS.WindowBar()
Toggles the window move editor move bar.

 

PNETOOLS.Undoit(Numeric)
Undo , Redo step count.
Example redo: PNETOOLS.Undoit(1)
Example undo: PNETOOLS.Undoit(-1)

 

PNETOOLS.Undoit()

Toggles visibility of the Guides and rulers.

 

PNETOOLS.Qupdate()

Toggles visibility of the Guides and rulers.

 

PNETOOLS.GetHTML()
Gets HTML and displays it.

 

PNETOOLS.BGColor(Background Color)

Set background color.

PNETOOLS.ResetMargins(Number)

Sets margin Width.

 

PNETOOLS.DeleteLayers()

Deletes current active layer.

 

PNETOOLS.TransDiv()

Sets the transparency of div.

 

PNETOOLS.DisplayURLimage()
Display the URL image of dialog box.

 

PNETOOLS.DisplayITB()
Display Image to base64 menu.

 

PNETOOLS.GradWin()
Display gradient menu.

 

PNETOOLS.LayersAdjust()

Adjust the z-index of current active layer.

 

PNETOOLS.OFFSiteHBlur()

Hide offsite hyperlink option.

 

PNETOOLS.OCHUL()

Set hyperlink on current layer.

 

PNETOOLS.OCHULI()

Force layer menu update.

 

PNETOOLS.OCCUL()

Set hyperLink.

 

PNETOOLS.AutoSaves()

Turn on auto saves.

 

PNETOOLS.PlaceImage(image url)

Place url image.

 

PNETOOLS.CONTROLLayers()

Force update of layers menu.

 

PNETOOLS.SelectLayerStyle()

Update current layer style.

 

PNETOOLS.VHC()

Validate HEX Color.

 

PNETOOLS.CheckEmbed()

Check embed for duplicate content.

 

PNETOOLS.SubmitEmbed()

New div layer with embed HTML.

 

PNETOOLS.SetGrad()

Set gradient background on current layer.

 

PNETOOLS.Grids()

Hide / Show grids.

 

PNETOOLS.SingleHandle()

Toggle single handle for moving layers.

 

PNETOOLS.CloneLayers()

Clone current layer.