Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Redirection Question

Reply
Thread Tools

Redirection Question

 
 
Disco Octopus
Guest
Posts: n/a
 
      04-28-2005
Fred wrote :
> Can you help me?
> I'm trying to specify a target="_blank" In this redirect script but
> can not figure it out.
>
> <script language="javascript">
>
> <!--
>
> location.replace("http://www.cnn.com");
>
> -->
>
> </script>
>
> how is this done?
>
> Thanks


it looks like you are looking for a way to have a popup.

look up window.open() or open()

--
a beef jerky web site : http://www.choicebeefjerky.com.au
not a beef jerky web site : http://mycoolfish.com/vote.cmks
stretch after a workout

 
Reply With Quote
 
 
 
 
Fred
Guest
Posts: n/a
 
      04-28-2005
Can you help me?
I'm trying to specify a target="_blank" In this redirect script but
can not figure it out.

<script language="javascript">

<!--

location.replace("http://www.cnn.com");

-->

</script>

how is this done?

Thanks
 
Reply With Quote
 
 
 
 
Edwin van der Vaart
Guest
Posts: n/a
 
      04-28-2005
Disco Octopus wrote:
> Fred wrote :
>
>> Can you help me?
>> I'm trying to specify a target="_blank" In this redirect script but
>> can not figure it out.
>>
>> <script language="javascript">
>>
>> <!--
>> location.replace("http://www.cnn.com");
>>
>> -->
>>
>> </script>
>>
>> how is this done?

>
> it looks like you are looking for a way to have a popup.
>
> look up window.open() or open()

You mean
var newWindow
function makeNewWindow() {
newWindow = window.open("url","sub","options+toolbars+width+he ight")
}

IMHO add also a close newWindow function.
--
Edwin van der Vaart
http://www.semi-conductor.nl/ Links to Semiconductors sites
http://www.evandervaart.nl/ Under construction
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tough redirection question Dot net work ASP .Net 4 04-12-2004 02:02 PM
Authentication/Automatic redirection question David Kleyman ASP .Net 3 12-17-2003 07:10 PM
Redirection question Code Monkee HTML 6 12-17-2003 04:45 PM
Re: ouput redirection..a newbie question Jp Calderone Python 2 12-15-2003 08:27 PM
Cisco PIX Port Redirection Question staalejg Cisco 0 07-17-2003 09:15 PM



Advertisments