You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
3.2 KiB
54 lines
3.2 KiB
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>D'n'd</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
<link rel="stylesheet" type="text/css" href="css/basic.css"/>
|
|
<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
|
|
<script type="text/javascript" src="js/jquery-ui-1.8.9.custom.min.js"></script>
|
|
<script type="text/javascript" src="js/languages.js"></script>
|
|
<script type="text/javascript" src="js/script.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){
|
|
var lang = ""; //locale language
|
|
if(window.sankore){
|
|
lang = sankore.locale().substr(0,2);
|
|
} else
|
|
lang = "en";
|
|
$("<script type='text/javascript' src='js/translation/" + lang + ".js'>").appendTo("head");
|
|
if((typeof sankoreLang) == "undefined")
|
|
$("<script type='text/javascript' src='js/translation/en.js'>").appendTo("head");
|
|
start();
|
|
//here you can put your code
|
|
if(window.sankore)
|
|
sankore.enableDropOnWidget();
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<!--<div class="dnd_container">
|
|
<div class="dnd_1" id="dnd_1" ondragenter="return false;" ondragleave="$(this).css('border-color','#ccc'); return false;" ondragover="$(this).css('border-color','orange'); return false;" ondrop="$(this).css('border-color','#ccc'); return onDropTarget1(event);">Drop the item here ...</div>
|
|
<div class="dnd_2" id="dnd_2" ondragenter="return false;" ondragleave="$(this).css('border-color','#ccc'); return false;" ondragover="$(this).css('border-color','orange'); return false;" ondrop="$(this).css('border-color','#ccc'); return onDropTarget2(event);">Drop the item here ...</div>
|
|
</div>
|
|
<div class='black_overlay' id='fade'></div>
|
|
<a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'">открыть</a></p>
|
|
<div id="light" class="white_content">
|
|
Содержание<a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none'">закрыть</a></div>-->
|
|
<div class="toggle_mode">
|
|
<div style="width: 50%; height: 100%; float: left;">
|
|
<div id="display" style="float: right; width: 90px; cursor: pointer;" class="selected">
|
|
<div id="display_img" style="float: right;" class="green_point"></div>
|
|
<div id="display_text" style="float: right;">Display</div>
|
|
</div>
|
|
</div>
|
|
<div style="width: 50%; height: 100%; float: right;">
|
|
<div id="edit" style="float: left; width: 90px; cursor: pointer;">
|
|
<div id="edit_img" style="float: left;" class="red_point"></div>
|
|
<div id="edit_text" style="float: left;">Edit</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div style="width: 100%; height: 25px;"></div>
|
|
|
|
</body>
|
|
</html>
|
|
|