Boosted MR-S
03-04-2005, 05:51 AM
<table border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>$vba_options[portal_blockbullet]
GMail Login</b></span></td>
</tr>
<tr>
<td class="alt1" style="text-align:center; font-family:arial,sans-serif" nowrap=nowrap>
<div id=login style="font-family: arial,sans-serif">
<script type="text/javascript"><!--
function gaia_setFocus() {
var f = null;
if (document.getElementById) {
f = document.getElementById("gaia_loginform");
} else if (window.gaia_loginform) {
f = window.gaia_loginform;
}
if (f) {
if (f.Email.value == null || f.Email.value == "") {
f.Email.focus();
} else {
f.Passwd.focus();
}
}
}
//--> </script> <div style= id="gaia_loginbox" class="body"> <form action="https://www.google.com/accounts/ServiceLoginAuth" id="gaia_loginform" method="post"> <input type="hidden" name="continue" value="http://gmail.google.com/gmail?ui=html&zy=l"> <input type="hidden" name="service" value="mail"> <table cellpadding="1" cellspacing="0" border="0" id="gaia_table"> <tr>
<td class="alt1" style="font-family: arial,sans-serif">
<font color="#aa1002" style="font-family: arial,sans-serif"> <div class="errorbox-good"> </div> </font> </td> </tr> <tr>
<td class="alt1" nowrap style="font-family: arial,sans-serif" align="center">
<font size="-1" face="Arial, sans-serif" style="font-family: arial,sans-serif">Username</font></td>
</tr> <tr>
<td class="alt1" style="font-family: arial,sans-serif" align="center">
<div align="left" style="font-family: arial,sans-serif"> <input type="text" name="Email" value="" size="18"></div> </td>
</tr> <tr>
<td class="alt1" style="font-family: arial,sans-serif" align="center">
<font size="-1">Password</font></td>
</tr> <tr>
<td class="alt1" style="font-family: arial,sans-serif" align="center">
<div class="alt1" align="left" style="font-family: arial,sans-serif"> <input type="password" name="Passwd" autocomplete="off" size="18"></div> </td>
</tr> <tr>
<td class="alt1" style="font-family: arial,sans-serif" align="center">
<div class="alt1" style="font-family: arial,sans-serif"> <input type="submit" name="null" value="Sign in"> </div> </td> </tr> </table> </form> </div>
</div>
<script>
<!--
if (is_browser_supported) {
var form = el("gaia_loginform");
var url = form["continue"].value;
url = StripParam(url, "ui=html");
url = StripParam(url, "zy=l");
form["continue"].value = url;
}
// -->
</script>
</tr>
</table>
<br/>
There is probly a lot of excessive coding in here, but basically it works perfectly and it is formatted correctly. If you want to get creative with the coloring change the Class from Alt2 to Alt1 and make the tables alternate colors.
Enjoy!
<tr>
<td class="tcat"><span class="smallfont"><b>$vba_options[portal_blockbullet]
GMail Login</b></span></td>
</tr>
<tr>
<td class="alt1" style="text-align:center; font-family:arial,sans-serif" nowrap=nowrap>
<div id=login style="font-family: arial,sans-serif">
<script type="text/javascript"><!--
function gaia_setFocus() {
var f = null;
if (document.getElementById) {
f = document.getElementById("gaia_loginform");
} else if (window.gaia_loginform) {
f = window.gaia_loginform;
}
if (f) {
if (f.Email.value == null || f.Email.value == "") {
f.Email.focus();
} else {
f.Passwd.focus();
}
}
}
//--> </script> <div style= id="gaia_loginbox" class="body"> <form action="https://www.google.com/accounts/ServiceLoginAuth" id="gaia_loginform" method="post"> <input type="hidden" name="continue" value="http://gmail.google.com/gmail?ui=html&zy=l"> <input type="hidden" name="service" value="mail"> <table cellpadding="1" cellspacing="0" border="0" id="gaia_table"> <tr>
<td class="alt1" style="font-family: arial,sans-serif">
<font color="#aa1002" style="font-family: arial,sans-serif"> <div class="errorbox-good"> </div> </font> </td> </tr> <tr>
<td class="alt1" nowrap style="font-family: arial,sans-serif" align="center">
<font size="-1" face="Arial, sans-serif" style="font-family: arial,sans-serif">Username</font></td>
</tr> <tr>
<td class="alt1" style="font-family: arial,sans-serif" align="center">
<div align="left" style="font-family: arial,sans-serif"> <input type="text" name="Email" value="" size="18"></div> </td>
</tr> <tr>
<td class="alt1" style="font-family: arial,sans-serif" align="center">
<font size="-1">Password</font></td>
</tr> <tr>
<td class="alt1" style="font-family: arial,sans-serif" align="center">
<div class="alt1" align="left" style="font-family: arial,sans-serif"> <input type="password" name="Passwd" autocomplete="off" size="18"></div> </td>
</tr> <tr>
<td class="alt1" style="font-family: arial,sans-serif" align="center">
<div class="alt1" style="font-family: arial,sans-serif"> <input type="submit" name="null" value="Sign in"> </div> </td> </tr> </table> </form> </div>
</div>
<script>
<!--
if (is_browser_supported) {
var form = el("gaia_loginform");
var url = form["continue"].value;
url = StripParam(url, "ui=html");
url = StripParam(url, "zy=l");
form["continue"].value = url;
}
// -->
</script>
</tr>
</table>
<br/>
There is probly a lot of excessive coding in here, but basically it works perfectly and it is formatted correctly. If you want to get creative with the coloring change the Class from Alt2 to Alt1 and make the tables alternate colors.
Enjoy!