Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. PaulHunt

    Switch to Another Printer in Script WITHOUT Printing

    I have a script (and button) to print a label on my label printer. The script switches to the appropriate layout, does a Print Setup, prints to my label printer, then switches back to the original layout. Works flawlessly. But I then want to switch my chosen printer back to my letter-size...
  2. PaulHunt

    Error in IE8 but nowhere else

    The error was "Invalid argument". Justin is right. It works fine without spaces in the window name. Thanks
  3. PaulHunt

    Error in IE8 but nowhere else

    This has been running fine in IE, FF, and Safari for years. Now it errors out in IE8. I have no idea why. The page validates fine. function _windowNew(url,name,horSize,vertSize,statusBar,menuBar,toolBar,reSize,scrollBars) { if (!statusBar) {statusBar="no";} if (!menuBar) {menuBar="no";} if...
  4. PaulHunt

    How to force Logout on close?

    > Where did you read that the onload event does not fire until after all embedded scripts have been performed? I've never heard that one before, and AFAIK, it is very much incorrect. O'Reilly - Javascript, the Definitive Guide - 4th Edition, page 669. "When the onload event handler is invoked...
  5. PaulHunt

    How to force Logout on close?

    So now I tried the following: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript" src='../cshtmlib/js/formHandler.js'></script> </head> <body onload =...
  6. PaulHunt

    How to force Logout on close?

    Thank you, Dan. I do use cookies, and you're right, they expire either after a certain amount of time or with the end of the session. But they don't expire with the closure of the window, leaving me at least somewhat exposed. Paul
  7. PaulHunt

    How to force Logout on close?

    When a user closes a window, or even the browser, I want to log him off. All I can find as hints say to pop a new window using the "onUnload" event, then fire the call to cgi, and close the "popped" window. I can make most, but not all, of that work. In the popped window, I define a form that...

Part and Inventory Search

Back
Top