Click to See Complete Forum and Search --> : New window thru response.redirect
yashsays
May 25th, 2005, 04:59 AM
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.
nemaroller
May 25th, 2005, 01:51 PM
You certainly could but it makes a boat load more sense to simply write an href tag.
yashsays
May 26th, 2005, 12:22 AM
what exactly will be the syntax...kindly guide..
nemaroller
May 26th, 2005, 08:33 AM
For the simple href?
<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;
}
zen_master
May 26th, 2005, 09:55 AM
xcuse me....
where do you put that code?
Memnoch1207
May 26th, 2005, 10:58 AM
You'll need to add Target="_blank", in order for it to open in a new window.
mendhak
May 26th, 2005, 12:07 PM
The first part is your regular HTML tag. The second part is CSS, which you should include within <style> tags.
nemaroller
May 26th, 2005, 02:21 PM
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...
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.