Files
WebODF/webodf/collabtest/test.html
T
Jos van den Oever 236dd81f31 Work towards moving the avatar line up and line down.
For this to work, the checking of the position of the selection should be stricter. This patch refactors the way the PositionIterator is updated when the cursor is removed. The iterator is now updated in such a way that no not-yet-valid offset needs to be set.
2012-10-05 17:31:58 +02:00

58 lines
1.4 KiB
HTML

<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<script src="../lib/runtime.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
var core = {};
var gui = {};
</script>
<script src="../lib/core/Selection.js" type="text/javascript" charset="utf-8"></script>
<script src="../lib/core/Cursor.js" type="text/javascript" charset="utf-8"></script>
<script src="../lib/core/PositionIterator.js" type="text/javascript" charset="utf-8"></script>
<script src="../lib/gui/SelectionMover.js" type="text/javascript" charset="utf-8"></script>
<script src="test.js" type="text/javascript" charset="utf-8"></script>
<style>
div#session1 {
position: absolute;
left: 0%;
width: 90%;
overflow: auto;
background-color: gray;
}
div#avatars1 {
position: absolute;
left: 90%;
width: 10%;
background: gray;
}
div#session2 {
position: absolute;
left: 0;
width: 90%;
overflow: auto;
background: #dddddd;
}
div#avatars2 {
position: absolute;
left: 90%;
width: 10%;
background: #dddddd;
}
</style>
</head>
<body>
<script type="text/javascript" charset="utf-8">
window.setTimeout(init, 0);
</script>
<div id="session1">
<div id="odf1"></div>
</div>
<div id="avatars1"></div>
<div id="session2">
<div id="odf2"></div>
</div>
<div id="avatars2"></div>
</body>
</html>