Project

General

Profile

Statistics
| Revision:

root / trunk / web / dojo / dojox / embed / IE / flash.js @ 12

History | View | Annotate | Download (493 Bytes)

1
/*
2
        Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
3
        Available via Academic Free License >= 2.1 OR the modified BSD license.
4
        see: http://dojotoolkit.org/license for details
5
*/
6

    
7

    
8
dojox.embed.Flash.place=function(_1,_2){
9
var o=dojox.embed.Flash.__ie_markup__(_1);
10
_2=dojo.byId(_2);
11
if(!_2){
12
_2=dojo.doc.createElement("div");
13
_2.id=o.id+"-container";
14
dojo.body().appendChild(_2);
15
}
16
if(o){
17
_2.innerHTML=o.markup;
18
return o.id;
19
}
20
return null;
21
};
22
dojox.embed.Flash.onInitialize();