Multiple Pop-up Windows

J

Jan Faerber

Scott said:
Both scripts works fine together.
Yes.

Now I want to add a third pop-up window to be activated by clicking on a
different link. If I use the
second script above and point it to a different url (carol.htm), I am
stuck using width=550 and height=675,
which is to large for this window.

You can use:

<a href="http://www.abc.de" target="popup"
onClick="window.open('http://www.abc.de', 'popup',
'height=300,width=300,resizable=yes,scrollbars=yes,location=yes'); return
false"> said:
Is there a script that will give this third pop-up windows it's own
dimensions?

<html><head><title>I am the third popup</title>
</head><body onLoad="window.resizeTo(300,300)">
 
S

Scott

Jan said:
You can use:

<a href="http://www.abc.de" target="popup"
onClick="window.open('http://www.abc.de', 'popup',
'height=300,width=300,resizable=yes,scrollbars=yes,location=yes'); return


<html><head><title>I am the third popup</title>
</head><body onLoad="window.resizeTo(300,300)">

Jan,

Thanks! That's exactly the script I was looking for. I will give it a try.

In the meantime, the link (Message from Carol Lawson) is clickable to another
full-size page.

http://www.uslink.net/~golden/don1.html

I am surprised about the negative feelings about popups that that are voluntary,
rather than automatic. I think it's a good way to give a small snippet of information
to those who want it...without having to leave the main page. To me, it's easier to
navigate.

I also have Mozilla v1.5, which effectively blocks ad popups from sites. I like that
feature. However, it does allow popups that I click on. That seems like a logical
solution...as the first kind of popup is intrusive and annoying, but the second kind
is voluntary. I don't see the conflict.

Thanks,
Scott
 
M

Mark Parnell

Previously in alt.html said:
I am surprised about the negative feelings about popups that that are voluntary,
rather than automatic.

But they aren't voluntary. Your visitors don't get a choice whether to
open them in a new window or not. You just force a new window on them
(if their popup blocker allows it).
I think it's a good way to give a small snippet of information
to those who want it...without having to leave the main page.

But what about those who don't want it without leaving the main page?
What if they want it in the same browser window? You are taking away
that option.
To me, it's easier to
navigate.

So use your browser features and open it in a new window (shift-click in
Mozilla by default). Leave the decision up to your visitors.
 
R

rf

Scott said:
In the meantime, the link (Message from Carol Lawson) is clickable to another
full-size page.

I am surprised about the negative feelings about popups that that are voluntary,
rather than automatic.

You are entirely missing the point. The popup is *not* voluntary. If I click
on that link I *have* to accept the popup. I have no choice. Well I do, I
can simply leave the site.

With a normal link I have the choice of opening the link in my existing
window or *if I want to* opening it in a new, popup if you like, window. I
do this by simply leaning on the shift key when I click the link. I have a
choice.

<aside>
I often do this when, say, using google to search through several sites. I
keep some of them open and parked over there ---> However, I don't often use
the "open in new window" stuff. I simply spawn a new window (with Ctrl N or
whatever), park the new window on that screen over there ---> and carry with
the old window.
</aside>

You, insisting that that link opens a new window have *removed my choice*.
You have made the pupup non-voluntary.
I think it's a good way to give a small snippet of information
to those who want it...without having to leave the main page.

I do not, usually.
To me, it's easier to
navigate.

Ah, the operative sentence. It is easier for *you*. Well if it's easier for
you then *you* open the link in a new window, by leaning on your shift key.
Leave me, your viewer, with my choice.
I also have Mozilla v1.5, which effectively blocks ad popups from sites.

Unsolicited popups (ads if you like) I never even see. I am not even aware
that they are there. My browser doesn't even follow the link so whoever put
them there will not see a page view from me and will never make any money
from them.

Links that I click on and that insist that I have a new window opened simply
annoy me. They do not appear. The link appears broken. Only when I realize
that the author has forced his/her preferences upon me to I then (if I have
not long gone) once again lean on the shift key when I *for the second time*
click the link. (BTW I have my browsers set to stop *any* popups)

Then I am left with another window on my screen which I have to take
measures with to remove. I can not simply click on the back button on my
mouse, where my thumb already is positioned. I have to menouver my mouse
cursor to the little X and click that instead. A simple thumb twich as
against a rather difficult mouse gesture and click (that X is not very big).
All of this has just distracted my concentration. I usually simply leave the
site.
I like that
feature. However, it does allow popups that I click on. That seems like a logical
solution...as the first kind of popup is intrusive and annoying, but the second kind
is voluntary.

No. It is not voluntary. It is you forcing on me, your viewer, your choice
of where the link opens.
I don't see the conflict.

Hope the above helps :)
 
S

Scott

rf said:
You are entirely missing the point. The popup is *not* voluntary. If I click
on that link I *have* to accept the popup. I have no choice. Well I do, I
can simply leave the site.

With a normal link I have the choice of opening the link in my existing
window or *if I want to* opening it in a new, popup if you like, window. I
do this by simply leaning on the shift key when I click the link. I have a
choice.

<aside>
I often do this when, say, using google to search through several sites. I
keep some of them open and parked over there ---> However, I don't often use
the "open in new window" stuff. I simply spawn a new window (with Ctrl N or
whatever), park the new window on that screen over there ---> and carry with
the old window.
</aside>

You, insisting that that link opens a new window have *removed my choice*.
You have made the pupup non-voluntary.


I do not, usually.


Ah, the operative sentence. It is easier for *you*. Well if it's easier for
you then *you* open the link in a new window, by leaning on your shift key.
Leave me, your viewer, with my choice.

Unsolicited popups (ads if you like) I never even see. I am not even aware
that they are there. My browser doesn't even follow the link so whoever put
them there will not see a page view from me and will never make any money
from them.

Links that I click on and that insist that I have a new window opened simply
annoy me. They do not appear. The link appears broken. Only when I realize
that the author has forced his/her preferences upon me to I then (if I have
not long gone) once again lean on the shift key when I *for the second time*
click the link. (BTW I have my browsers set to stop *any* popups)

Then I am left with another window on my screen which I have to take
measures with to remove. I can not simply click on the back button on my
mouse, where my thumb already is positioned. I have to menouver my mouse
cursor to the little X and click that instead. A simple thumb twich as
against a rather difficult mouse gesture and click (that X is not very big).
All of this has just distracted my concentration. I usually simply leave the
site.


No. It is not voluntary. It is you forcing on me, your viewer, your choice
of where the link opens.


Hope the above helps :)

Richard,

Okay, I can see your point. My purpose has always been to provide easy navigation for the
visitor. That's why my popup windows have an icon and link at the bottom of the window
that says "Close". But my web philosophy (since I started in 1996) has always been to not
overuse any web gimmicks. So maybe I'll decide that I've used enough of the popups
(I think I have a total of 3 on my site).

Speaking of annoying, although I have IE6, Mozilla, and Netscape 7.0 installed, I still prefer the
user interface of Netscape 4.8 on all my computers. But, every day, more and more sites refuse
to load on Netscape 4.8, and I have to resort to IE....so I'm being forced to surf according to
someone else' preferences. I'm not saying that makes popups alright, but I think it's far less
annoying than some of the inconveniences I put up with.

Scott
 
N

Neal

Scott:
Okay, I can see your point. My purpose has always been to provide easy
navigation for the
visitor. That's why my popup windows have an icon and link at the
bottom of the window
that says "Close".

Usability studies have shown that popup windows serve only to confuse the
average web user. They don't understand why the Back button won't return
them to the page they were on, so they shut everything down and start
again - maybe skipping your site.

I saw this happen today with a 6th grade Social Studies class doing
research in the computer lab. I watched a student grapple with a popup,
then when i showed them what happened, they were finally able to figure
out what happened.

(The computer teacher was trying to read off a URL to me, and she said
"backslash" - to which I immediately interjected, "Actually, it's
forward-slash" and rattled off the rest of the URL which I already had
anyhow... It's sad when I, a music specialist subbing in for Social
Studies, could be a better computer teacher than this idiot...)
Speaking of annoying, although I have IE6, Mozilla, and Netscape 7.0
installed, I still prefer the
user interface of Netscape 4.8 on all my computers.

You are nuts. See a doctor.
 
M

Mark Parnell

Previously in alt.html said:
Speaking of annoying, although I have IE6, Mozilla, and Netscape 7.0 installed, I still prefer the
user interface of Netscape 4.8 on all my computers.

Mozilla/NS7 has the option of using the Classic "theme", which looks the
same as NS4. In fact, that is the default when you first install it.

BTW: It would be appreciated if you could please adjust your newsreader
to wrap at around 78 characters, instead of the 90+ it is currently set
to.
 
S

Scott

Mark said:
Mozilla/NS7 has the option of using the Classic "theme", which looks the
same as NS4. In fact, that is the default when you first install it.

BTW: It would be appreciated if you could please adjust your newsreader
to wrap at around 78 characters, instead of the 90+ it is currently set
to.

Mark,

I understand, but my issue with Netscape 7.0 is that there's a long delay when clicking on bookmarks
(I have hundreds of them). Netscape 4.8 brign up the bookmark list instantly. That's my only beef
with the newer versions.

And, yes, I have adjusted my word wrap. Thanks for the tip.

Scott
 
S

Scott

Neal said:
Scott:


Usability studies have shown that popup windows serve only to confuse the
average web user. They don't understand why the Back button won't return
them to the page they were on, so they shut everything down and start
again - maybe skipping your site.

I saw this happen today with a 6th grade Social Studies class doing
research in the computer lab. I watched a student grapple with a popup,
then when i showed them what happened, they were finally able to figure
out what happened.

(The computer teacher was trying to read off a URL to me, and she said
"backslash" - to which I immediately interjected, "Actually, it's
forward-slash" and rattled off the rest of the URL which I already had
anyhow... It's sad when I, a music specialist subbing in for Social
Studies, could be a better computer teacher than this idiot...)


You are nuts. See a doctor.

Neal,

How can you possible say that I'm "nuts", just because I like an earlier
version of
Netscape? You don't even know me.

Scott
 
M

Mark Parnell

Previously in alt.html said:
I understand, but my issue with Netscape 7.0 is that there's a long delay when clicking on bookmarks
(I have hundreds of them). Netscape 4.8 brign up the bookmark list instantly.

I haven't come across that problem, and I have probably a couple of
hundreds of bookmarks. But fair enough.
That's my only beef
with the newer versions.

Is Mozilla as bad? NS6/7 is basically just Mozilla with AOL crap anyway.
And, yes, I have adjusted my word wrap. Thanks for the tip.

No you haven't. :-/ See how much longer your lines above are than mine?
My newsreader wraps my lines at 72 characters. You can generally go up
to about 78 safely. Yours are over 90.
 
M

Michael Winter

On Thu, 09 Dec 2004 01:25:48 GMT, Jan Faerber

[snip]
<a href="http://www.abc.de" target="popup"
onClick="window.open('http://www.abc.de', 'popup',
'height=300,width=300,resizable=yes,scrollbars=yes,location=yes');
return false"></a>

Or

<a href="..." target="..."
onclick="window.open(this.href, this.target,
'height=300,width=300,resizable,scrollbars,location');
return false;">

[Scott:]
Is there a script that will give this third pop-up windows it's own
dimensions?
[snip]

onLoad="window.resizeTo(300,300)">

The resizing methods are another thing that people are blocking. Both
Mozilla and Opera allow you to disallow window movement and sizing in
their preferences.

[snip]

Mike
 
J

Jan Faerber

Scott said:
I also have Mozilla v1.5, which effectively blocks ad popups from sites.
I like that
feature. However, it does allow popups that I click on. That seems like
a logical solution...as the first kind of popup is intrusive and annoying,
but the second kind
is voluntary. I don't see the conflict.

A popup with online banking saying: "Always use the logout button before you
leave!" is not a conflict but it doesn't give me a feeling of security.
 
J

Jan Faerber

Michael Winter wrote:

Is it possible to make something like this?...:

<SCRIPT LANGUAGE="JavaScript">
function openWindow(url, name, x, y) {
popupWin = window.open(url, name,
"width=x,height=y,history=yes,resizable=yes,status=no,scrollbars=yes,
menubar=no");
}
</SCRIPT>

On the link: <A
HREF="javascript:eek:penWindow('sound.html','Win','300','300')">


???
 
J

Jan Faerber

Jan said:
Michael Winter wrote:

Is it possible to make something like this?...:

<SCRIPT LANGUAGE="JavaScript">
function openWindow(url, name, x, y) {
popupWin = window.open(url, name,
"width=x,height=y,history=yes,resizable=yes,status=no,scrollbars=yes,
menubar=no");
}
</SCRIPT>

On the link: <A
HREF="javascript:eek:penWindow('sound.html','Win','300','300')">


???


http://www.stormytuesday.com/

Good example:

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>

<body>
<a href="#"><img src="blabla.jpg"
onClick="MM_openBrWindow('blabla.html','','width=785,height=415')"></a>
 
K

Karl Core

Jan Faerber said:
A popup with online banking saying: "Always use the logout button before
you
leave!" is not a conflict but it doesn't give me a feeling of security.

An online banking site should log you out automatically as soon as you end
your session with the site.
 
M

Michael Winter

Is it possible to make something like this?...:

<SCRIPT LANGUAGE="JavaScript">

The language attribute is deprecated: use type.
function openWindow(url, name, x, y) {
popupWin = window.open(url, name,
"width=x,height=y,history=yes,resizable=yes,status=no,scrollbars=yes,
menubar=no");
}
</SCRIPT>

On the link: <A
HREF="javascript:eek:penWindow('sound.html','Win','300','300')">

<script type="text/javascript">
var popup;
function openWindow(link, x, y) {
popup = window.open(
link.href,
link.target,
'history,resizable,scrollbars,width=' + x + ',height=' + y
);
}
</script>

<!-- ... -->

<a href="sound.html" target="Win"
onclick="openWindow(this, 300, 300); return false;">

Mike
 
N

Noozer

Ya!


Karl Core said:
Thanks to the release of Windows XP's SP2, your new window can now very
easily get caught up by the built in popup blocker.
I notice tons of sites "not working properly" now and I just laugh my ass
off.

P.S. - Stop top-posting
 

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,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top