dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: asp/javascript or pickled okra

Hybrid View

  1. #1
    Kyle Guest

    asp/javascript or pickled okra


    I have an asp/js question.
    I normally use the following js to open a new window:
    function new_window(url)
    {
    link =
    window.open(url,"Link","toolbar=0,location=0,directories=0,status=0,menubar=0,
    scrollbars=0,resizable=0,width=200,height=220,left=80,top=230");
    }
    In this particular case I have a small window with a login form for our customers
    to access a "special promotions" page. Well the "special promotions" page
    is wider than 200, and higher than 220 where the login form resides. When
    the form is submitted and the Response.Redirect take me to my destination
    it opens in the same little window. I would like to open a new window obviously
    much larger than this one. Anybody have a how to on this?
    Thanks,



  2. #2
    Russell Jones Guest

    Re: asp/javascript or pickled okra

    Have the server reply to the form submission with a page containing a script
    that opens the larger window, and then closes the initial login form window
    (if desired).

    "Kyle" <kfinch@mirexsolutions.com> wrote in message
    news:3beff65a$1@147.208.176.211...
    >
    > I have an asp/js question.
    > I normally use the following js to open a new window:
    > function new_window(url)
    > {
    > link =
    >

    window.open(url,"Link","toolbar=0,location=0,directories=0,status=0,menubar=
    0,
    > scrollbars=0,resizable=0,width=200,height=220,left=80,top=230");
    > }
    > In this particular case I have a small window with a login form for our

    customers
    > to access a "special promotions" page. Well the "special promotions" page
    > is wider than 200, and higher than 220 where the login form resides. When
    > the form is submitted and the Response.Redirect take me to my destination
    > it opens in the same little window. I would like to open a new window

    obviously
    > much larger than this one. Anybody have a how to on this?
    > Thanks,
    >
    >




  3. #3
    Kyle Guest

    Re: asp/javascript or pickled okra


    Thanks Russell

    Will this be asp or javascript? I would like to do both open a new window
    and close the smaller window. Are there any examples that you could refer
    me to on this?

    Kyle

    "Russell Jones" <arj1@northstate.net> wrote:
    >Have the server reply to the form submission with a page containing a script
    >that opens the larger window, and then closes the initial login form window
    >(if desired).
    >
    >"Kyle" <kfinch@mirexsolutions.com> wrote in message
    >news:3beff65a$1@147.208.176.211...
    >>
    >> I have an asp/js question.
    >> I normally use the following js to open a new window:
    >> function new_window(url)
    >> {
    >> link =
    >>

    >window.open(url,"Link","toolbar=0,location=0,directories=0,status=0,menubar=
    >0,
    >> scrollbars=0,resizable=0,width=200,height=220,left=80,top=230");
    >> }
    >> In this particular case I have a small window with a login form for our

    >customers
    >> to access a "special promotions" page. Well the "special promotions" page
    >> is wider than 200, and higher than 220 where the login form resides. When
    >> the form is submitted and the Response.Redirect take me to my destination
    >> it opens in the same little window. I would like to open a new window

    >obviously
    >> much larger than this one. Anybody have a how to on this?
    >> Thanks,
    >>
    >>

    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center