ginebra2/chrome/bedrockchrome/bookmarkview.superpage/BookmarkView.html
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 04 May 2010 12:39:35 +0300
changeset 0 1450b09d0cfd
child 3 0954f5dd2cd0
child 5 0f2326c2a325
permissions -rw-r--r--
Revision: 201015 Kit: 201018

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-EN">
<head>
	<script src="../../js/3rdparty/jquery-1.3.1.min.js" type="text/javascript"></script>
	<script src="../../js/3rdparty/jquery-ui/ui.core.js" type="text/javascript"></script>
	<script src="../../js/3rdparty/jquery-ui/ui.sortable.js" type="text/javascript"></script>
  <script src="../../js/LongPress.js" type="text/javascript"></script>
  <script src="../../js/locale.js" type="text/javascript"></script>
  <script src="../../js/Bind.js" type="text/javascript"></script>
  <script src="../../js/ActionButton.js" type="text/javascript"></script>
  <script src="../../js/SimpleButton.js" type="text/javascript"></script>
  <script src="bookmarkview.js" type="text/javascript"></script>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <link rel="stylesheet" id="CSSLink" type="text/css" href="bookmarkview.css"/> 
  <meta name = "viewport" content = "width = device-width, height = device-height, initial-scale = 1.0, user-scalable = no">
	<title>Bookmark View</title>

  <script type="text/javascript">
	  function updateBookmakrView()
	  {
	  	launchBookmarkView();
	  	
  		
  		// set the Width & Height
	  	$("#bookmarkListId").css({"width": window.innerWidth+"px", "height": window.innerHeight+"px"});
	  }

		var _sortingEnabled = false;
		window.onresize = function(){
	  		$("#bookmarkListId").css({"width": window.innerWidth+"px", "height": window.innerHeight+"px"});
	  		
	  		if(_sortingEnabled)
	  		{
					$('html, body').animate({
										scrollTop: parseInt(_sortEleOffsetTop)}, 1000);
	  		}
		}
	  
  </script>

</head>

<body onload=updateBookmakrView()>
<div id="bookmarkListId" class="bookmarkList">
		<ul id="bookmarkListTree"></ul>
	</div>
</body>
</html>