Places

 

  • Download
  • Documentation
  • Forums
  • Demo
  • Contact
  • Blog
  • My account

Meteora

Javascript Widgets

Controls

  • Autocomplete
  • Bubble
  • Calendar
  • Carousel
  • Datagrid
  • Dialog
  • Editor
  • Filebrowser
  • Form Control
  • Menu
  • Notebook
  • Picbox
  • Popup
  • Searchlist
  • Selection
  • Spinbutton
  • Tablesort
  • Toolbox
  • Treeview

Features

  • JsonRpc Core

Effects

  • Visual effects

Control.Toolbox

Widget demo

Click here.

HTML code

<div id="toolbox-demo-text" onclick="showToolbox(this)">Click here.</div>

Javascript code

Meteora.uses('Control.Toolbox');

function showToolbox(el) {

  var tbox = new Toolbox(
    Widget.fromHTML(
      '<h4>Lorem ipsum</h4>'
      +'<b>H</b>ello world!
'

      +'This is a customizable div '
      +'that can handle any HTML node '
      +'you throw at it.
'

      +'You can drag me if you like.'
    )
  );

  var pos = el.getPosition();
  tbox.moveTo(pos.y - 5, pos.x - 5);
  tbox.show();
}

Documentation

If you're looking for more documentation about this widget, you may want to read Control.Toolbox documentation

Powered by textmotion

(c) 2008 Astrata Software