adding pop up windows

M

Mel

I want to click on a name of a person in a group picture and have a little window (like a pop up window) come up with their photo and a short bio in the window (but not go to a different page). I don't know what this little window is called or how to go about it...can anyone help me?
 
B

Bill Schroyer

Heres the code:

<!--goes in the <head> section in code view-->

<script>

function doPopUp(){

doPopUpWindow = window.open
("http://frontpagewiz.com/tools/metatag-
generator.asp","FrontPageWiz","scrollbars=yes,resizable=yes
,left=200,top=200,screenX=200,screenY=200,width=300,height=
400");

}

</script>

<!--Goes inbetween the <body> tags in code view-->

<a href="javascript:doPopUp()">Do a PopUp Window!!</a>

Bill Schroyer
[email protected]
http://www.frontpagewiz.com
-----Original Message-----
I want to click on a name of a person in a group picture
and have a little window (like a pop up window) come up
with their photo and a short bio in the window (but not go
to a different page). I don't know what this little
window is called or how to go about it...can anyone help
me?
 
M

Mel

Do you know how to do that without using html? I haven't been using the html part of FrontPage, and I'm not very good at it!
 
T

Thomas A. Rowe

You have to use JavaScript to popup the window if you want to control the size of the windows,
otherwise when creating the link, set the Frame target value to New Window (_blank)

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


Mel said:
Do you know how to do that without using html? I haven't been using the html part of FrontPage,
and I'm not very good at it!
 
B

Bill Schroyer

FYI, It's javascript not html :)

Yes, but it will cost you a few bucks:
http://websunlimited.com/

It's really not that hard just open your page in code or
html view, locate the head tags
<head>

other stuff

<script>

function doPopUp(){

doPopUpWindow = window.open
("http://yourdomain/folder/yourpageyouwanttoopen.htm","Fron
tPageWiz","scrollbars=yes,resizable=yes,left=200,
top=200,screenX=200,screenY=200,width=300,height=400");

}

</script>



</head>

Now place this code in the body (between the <body></body>
tags) where you want the link:

-----Original Message-----
Do you know how to do that without using html? I haven't
been using the html part of FrontPage, and I'm not very
good at it!
 
B

Bill Schroyer

FYI, It's javascript not html :)

Yes, but it will cost you a few bucks:
http://websunlimited.com/

It's really not that hard just open your page in code or
html view, locate the head tags
<head>

other stuff

<script>

function doPopUp(){

doPopUpWindow = window.open("
http://yourdomain/folder/yourpageyouwanttoopen.htm","FrontP
a geWiz","scrollbars=yes,resizable=yes,left=200 ,
top=200,screenX=200,screenY=200,width=300,height=400");

}

</script>



</head>

Now place this code in the body (between the <body></body>
tags) where you want the link:

-----Original Message-----
Do you know how to do that without using html? I haven't
been using the html part of FrontPage, and I'm not very
good at it!
 
D

DI

He can use " Spawn " from Jimco Ad-ins and it is FREE
http://www.jimcoaddins.com/addins.aspx
Now you can quickly and easily create hyperlinks that open in a new window configured exactly
the way you want! Spawn makes it a breeze to create popup windows right within FrontPage in a
flash!
 
J

John Jansen \(MSFT\)

FrontPage 2003 also has this functionality built in.

Insert > Behaviors > Open Browser Window
 
Top