Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<html xmlns="[URL unfurl="true"]http://www.w3.org/1999/xhtml"><head[/URL] runat="server">
<script type="text/javascript">
function closeLoginForm ()
{
loginFormDiv.style.display = "none";
}
function onLogin (id)
{
//Added this line and does not seem to do anything. this line should display the hidden section of the form
document.getElementById(id).style.display = "block";
loginFormDiv.style.display = "block";
loginFormDiv.style.top = event.clientY - 10;
if (loginFormDiv.style.pixelTop < 0)
loginFormDiv.style.pixelTop = 0;
else if (loginFormDiv.parentNode.offsetHeight < (loginFormDiv.style.pixelTop + loginFormDiv.style.pixelHeight))
loginFormDiv.style.pixelTop = loginFormDiv.parentNode.offsetHeight - loginFormDiv.style.pixelHeight;
loginFormDiv.style.left = event.clientX - 10;
if (loginFormDiv.style.pixelLeft < 0)
loginFormDiv.style.pixelLeft = 0;
else if (loginFormDiv.parentNode.offsetWidth < (loginFormDiv.style.pixelLeft + loginFormDiv.style.pixelWidth))
loginFormDiv.style.pixelLeft = loginFormDiv.parentNode.offsetWidth - loginFormDiv.style.pixelWidth;
}
</script>
<title>Project</title>
<link href="css/08Styles_Blue.css" rel="stylesheet" type="text/css" />
<link href="css/08Styles.css" rel="stylesheet" type="text/css" />
<!--DO NOT REMOVE STYLE FOR: div#mainColumn ul-->
<style type="text/css">
div#mainColumn ul {
margin-left: 8px;
_margin-left: 20px;
}
body
{
background-color: #faffff;
}
.partBody
{
border: solid 1px #808080;
font: 8pt Verdana, Arial, sans-serif;
}
.partLabel
{
border-bottom: solid 1px #808080;
color: black;
background-color: #fafaff;
font: 8pt Verdana, Arial, sans-serif;
font-weight: bold;
}
.loginlabel
{
font-weight: bold;
font-style:italic;
}
div#mainForm {
clear:none;
}
</style>
</head>
<body>
<a href="#main">
<img src="/images/jump.gif" alt="Jump to main content" border="0" id="jump" height="1" width="1"/></a>
<a name="top" id="top"></a>
<div id="topic_wrapper" >
<div id="topicText" >
<div id="topicShading" >
</div>
<div class="topicSubhead" > </div>
<h1 class="topicHead" >ProjectWise</h1>
<div class="topicSubhead" >ProjectWise Web Interface</div>
</div>
</div>
<!-- End topic_wrapper ___________________________ -->
<form runat="server">
<table style="width: 100%" cellpadding="0" border="0" cellspacing="3">
<tr>
<td colspan="2" align="right">
<span class="loginlabel">
// WHAT DO I NEED TO DO HERE.
<a href="#" onClick="onLogin('mainForm'); return false;">Login/Logout</a></span>
</td></tr>
</table>
<div id="loginFormDiv" style="display:inherit; position:fixed; middle: 10px; background-color: #9999CC;
border: outset 2px white; width: 300px; padding: 3px; margin-left: 350px;">
<ec:LoginForm ID="loginForm" runat="server" ConnectionId="default" />
<div style="text-align: right">
//Closed logon From
<a href="#" onClick="closeLoginForm();return false;">Close</a></div>
</div>
<div id="mainForm" style="display:none">
<table style="width: 100%" cellpadding="0" border="0" cellspacing="3">
<tr>
<td colspan="2" class="partLabel">
ProjectWise Search
</td>
</tr>
<tr>
<td colspan="2" class="partBody">
<pw:Search ID="search" ConnectionId="default" Title="Search" runat="server" Width="100%" />
</td>
</tr>
<tr>
<td class="partLabel">
ProjectWise Navigation
</td>
<td class="partLabel">
ProjectWise Content
</td>
</tr>
<tr>
<td rowspan="3" class="partBody" style="vertical-align: top; width: 25%">
<pw:Navigation ID="navigation" ConnectionId="default" Title="Navigation" Height="700px"
runat="server" />
</td>
<td class="partBody" style="vertical-align: top; width: 75%">
<pw:ContentControl ID="content" ConnectionId="default" Title="Content" Height="350px"
runat="server" />
</td>
</tr>
<tr>
<td class="partLabel">
ProjectWise Properties
</td>
</tr>
<tr>
<td class="partBody" style="vertical-align: top; width: 75%">
<pw:PropertiesControl ID="properties" ConnectionId="default" Title="Properties" Height="350px"
runat="server" />
</td>
</tr>
</table>
</div>
</form>
<div id="footer_wrapper">
</div>
</body>
</html>
<div id="mainForm" style="display:none">
<table style="width: 100%" cellpadding="0" border="0" cellspacing="3">
<tr>
<td colspan="2" class="partLabel">
ProjectWise Search
</td>
</tr>
<tr>
<td colspan="2" class="partBody">
<pw:Search ID="search" ConnectionId="default" Title="Search" runat="server" Width="100%" />
</td>
</tr>
<tr>
<td class="partLabel">
ProjectWise Navigation
</td>
<td class="partLabel">
ProjectWise Content
</td>
</tr>
<tr>
<td rowspan="3" class="partBody" style="vertical-align: top; width: 25%">
<pw:Navigation ID="navigation" ConnectionId="default" Title="Navigation" Height="700px"
runat="server" />
</td>
<td class="partBody" style="vertical-align: top; width: 75%">
<pw:ContentControl ID="content" ConnectionId="default" Title="Content" Height="350px"
runat="server" />
</td>
</tr>
<tr>
<td class="partLabel">
ProjectWise Properties
</td>
</tr>
<tr>
<td class="partBody" style="vertical-align: top; width: 75%">
<pw:PropertiesControl ID="properties" ConnectionId="default" Title="Properties" Height="350px"
runat="server" />
</td>
</tr>
</table>
</div>
function onLogin (id)
{
//Added this line and does not seem to do anything. this line should display the hidden section of the form
document.getElementById('[red]mainForm[/red]').style.display = "block";
function closeLoginForm ()
{
document.getElementByID('[red]mainForm[/red]').style.display = "none";
}