J
Jason Mursch
I am new to programming and am trying to modify this existing script
to elliminate the Browser toolbar, etc. I am able to do this via
window.open, but with this existing script I am struggling where to
add this info?
Do I add it as a variable? or is it added like a property? i.e.
toolbars=no?
Here's the existing code I am working on. Thanks to anyone who can
find me a clue. Jay
This is the code between the body tags and I want to add properties
like: height, width, location x & y, and remove tool bars, etc.
--------------------------------------------------------------------
<script language="javascript">
function openInfoWin(winURL, winWidth, winHeight, winFeatures)
{
var selValue = document.Form1.cboSites.options[document.Form1.cboSites.selectedIndex].id;
//alert(selValue);
window.open('Default.aspx?SiteID=' + selValue);
}
</script>
<form id="Form1" method="post" runat="server">
<SELECT id="cboSites" name="cboSites">
<asp:Literal id="litOptions" runat="server"></asp:Literal>
</SELECT>
<INPUT id="btnView" type="button" value="Launch"
onclick="openInfoWin()">
</form>
to elliminate the Browser toolbar, etc. I am able to do this via
window.open, but with this existing script I am struggling where to
add this info?
Do I add it as a variable? or is it added like a property? i.e.
toolbars=no?
Here's the existing code I am working on. Thanks to anyone who can
find me a clue. Jay
This is the code between the body tags and I want to add properties
like: height, width, location x & y, and remove tool bars, etc.
--------------------------------------------------------------------
<script language="javascript">
function openInfoWin(winURL, winWidth, winHeight, winFeatures)
{
var selValue = document.Form1.cboSites.options[document.Form1.cboSites.selectedIndex].id;
//alert(selValue);
window.open('Default.aspx?SiteID=' + selValue);
}
</script>
<form id="Form1" method="post" runat="server">
<SELECT id="cboSites" name="cboSites">
<asp:Literal id="litOptions" runat="server"></asp:Literal>
</SELECT>
<INPUT id="btnView" type="button" value="Launch"
onclick="openInfoWin()">
</form>