# Newbie over his head

**URL:** <https://forum.kirupa.com/t/newbie-over-his-head/5289>\
**Category:** Uncategorized\
**Created:** [September 6, 2002, 7:28pm UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289 "2002-09-06T19:28:50Z")\
**Posts on this page:** 20\
**Page:** 5

<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:** [September 12, 2002, 3:10am UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/81 "2002-09-12T03:10:18Z")

</div>

3rd times a charm right?

---

<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:** [September 12, 2002, 3:17am UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/82 "2002-09-12T03:17:54Z")

</div>

yes! yes it is a charm!!! I’ve finally managed to do it perfectly!!! and you know the best thing, I understand how and why it works!!! OK I’ll make up the rest of the buttons and I’ll let you know when all is done! thankyou again for all your help these past 80 posts lol 🙂

- John

---

<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:** [September 12, 2002, 3:19am UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/83 "2002-09-12T03:19:44Z")

</div>

WOO HOO! AWESOME! The best part is that you understand. If you didn’t understand then it would be a mess in the future.

You know I want to see that when it is finished right? We worked so hard on it, it is like a child to me…hahahah…just kidding.🙂

---

<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:** [September 12, 2002, 4:09am UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/84 "2002-09-12T04:09:53Z")

</div>

ok I sent the almost final version to your e-mail, the rest i’ll fill in tomorrow! g’night!!!

- John

---

<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:** [September 12, 2002, 4:15am UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/85 "2002-09-12T04:15:54Z")

</div>

Very nice so far:)

---

<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:** [September 12, 2002, 11:38am UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/86 "2002-09-12T11:38:24Z")

</div>

OK I think this is the finaly menu that’ll be in my web-page… just a couple of changes…

(it’s in your e-mail)

- John

---

<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:** [September 12, 2002, 4:36pm UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/87 "2002-09-12T16:36:36Z")

</div>

I replied to your e-mail:)

---

<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:** [September 12, 2002, 4:42pm UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/88 "2002-09-12T16:42:18Z")

</div>

I already have them as links, and they work fine 🙂

---

<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:** [September 12, 2002, 5:13pm UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/89 "2002-09-12T17:13:15Z")

</div>

Awesome! Good work leo.

---

<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:** [September 12, 2002, 5:36pm UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/90 "2002-09-12T17:36:51Z")

</div>

This is non-Flash related but its related to my menu, using HTML how can I get the user to click an image (a JPG), and have it open in a new window that fits the size of the image being viewed, I can only get it to open the window in a small size…

- John

---

<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:** [September 13, 2002, 2:18am UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/91 "2002-09-13T02:18:38Z")

</div>

Hehe, javascript is my area. I included an .txt file on creating pop-up windows in HTML. I hope it helps. I have attached it to many posts on this forum and everyone that has read it has been able to get it to work, so you shouldn’t have a problem.

---

<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:** [September 13, 2002, 12:14pm UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/92 "2002-09-13T12:14:00Z")

</div>

thx for the java, but I decided it would get annoying if every pic opened up in a new window… so I’m gunna just get em’ to open up in the frame : )

- John

---

<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:** [September 13, 2002, 12:18pm UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/93 "2002-09-13T12:18:37Z")

</div>

heh this post is popular…it would take me days to read through all of it… hehe 🙂

---

<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:** [September 13, 2002, 1:44pm UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/94 "2002-09-13T13:44:21Z")

</div>

believe me you wouldent want to lol, Lost has just been helping me with some Flash, took a while but we got there in the end…

- John

---

<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:** [September 13, 2002, 1:48pm UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/95 "2002-09-13T13:48:43Z")

</div>

hehe ok 🙂

---

<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:** [September 13, 2002, 3:27pm UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/96 "2002-09-13T15:27:45Z")

</div>

Yes, we are finally there=) !!!

I wish you luck on your site leo, no matter what you decide to do:) If you have a lot of images it is probably better you put them in the frame, because the code in your page could get redundant and I never wrote a .txt file for the “advanced” pop-up windows.

---

<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:** [September 13, 2002, 3:55pm UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/97 "2002-09-13T15:55:40Z")

</div>

I have about 100 images I want ppl to be able to view, obviously not all on the same page, about 12 pics of each car (9 cars in total) - I’ll just get a real simple Java, I just dont want to have to make a new HTML page for each image…

- John

---

<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:** [September 13, 2002, 4:13pm UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/98 "2002-09-13T16:13:38Z")

</div>

Hehe, that is what I like about PHP. You can create 1 page and have your images load in there dynamically. I am still learning PHP, so please don’t ask me how to do that.

---

<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:** [September 13, 2002, 4:28pm UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/99 "2002-09-13T16:28:18Z")

</div>

Ok, I am going to try and explain my other way of popping up windows. I am typing this right here right now, so if there are any errors let me know. (Please replace [] with \<\> since the board converts HTML I had to do that)

First I want you to copy and paste this code in between your [HEAD] [/HEAD] tags.

```php
<SCRIPT LANUGAGE="javascript">
<!--
function newWin(page,winName,w,h,scrollb,resize) {
var win=null;
centerWidth = (screen.width) ? (screen.width-w)/2 : 0;
centerHeight = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+centerHeight+',left='+centerWidth+',scrollbars='+scrollb+',resizable='+resize+''
win = window.open(page,winName,settings);
}
-->
</SCRIPT>

```

This creates your function to pop up the windows. This only has to go in there once. Unlike the first one I sent you, that had to go in every time you wanted a new window. You would have copied and pasted that 100 times, that would have sucked.

Ok, now I will guide you through using this on a link (I am using text, but the same method can be used in the getURL of flash).

```php
<A HREF="javascript:newWin('http://www.lostinbeta.com','lostinbeta','300','200','0','0')">Open New Window</A>

```

Ok, now to explain this. The way the function goes is this

\<B\>newWin(‘URL’, ‘windowName’, ‘width’, ‘height’, ‘scrollable’, ‘resizeable’)\</B\>

0 = False  
1 = True, so if you want it to be resizeable just change 0 to 1.

All you have to do is add that code to your links for your images. Then you can change the height and width of each window directly in your link:)

If you have any questions feel free to ask.

PS: This will also center your pop-up window no matter what the screen resolution.

---

<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:** [September 13, 2002, 5:18pm UTC](https://forum.kirupa.com/t/newbie-over-his-head/5289/100 "2002-09-13T17:18:27Z")

</div>

thx I’ll give that a go…

[Previous page](https://forum.kirupa.com/t/newbie-over-his-head/5289.md?page=4)
