Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   HTML (http://www.velocityreviews.com/forums/f31-html.html)
-   -   Multiple Pop-up Windows (http://www.velocityreviews.com/forums/t160226-multiple-pop-up-windows.html)

Scott 12-08-2004 01:45 AM

Multiple Pop-up Windows
 
On the same page, I have a pop-up window that's activated when you hit the Send Button:

<SCRIPT LANGUAGE="JavaScript">
<!--
function newscreen() {

window.open("don-com.html","main","width=470,height=240,history=yes ,resizable=no,status=no,scrollbars=no,
menubar=no")
// window.open("index.html", "_self")
}
// -->
</SCRIPT>

On Send button: <INPUT TYPE=submit value="Send It" onClick="newscreen()">

----------------------------------------------------------------------------------------

Elsewhere on the page is a pop-up window activated when clicking on a link:

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

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

------------------------------------------------------------------------------------------

Both scripts works fine together.

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.

Is there a script that will give this third pop-up windows it's own dimensions?

Thanks!
Scott




Scott 12-08-2004 01:47 AM

Re: Multiple Pop-up Windows
 
P.S. The page in question is:

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

Scott

Scott wrote:

> On the same page, I have a pop-up window that's activated when you hit the Send Button:
>
> <SCRIPT LANGUAGE="JavaScript">
> <!--
> function newscreen() {
>
> window.open("don-com.html","main","width=470,height=240,history=yes ,resizable=no,status=no,scrollbars=no,
> menubar=no")
> // window.open("index.html", "_self")
> }
> // -->
> </SCRIPT>
>
> On Send button: <INPUT TYPE=submit value="Send It" onClick="newscreen()">
>
> ----------------------------------------------------------------------------------------
>
> Elsewhere on the page is a pop-up window activated when clicking on a link:
>
> <SCRIPT LANGUAGE="JavaScript">
> function openWindow(url, name) {
> popupWin = window.open(url, name,
> "width=550,height=675,history=yes,resizable=yes,st atus=no,scrollbars=yes, menubar=no");
> }
> </SCRIPT>
>
> On the link: <A HREF="javascript:openWindow('sound.html','Win' )">
>
> ------------------------------------------------------------------------------------------
>
> Both scripts works fine together.
>
> 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.
>
> Is there a script that will give this third pop-up windows it's own dimensions?
>
> Thanks!
> Scott



Mark Parnell 12-08-2004 01:59 AM

Re: Multiple Pop-up Windows
 
Previously in alt.html, Scott <golden@uslink.net> said:

> I have a pop-up window

<snip>
> Elsewhere on the page is a pop-up window

<snip>
> Both scripts works fine together.


No popups here. For me, that's what I call working fine, so I guess
you're right.

> Now I want to add a third pop-up window


Just in case you've actually got a couple of visitors left? Why bother
having a site in the first place if you're that determined to drive
visitors away?

--
Mark Parnell
http://www.clarkecomputers.com.au

Scott 12-08-2004 03:01 AM

Re: Multiple Pop-up Windows
 
Mark,

I apologize for not making myself clear. They're not pop-ups in the normal sense
of the word. They don't pop up automatically. You have to click on a link to bring
it up. I just wanted a smaller window to pop up with the requested information,
rather than switching to a whole new page. Why would this drive people away?

BTW, the page is: www.uslink.net/~golden/don1.html

Sott

Mark Parnell wrote:

> Previously in alt.html, Scott <golden@uslink.net> said:
>
> > I have a pop-up window

> <snip>
> > Elsewhere on the page is a pop-up window

> <snip>
> > Both scripts works fine together.

>
> No popups here. For me, that's what I call working fine, so I guess
> you're right.
>
> > Now I want to add a third pop-up window

>
> Just in case you've actually got a couple of visitors left? Why bother
> having a site in the first place if you're that determined to drive
> visitors away?
>
> --
> Mark Parnell
> http://www.clarkecomputers.com.au



Richard 12-08-2004 03:16 AM

Re: Multiple Pop-up Windows
 
Scott wrote:

> On the same page, I have a pop-up window that's activated when you hit
> the Send Button:


My browser shoots popups dead on sight.
So put on as many as you want.



Mark Parnell 12-08-2004 03:21 AM

Re: Multiple Pop-up Windows
 
Previously in alt.html, Scott <golden@uslink.net> said:

> I apologize for not making myself clear.


No problem, just try again. ;-)

> They're not pop-ups in the normal sense
> of the word.


They don't pop up?

> They don't pop up automatically. You have to click on a link to bring
> it up.


But what if I don't want it to pop up? What if I want it to open in the
same window?

> I just wanted a smaller window to pop up with the requested information,
> rather than switching to a whole new page.


But what about what your visitor wants? How do you know *they* want it
to pop up? Or are you going to be the only one using the site?

> Why would this drive people away?


Because they don't want popups. Why do you think popup blockers are so
popular?

--
Mark Parnell
http://www.clarkecomputers.com.au

Scott 12-08-2004 05:17 AM

Re: Multiple Pop-up Windows
 
Mark,

Excuse me, but pop-up blockers are for ads that pop up automatically.

If you check my site, you'll see that my pop-ups are for people who click
on a link on purpose--for the information. Not ads--information. It just
happens to be a smaller window, which makes it easier to view the info
without switching to a new page. What's the difference whether you
see the requested information on a small window or a large one?

Scott


Mark Parnell wrote:

> Previously in alt.html, Scott <golden@uslink.net> said:
>
> > I apologize for not making myself clear.

>
> No problem, just try again. ;-)
>
> > They're not pop-ups in the normal sense
> > of the word.

>
> They don't pop up?
>
> > They don't pop up automatically. You have to click on a link to bring
> > it up.

>
> But what if I don't want it to pop up? What if I want it to open in the
> same window?
>
> > I just wanted a smaller window to pop up with the requested information,
> > rather than switching to a whole new page.

>
> But what about what your visitor wants? How do you know *they* want it
> to pop up? Or are you going to be the only one using the site?
>
> > Why would this drive people away?

>
> Because they don't want popups. Why do you think popup blockers are so
> popular?
>
> --
> Mark Parnell
> http://www.clarkecomputers.com.au



Beauregard T. Shagnasty 12-08-2004 05:31 AM

Re: Multiple Pop-up Windows
 
Scott wrote:

> Excuse me, but pop-up blockers are for ads that pop up
> automatically.


Depends on your software.

> If you check my site, you'll see that my pop-ups are for people who
> click on a link on purpose--for the information. Not
> ads--information. It just happens to be a smaller window, which
> makes it easier to view the info without switching to a new page.
> What's the difference whether you see the requested information on
> a small window or a large one?


I just tried your form, using Firefox 1.0. Clicking submit took me to
a new page in the same window, with the following raw code:

<html>
<head>
<title>Thank You for your thoughtful comments!</title>
<META HTTP-EQUIV="Content-type" CONTENT="text/html">

...and that was it. Oh, some server tried to set a cookie on the way. I
refused it.

--
-bts
-This space intentionally left blank.

Beauregard T. Shagnasty 12-08-2004 05:46 AM

Re: Multiple Pop-up Windows
 
Beauregard T. Shagnasty replied to hisself:

> I just tried your form, using Firefox 1.0. Clicking submit took me to a
> new page in the same window, with the following raw code:
>
> <html>
> <head>
> <title>Thank You for your thoughtful comments!</title>
> <META HTTP-EQUIV="Content-type" CONTENT="text/html">


Should have said the URL of this raw code was apparently not of your site:
http://www.response-o-matic.com/cgi-bin/rom.pl

Made me chuckle, thinking of the old veg-o-matic. <g>

--
-bts
-This space intentionally left blank.

Scott 12-08-2004 06:05 AM

Re: Multiple Pop-up Windows
 
Beuaregard,

Oh, that's another issue. I use Response-O-Matic as a free form processor
in lieu of my own CGI. It used to be fairly straightforward, but just recently,
it stopped working properly with Netscape. It's good to know that Firefox
doesn't display it properly either. However, it does work properly with IE and
Opera. It's supposed to switch to a full page with a "thank you" at the top and
then a link to go back to the forms page.

Anyway, did a small window pop up saying: "Thank you. Your comments
have been received"? That's the one I added and which works with a java script.

I want to add a javascript that will pop up a small window for a soon-to-be added
link....similar to the "Classic Don Lawson Sound Bites" link. I want to bring up
a smaller window, so one doesn't have to switch to another page.

As for the Send It button, I've become unenthusiastic about Response-O-Matic,
since their ads are now more obtrusive.

I've been researching CGI scripts for awhile now, and I think I understand how
to implement them. However, I'm not sure my ISP still supports them (my site
is being hosted on uslink.net, which was bought out by tds.net, and all sites have
been switched over to tds servers.

Short of setting up my own CGI scripts, is there another way to get forms
processed?

Thanks!
Scott





"Beauregard T. Shagnasty" wrote:

> Scott wrote:
>
> > Excuse me, but pop-up blockers are for ads that pop up
> > automatically.

>
> Depends on your software.
>
> > If you check my site, you'll see that my pop-ups are for people who
> > click on a link on purpose--for the information. Not
> > ads--information. It just happens to be a smaller window, which
> > makes it easier to view the info without switching to a new page.
> > What's the difference whether you see the requested information on
> > a small window or a large one?

>
> I just tried your form, using Firefox 1.0. Clicking submit took me to
> a new page in the same window, with the following raw code:
>
> <html>
> <head>
> <title>Thank You for your thoughtful comments!</title>
> <META HTTP-EQUIV="Content-type" CONTENT="text/html">
>
> ..and that was it. Oh, some server tried to set a cookie on the way. I
> refused it.
>
> --
> -bts
> -This space intentionally left blank.




All times are GMT. The time now is 10:32 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57