Auto Redirect to New Window
Auto Redirect to New Window
am 02.08.2007 16:10:24 von scott
I use the code below for general pop-ups on my pages. What I need to
accomplish is to have a page that when clicked, the page automatically opens
a pop up or redirects to a page on another site without the user having to
click a button. Is this possible with javascript?
CODE:
onClick="javascript:window.open('my_popupPage.asp','dedicate d','width=338,height=262,menu=no,toolbar=no,scrollbars=no,me nubar=no,resizable=no,status=no');">
Re: Auto Redirect to New Window
am 02.08.2007 18:13:48 von Tim Slattery
"scott" wrote:
>I use the code below for general pop-ups on my pages. What I need to
>accomplish is to have a page that when clicked, the page automatically opens
>a pop up or redirects to a page on another site without the user having to
>click a button. Is this possible with javascript?
You say "when clicked" then "without the user having to click a
button". So what's being clicked?
Bear in mind that your intended function would likely be killed by
popup blockers.
--
Tim Slattery
MS MVP(DTS)
Slattery_T@bls.gov
http://members.cox.net/slatteryt
Re: Auto Redirect to New Window
am 02.08.2007 18:29:01 von Jon Paal
this is not an asp question, try the javascript group:
comp.lang.javascript
"scott"
.....Is this possible with javascript?
>
Re: Auto Redirect to New Window
am 02.08.2007 18:38:40 von scott
This would be the events.
1. You visit www.mysite.com
2. www.mysite.com/default.asp would automatically redirect you to
www.cnn.com/theSpecialPage.asp. (note: www.cnn.com/theSpecialPage.asp would
open maximized or just same size as the users normal pages would open.
Either would be fine.)
"Tim Slattery" wrote in message
news:fj04b3dtu54l2usr5oimcv24amqo6is4lj@4ax.com...
> "scott" wrote:
>
>>I use the code below for general pop-ups on my pages. What I need to
>>accomplish is to have a page that when clicked, the page automatically
>>opens
>>a pop up or redirects to a page on another site without the user having to
>>click a button. Is this possible with javascript?
>
> You say "when clicked" then "without the user having to click a
> button". So what's being clicked?
>
> Bear in mind that your intended function would likely be killed by
> popup blockers.
>
> --
> Tim Slattery
> MS MVP(DTS)
> Slattery_T@bls.gov
> http://members.cox.net/slatteryt
Re: Auto Redirect to New Window
am 02.08.2007 18:41:29 von scott
do you know what the settings are for that js group.
For example, what would be to equivilant to msnews.microsoft.com?
"Jon Paal [MSMD]" wrote in message
news:13b41ickp7g0c10@corp.supernews.com...
> this is not an asp question, try the javascript group:
>
> comp.lang.javascript
>
>
> "scott"
> .....Is this possible with javascript?
>>
>
>
Re: Auto Redirect to New Window
am 02.08.2007 19:27:28 von exjxw.hannivoort
scott wrote on 02 aug 2007 in microsoft.public.inetserver.asp.general:
> "Jon Paal [MSMD]" wrote in
> message news:13b41ickp7g0c10@corp.supernews.com...
>> this is not an asp question, try the javascript group:
>>
>> comp.lang.javascript
>>
[Please do not toppost on usenet]
> do you know what the settings are for that js group.
Eh? It is a Usenet group, you do not need "settings" for that.
> For example, what would be to equivilant to msnews.microsoft.com?
That is a server, perhaps, though I doubt it, a news [=usenet] server.
A server is not equivalent to a usenet group.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Re: Auto Redirect to New Window
am 03.08.2007 01:36:58 von scott
what's the url to comp.lang.javascript?
"Evertjan." wrote in message
news:Xns9980C5EF16EC6eejj99@194.109.133.242...
> scott wrote on 02 aug 2007 in microsoft.public.inetserver.asp.general:
>
>> "Jon Paal [MSMD]" wrote in
>> message news:13b41ickp7g0c10@corp.supernews.com...
>>> this is not an asp question, try the javascript group:
>>>
>>> comp.lang.javascript
>>>
>
> [Please do not toppost on usenet]
>
>> do you know what the settings are for that js group.
>
> Eh? It is a Usenet group, you do not need "settings" for that.
>
>> For example, what would be to equivilant to msnews.microsoft.com?
>
> That is a server, perhaps, though I doubt it, a news [=usenet] server.
> A server is not equivalent to a usenet group.
>
>
>
> --
> Evertjan.
> The Netherlands.
> (Please change the x'es to dots in my emailaddress)
Re: Auto Redirect to New Window
am 03.08.2007 09:06:31 von exjxw.hannivoort
scott wrote on 03 aug 2007 in microsoft.public.inetserver.asp.general:
> "Evertjan." wrote in message
> news:Xns9980C5EF16EC6eejj99@194.109.133.242...
>> scott wrote on 02 aug 2007 in microsoft.public.inetserver.asp.general:
>>
>>> "Jon Paal [MSMD]" wrote in
>>>> this is not an asp question, try the javascript group:
>>>>
>>>> comp.lang.javascript
>>>>
>>
>> [Please do not toppost on usenet]
>>
>>> do you know what the settings are for that js group.
>>
>> Eh? It is a Usenet group, you do not need "settings" for that.
>>
>>> For example, what would be to equivilant to msnews.microsoft.com?
>>
>> That is a server, perhaps, though I doubt it, a news [=usenet] server.
>> A server is not equivalent to a usenet group.
[I ASK AGAIN: Please do not toppost on usenet]
> what's the url to comp.lang.javascript?
Usenet, being twice as old as the web, does not need or have URL's.
Just access your local news server on internet,
it should carry comp.lang.javascript.
Read up on usenet:
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Re: Auto Redirect to New Window
am 03.08.2007 13:10:32 von reb01501
The corresponding msnews group is
microsoft.public.scripting.jscript
And no, I will not involve myself in silly arguments as to whether jscript
is javascript (yes, I know it isn't ... )
scott wrote:
> do you know what the settings are for that js group.
>
> For example, what would be to equivilant to msnews.microsoft.com?
>
> "Jon Paal [MSMD]" wrote in
> message news:13b41ickp7g0c10@corp.supernews.com...
>> this is not an asp question, try the javascript group:
>>
>> comp.lang.javascript
>>
>>
>> "scott"
>> .....Is this possible with javascript?
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"