RE: How to move the avatar in my website |
The createBox() function in the embed JavaScript code is what add a <div id="avatar-avatarbox"> to the page for the avatar. The div is positioned as fixed on the bottom left by default. You can change the position of the "avatar-avatarbox" element in css, such as a style tag, for example: <style>#avatar-avatarbox { top: 10px; bottom: initial; right: 10px; left: initial }</style> If you want to position the avatar inside a div in your page, then you either need to reparent it in JavaScript, or create the <div id="avatar-avatarbox"> with all the correct children (canvas/video divs) and not call the createBox() function. To reparent the JavaScript code would be something like this (after the createBox() call): <script> |
|
|
|
|