Zoho Writer

Source Code:

<!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">
<head>
  <title>Zoho Writer</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" type="text/css" href="http://www.netvibes.com/api/0.3/style.css" />
  <script type="text/javascript" src="http://www.netvibes.com/api/0.3/emulation.js"></script>
</head>
<body>

<?php

$width = "100%";
$height = "270";

if(!empty($_COOKIE['width']) && !empty($_COOKIE['height'])) {
	$width = $_COOKIE['width'];
	$height = $_COOKIE['height'];
}

?>

<form class="configuration" method="post" action="<?php echo basename($_SERVER['PHP_SELF']); ?>">
	<label for="width">Width:</label>
	<input name="width" id="width" type="text" value="<?=$width ?>" /><br />
	<label for="height">Height:</label>
	<input name="height" id="height" type="text" value="<?=$height ?>" /><br />
	<em>Leave the height without a unit specification; it will be in pixels. Either the width or the height may extend, if so desired, beyond the dimensions of the module itself.</em>
	<input type="submit" value="Configure" />
</form>

<div style="width: 100%; overflow: hidden;">
	<iframe src="http://www.zohowriter.com/MyDocs1.do" width="<?=$width ?>" height="<?=$height ?>" align="center" frameborder="0" />
</div>

</body>
</html>