Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Control appearance of IE pop up window
#1
I have javascript code in an IE 8 web page which opens a pop up window:

Code:
Copy      Help
window.open('$_SERVER[PHP_SELF]?examinfo=on&uname=$_POST[uname]&Accession=$[Accession]', '_blank', 'height=800,width=700,top=200,left=200,menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,titlebar=no,toolbar=no')

Can I do the same from QM? Using the web function with flag 4 I can open the url in a pop up, but I get the title bar, menu bar, location, and toolbar, which is messy. Also, I can resize and move the window after creating it with siz and mov, but was wondering if it can be specified during creation.
#2
Try with Htm. If the web page does not have the HTML element that executes window.open, you can add such element. Then Click. I did not test it, maybe it is not a good idea.
#3
I just created the javascript function examinfo_open() within my web page, and then called it via web('javascript:examinfo_open()') 0 winwebpage. Works fine. Did not want to and did not have to create a new visible element.


Forum Jump:


Users browsing this thread: 1 Guest(s)