Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. remove toolbars from browser window that's open or how to close parent window if remove toolbars requires two windows be open [modified]

remove toolbars from browser window that's open or how to close parent window if remove toolbars requires two windows be open [modified]

Scheduled Pinned Locked Moved Web Development
helpdatabasejavascripthtmltutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Diana Rhoades
    wrote on last edited by
    #1

    We run Lawson software and are upgrading to a new version. The asp and html/js that worked in the former version no longer work. Here is the issue: Ops puts a file "gllogin_status.txt" in the Lawson index directory if the database is down. The js checks the document.referrer and then , if successful, the browser needs to appear without toolbars (messes up Lawson users). In my research so far it seems the js can either: FYI: new_url = asp page which checks for gllogin_status.txt 1) window.location.href = new_url; the problem with this is that I have not found a way to turn off the toolbars after this code runs 2) window.open(new_url, "name", "status=1,location=0,menubar=1,titlebar=0,scrollbars=1,resizable=1"); this way I get the toolbars turned off, but I have two browser windows open and they both look like Lawson windows. I would like to close the parent window but we do have IE as the browser standard. Is there a way to do this? If no way to close the parent window in IE, is there a way to redirect the old window to the user's home page to avoid some confusion? Any help would be greatly appreciated!

    modified on Wednesday, October 7, 2009 11:53 AM

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups