Targets on-demand.
Overview
When talking about targets in the world of crossProbe, we refer to inline layered HTML containers, also known as Layers. crossProbe can create crossbrowser targets for your media on the fly just by using the createLayer method. As you see in this showoff, the document does not still have to be parsing for this. A new target can be created at anytime, bound to an event or something else trigged by script or a user.
This target scenario
When the button gets clicked, createLayer is executed and a new target is created.

Secondly, we have to put something into the target. Here there are two different methods to choose from, namely buildObject and buildSandwich. buildObject is used to shove just the mediaobject related HTML into the target-container. But by using the buildSandwich method you can also have custom HTML going along the mediaobject, as we have in this showoff.

The third step is to make things visible and positioned. Things like these can be pretty hard to manage crossbrowserwize, since Netcape and MSIE uses different implementations when it comes to position elements. We have merged all positioning issues into the placeTarget - method to make this task a piece of cake, even for your mama. The placeTarget method handles X, Y, Z positioning and visibility by arguments.
- for targets...