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. How can I close the first page?

How can I close the first page?

Scheduled Pinned Locked Moved Web Development
questionhtmltutorial
2 Posts 2 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.
  • A Offline
    A Offline
    ATC
    wrote on last edited by
    #1

    In my FirstPage (HTML or ASP) I use the following code to jump to next page window.open('NextPage.asp', 'PageName', 'toolbar=yes,location=no,directories=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes') However after jumping to next page, my FirstPage stays there and if someone using it ... it does not work properly! Does anyone knows how to close it without affecting the jump? If I use command window.close at the end ... every thing close! Thanks

    C 1 Reply Last reply
    0
    • A ATC

      In my FirstPage (HTML or ASP) I use the following code to jump to next page window.open('NextPage.asp', 'PageName', 'toolbar=yes,location=no,directories=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes') However after jumping to next page, my FirstPage stays there and if someone using it ... it does not work properly! Does anyone knows how to close it without affecting the jump? If I use command window.close at the end ... every thing close! Thanks

      C Offline
      C Offline
      ChrisAdams
      wrote on last edited by
      #2

      You don't need to open up a new web page. Just use document.location = "NextPage.asp";

      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