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. JavaScript
  4. how to open the minimized window after refreshing the page?

how to open the minimized window after refreshing the page?

Scheduled Pinned Locked Moved JavaScript
questiontutorial
3 Posts 3 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
    dayakar_dn
    wrote on last edited by
    #1

    Hi, i am having one window and overlay.. when i am clicking the link, first overlay will be displayed and iam clicking the accept button in the overlay..then new window will be opened.. now i am minimizing the window after refreshing the page when i am clicking the link...minimized windonw should be opened..instead of overlay...

    xxx = window.open(URL, "tool", "width=800, height=700, left=0, top=0, scrollbars=Yes,resizable=yes, menubar=no,directories=no,location=no");
    tool.focus();

    xxx variable is showing null once i refreshing the page...then how can i get to know the existing and minimized window? i have used the below code...but didn't work for my requirement..

    if (!xxx.document.URL || xxx.document.URL.valueOf("tool") == 0) {
    alert("hi");
    }

    thanks in advance

    D J 2 Replies Last reply
    0
    • D dayakar_dn

      Hi, i am having one window and overlay.. when i am clicking the link, first overlay will be displayed and iam clicking the accept button in the overlay..then new window will be opened.. now i am minimizing the window after refreshing the page when i am clicking the link...minimized windonw should be opened..instead of overlay...

      xxx = window.open(URL, "tool", "width=800, height=700, left=0, top=0, scrollbars=Yes,resizable=yes, menubar=no,directories=no,location=no");
      tool.focus();

      xxx variable is showing null once i refreshing the page...then how can i get to know the existing and minimized window? i have used the below code...but didn't work for my requirement..

      if (!xxx.document.URL || xxx.document.URL.valueOf("tool") == 0) {
      alert("hi");
      }

      thanks in advance

      D Offline
      D Offline
      Dennis E White
      wrote on last edited by
      #2

      interesting do you think you can put together a really simple demonstrating the problem?? I have never seen this before and in part I wonder if this is limited to only certain browsers/versions.

      as if the facebook, twitter and message boards weren't enough - blogged

      1 Reply Last reply
      0
      • D dayakar_dn

        Hi, i am having one window and overlay.. when i am clicking the link, first overlay will be displayed and iam clicking the accept button in the overlay..then new window will be opened.. now i am minimizing the window after refreshing the page when i am clicking the link...minimized windonw should be opened..instead of overlay...

        xxx = window.open(URL, "tool", "width=800, height=700, left=0, top=0, scrollbars=Yes,resizable=yes, menubar=no,directories=no,location=no");
        tool.focus();

        xxx variable is showing null once i refreshing the page...then how can i get to know the existing and minimized window? i have used the below code...but didn't work for my requirement..

        if (!xxx.document.URL || xxx.document.URL.valueOf("tool") == 0) {
        alert("hi");
        }

        thanks in advance

        J Offline
        J Offline
        jkirkerx
        wrote on last edited by
        #3

        I think you worded it wrong. Perhaps you have a model

        or panel, and when you refer to minimized, you mean hide or show. Anyways, you have to post the page back to the server, so the server will postback the windows the way you want. Overall, you should should do it all on the client side, and not refresh the page, and work with a modal popup, or a jquery popup.

        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