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.
Re: New window thru response.redirect
You certainly could but it makes a boat load more sense to simply write an href tag.
Re: New window thru response.redirect
what exactly will be the syntax...kindly guide..
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;
}
Re: New window thru response.redirect
xcuse me....
where do you put that code?
Re: New window thru response.redirect
You'll need to add Target="_blank", in order for it to open in a new window.
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.
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...