I have 2 problems. In my webpage, I have a dropdown list with a button that takes the user to a popup window specific to the option. I am using Firefox 2.0.0.13. I have successfully validated my HTML and CSS code.
1. When I clear cache and refresh my webpage, it takes 3 tries before the popup window displays - I click on the button once, a white window the size of my webpage displays. I close it and click on the button again (for the same option) and a white window the size of my webpage displays again. Close that window and click the button again (for the same option) and a white window initially displays, then goes away and the normal sized popup window displays correctly. I can then close the popup and choose any other option and get the popup with the first try. Once I clear cache though, it starts over again.
2. Once the popup window is displaying, it initially displays as a white page the same size as the webpage, then when it connects to the URL the white page goes away and the normal sized popup window displays.
I'm looking for 1. the popup window to display the first time I click on the submit button whether I've cleared cache or not, and 2. the initial, extra white page to not display.
I really appreciate any help you might be able to offer.
Thank you.
1. When I clear cache and refresh my webpage, it takes 3 tries before the popup window displays - I click on the button once, a white window the size of my webpage displays. I close it and click on the button again (for the same option) and a white window the size of my webpage displays again. Close that window and click the button again (for the same option) and a white window initially displays, then goes away and the normal sized popup window displays correctly. I can then close the popup and choose any other option and get the popup with the first try. Once I clear cache though, it starts over again.
2. Once the popup window is displaying, it initially displays as a white page the same size as the webpage, then when it connects to the URL the white page goes away and the normal sized popup window displays.
I'm looking for 1. the popup window to display the first time I click on the submit button whether I've cleared cache or not, and 2. the initial, extra white page to not display.
I really appreciate any help you might be able to offer.
Thank you.
Code:
<div style="margin-top:2em;float:left;"> Choose the type of support needed: <script type="text/javascript"> function supportWindow(URL) { window.open(URL+"&refURL="+escape(document.location),'popupwindow','scrollba rs,resizable'); return false; } </script> <p> <select id="sel" size="1"> <option value="https://company.webex.com/u2logic/webacd.wbx?AT=pqform&QID=18427&UID=0&SK=9numbercod ese">Support1</option> <option value="https://company.webex.com/u2logic/webacd.wbx?AT=pqform&QID=18442&UID=0&SK=fnumbercod es3">Support2</option> <option value="https://company.webex.com/u2logic/webacd.wbx?AT=pqform&QID=18407&UID=0&SK=5numbercod es1">Support3</option> <option value="https://company.webex.com/u2logic/webacd.wbx?AT=pqform&QID=18452&UID=0&SK=6numbercod ese">Support4</option> <option value="https://company.webex.com/u2logic/webacd.wbx?AT=pqform&QID=18457&UID=0&SK=6numbercod es9">Support5</option> <option value="https://company.webex.com/u2logic/webacd.wbx?AT=pqform&QID=18447&UID=0&SK=fnumbercod es4">Support6</option> <option value="https://company.webex.com/u2logic/webacd.wbx?AT=pqform&QID=18417&UID=0&SK=6numbercod es0">Support7</option> <option value="https://company.webex.com/u2logic/webacd.wbx?AT=pqform&QID=18437&UID=0&SK=9numbercod es5">Support8</option> <option value="https://company.webex.com/u2logic/webacd.wbx?AT=pqform&QID=18422&UID=0&SK=enumbercod esc">Support9</option> <option value="https://company.webex.com/u2logic/webacd.wbx?AT=pqform&QID=18432&UID=0&SK=5numbercod es1">Support10</option> <option value="https://company.webex.com/u2logic/webacd.wbx?AT=pqform&QID=19612&UID=0&SK=dnumbercod es3">Support11</option> <option value="https://company.webex.com/u2logic/webacd.wbx?AT=pqform&QID=19607&UID=0&SK=5numbercod esf">Support12</option> <option value="https://company.webex.com/u2logic/webacd.wbx?AT=pqform&QID=19617&UID=0&SK=7numbercod es7">Support13</option> <option value="https://company.webex.com/u2logic/webacd.wbx?AT=pqform&QID=19907&UID=0&SK=bnumbercod es6">Support14</option> <option value="https://company.webex.com/u2logic/webacd.wbx?AT=pqform&QID=19912&UID=0&SK=enumbercod esf">Support15</option> <option value="https://company.webex.com/u2logic/webacd.wbx?AT=pqform&QID=20212&UID=0&SK=9numbercod esc">Support16</option> </select> <input type="button" value="Submit" onclick="supportWindow(document.getElementById('sel').value )"> </p> </div>
Comment