# Popup window again

**URL:** https://forum.kirupa.com/t/popup-window-again/16594
**Category:** Uncategorized
**Created:** [March 26, 2003, 4:57pm UTC](https://forum.kirupa.com/t/popup-window-again/16594 "2003-03-26T16:57:16Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![lydia219](https://avatars.discourse-cdn.com/v4/letter/l/58956e/32.png) [@lydia219](https://forum.kirupa.com/u/lydia219)
#### Post date: [March 26, 2003, 4:57pm UTC](https://forum.kirupa.com/t/popup-window-again/16594/1 "2003-03-26T16:57:16Z")

</div>

Hi

I tried the following codes which you posted before without any works to get a popup window within FP2000. May you give a clear instruction? Thanks a lot.

Lydia

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 9:12pm UTC](https://forum.kirupa.com/t/popup-window-again/16594/2 "2003-03-26T21:12:55Z")

</div>

[http://javascript.internet.com/generators/popup-window.html](http://javascript.internet.com/generators/popup-window.html)

that should be working… you need to get the URL for the pop up and paste it in the first box on that page. then it is easy from there on in.

once you get the code from that site, write back and i will lead you throught the rest.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 9:27pm UTC](https://forum.kirupa.com/t/popup-window-again/16594/3 "2003-03-26T21:27:26Z")

</div>

Thank you so much for your quick respond. You are so kind.

Yes, I got the codes as below:

\<html\>  
\<head\>  
\<SCRIPT LANGUAGE=“JavaScript”\>  
\<!-- Idea by: Nic Wolfe ([Nic@TimelapseProductions.com](mailto:Nic@TimelapseProductions.com)) --\>  
\<!-- Web URL: [http://fineline.xs.mw](http://fineline.xs.mw) --\>

\<!-- This script and many more are available free online at --\>  
\<!-- The JavaScript Source!! [http://javascript.internet.com](http://javascript.internet.com) --\>

\<!-- Begin  
function popUp(URL) {  
day = new Date();  
id = day.getTime();  
eval(“page” + id + " = window.open(URL, ‘" + id + "’, ‘toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=500,height=400,left = 262,top = 184’);");  
}  
// End --\>  
\</script\>  
\<title\>open new window\</title\>  
\<meta http-equiv=“Content-Type” content=“text/html; charset=iso-8859-1”\>  
\</head\>

\<body bgcolor="#FFFFFF" text="#000000"\>  
\<A HREF=“javascript:popUp(‘[http://www.yahoo.com](http://www.yahoo.com)’)”\>Open the Popup Window\</A\>

\<!-- Script Size: 0.73 KB --\>  
\</body\>  
\</html\>

Instead of URL I added, I need to change to a pecific picture. So when the user click on the text , it will popup a bigger picture with exact window size. I don’t know how to do it in Front Page 2000

Thanks again

Lydia Lin

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 9:36pm UTC](https://forum.kirupa.com/t/popup-window-again/16594/4 "2003-03-26T21:36:20Z")

</div>

```php
<!-- TWO STEPS TO INSTALL POPUP WINDOW:

   1. Paste the first into the HEAD of your HTML document
   2. Use the code to open the popup page on your site -->

<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">
<!-- Idea by: Nic Wolfe (Nic@TimelapseProductions.com) -->
<!-- Web URL: http://fineline.xs.mw -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=300,height=300,left = 250,top = 150');");
}
// End -->
</script>

<!-- STEP TWO: Use the following link to open the new window -->

<A HREF="javascript:popUp('www.yahoo.com')">Open the Popup Window</A>

<!-- Script Size: 0.73 KB -->

```

im not sure if i under stand your question. but if your going to open up a picture instead of a HTML page, it should automically work, the picture will show up.

hope this helps\<:}

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 9:42pm UTC](https://forum.kirupa.com/t/popup-window-again/16594/5 "2003-03-26T21:42:37Z")

</div>

Sorry, I think I didn’t tell you what I want clearly.

I don’t want to open a URL. I want to open a photo stored on my computer ‘factory.gif’.

And I found I can’t copy the codes you sent to me into FP2000. It messed up when I inserted them into HTML.

Thanks

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 9:46pm UTC](https://forum.kirupa.com/t/popup-window-again/16594/6 "2003-03-26T21:46:08Z")

</div>

what is the link to the picture. and i will add it into the coding and then post it. 😉

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 9:48pm UTC](https://forum.kirupa.com/t/popup-window-again/16594/7 "2003-03-26T21:48:04Z")

</div>

The picture is stored on my computer. The name is “factory.gif”. I saved my html page and this picture in the same folder.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 9:50pm UTC](https://forum.kirupa.com/t/popup-window-again/16594/8 "2003-03-26T21:50:12Z")

</div>

you need to upload the picture to a server, or else it wont work.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 9:56pm UTC](https://forum.kirupa.com/t/popup-window-again/16594/9 "2003-03-26T21:56:44Z")

</div>

I don’t know what do you mean for a link? Actually, I inserted one small picture in FP2000, then I need to click it to popup a window to see a large one. The photo I stored in a folder call"upper image" right on my computer:

desktop/e-newsletter/upperimage/factory.gif

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 10:02pm UTC](https://forum.kirupa.com/t/popup-window-again/16594/10 "2003-03-26T22:02:09Z")

</div>

it needs to be uploaded to a server, for any one to see it.

so once you upload it, the new link would say something like  
[www.alexsdesigns.net/factory.gif](http://www.alexsdesigns.net/factory.gif)

but thats if it was uploaded to my server.

go to [www.tripod.com](http://www.tripod.com)  
thats where you can upload images

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 10:27pm UTC](https://forum.kirupa.com/t/popup-window-again/16594/11 "2003-03-26T22:27:57Z")

</div>

anyway, thanks a lot. I’ll consider what you said. Then I’ll return to you when I find a place to store my pictures. Thanks again and keep in touch.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 10:33pm UTC](https://forum.kirupa.com/t/popup-window-again/16594/12 "2003-03-26T22:33:06Z")

</div>

your very welcome.

if you have any more questions, just ask

😉
