Auto Redirect to New Window

S

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:

<a href="#"
onClick="javascript:window.open('my_popupPage.asp','dedicated','width=338,height=262,menu=no,toolbar=no,scrollbars=no,menubar=no,resizable=no,status=no');">
<img border="0" src="images/myimage.gif" width="16" height="16"></a>
 
T

Tim Slattery

scott said:
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.
 
S

scott

do you know what the settings are for that js group.

For example, what would be to equivilant to msnews.microsoft.com?
 
E

Evertjan.

scott wrote on 02 aug 2007 in microsoft.public.inetserver.asp.general:

[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.
 
S

scott

what's the url to comp.lang.javascript?

Evertjan. said:
scott wrote on 02 aug 2007 in microsoft.public.inetserver.asp.general:

[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.
 
E

Evertjan.

scott wrote on 03 aug 2007 in microsoft.public.inetserver.asp.general:
Evertjan. said:
scott wrote on 02 aug 2007 in microsoft.public.inetserver.asp.general:
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:
<http://en.wikipedia.org/wiki/Usenet>
 
B

Bob Barrows [MVP]

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 ... )
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top