Web Analytics Made Easy -
StatCounter Popup Window Script - CodingForum

Announcement

Collapse
No announcement yet.

Popup Window Script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Popup Window Script

    I have built a popup from my main page that is about 350 pixels wide by 300 pixel high. Within that popup, I have a form written in asp that queries an access database for a zipcode match. If your zipcode is listed in the database, I have the asp displaying a link on a new results page still in the same popup, it just refreshes.... I now need to create a javascript to close the window and change the url to a new url in the main page where the popup initiated.

    I was working with a remote script like this, but I have change the url due to the results page and cannot figure it out for the life of me. Any help would be appreciated.

    <script>

    function remote2(url){
    creator.location=url
    window.close();
    }
    </script>
    If you don't do it this year, you will be one year older when you do. "Warren Miller"

  • #2
    This is my open script but...

    <script>

    function remote1(){

    win2=window.open("mallin_nav.htm","","width=150,height=150")
    win2.creator=self
    }

    </script>

    I am post from a form

    How do I combine the open javascript with the form
    If you don't do it this year, you will be one year older when you do. "Warren Miller"

    Comment


    • #3
      If you don't do it this year, you will be one year older when you do. "Warren Miller"

      Comment

      Working...
      X