Results 1 to 8 of 8

Thread: New window thru response.redirect

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2004
    Location
    India
    Posts
    53

    New window thru response.redirect

    hi everyone,

    is it possible to use functionality of target='new' using response.redirect....i am trying to open a link in new window on button's click event...here, i don't think we can write 'href'...so i have to use response.redirect.

    plz help

    yash.
    Yash

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Re: New window thru response.redirect

    You certainly could but it makes a boat load more sense to simply write an href tag.

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2004
    Location
    India
    Posts
    53

    Re: New window thru response.redirect

    what exactly will be the syntax...kindly guide..
    Yash

  4. #4
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Re: New window thru response.redirect

    For the simple href?
    Code:
    <span class="button"><a target="_blank" href="http://www.google.com">Click Me</a></span>
    
    .button
    {
    background-color: #B7DBFF;
    border:2px outset #d3d3d3;
    color: #000000;
    font-size: 8pt;
    font-family: Tahoma;
    padding: 3px 5px;
    width: 100px;
    }
    Last edited by nemaroller; May 26th, 2005 at 02:22 PM.

  5. #5
    Lively Member zen_master's Avatar
    Join Date
    Apr 2005
    Location
    Buffalo, NY
    Posts
    114

    Re: New window thru response.redirect

    xcuse me....

    where do you put that code?

  6. #6
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861

    Re: New window thru response.redirect

    You'll need to add Target="_blank", in order for it to open in a new window.
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

  7. #7
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: New window thru response.redirect

    The first part is your regular HTML tag. The second part is CSS, which you should include within <style> tags.

  8. #8
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Re: New window thru response.redirect

    Quote Originally Posted by Memnoch1207
    You'll need to add Target="_blank", in order for it to open in a new window.
    Or a lot of wishful thinking

    Good catch...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width