# Loading your website in a new window?

**URL:** <https://forum.kirupa.com/t/loading-your-website-in-a-new-window/34466>\
**Category:** Uncategorized\
**Created:** [November 2, 2003, 9:15pm UTC](https://forum.kirupa.com/t/loading-your-website-in-a-new-window/34466 "2003-11-02T21:15:44Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![SpitwolF](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@SpitwolF](https://forum.kirupa.com/u/SpitwolF)\
**Post date:** [November 2, 2003, 9:15pm UTC](https://forum.kirupa.com/t/loading-your-website-in-a-new-window/34466/1 "2003-11-02T21:15:44Z")

</div>

I’ll be more specific i want the kind of window that u cannot resize and it is exactly the same size as your flash player… how do I do this… I used to know it easily but HTML and JAVA have gone right out of my head.  
if anyone can help that’d be great!  
Thanx SpitwolF :crazy:

---

<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:** [November 2, 2003, 9:30pm UTC](https://forum.kirupa.com/t/loading-your-website-in-a-new-window/34466/2 "2003-11-02T21:30:39Z")

</div>

do a search on the forums for this…

centered popup, chromeless window…

but beware. they are evil.

why do you want to take away features of the browser? Design of a site should include the ability to go “back” if the user wishes. People are used to using the “back” button, so don’t take it away…

seriously, people hate them.

Rev ![](http://aulman.com/rev.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:** [November 3, 2003, 12:25am UTC](https://forum.kirupa.com/t/loading-your-website-in-a-new-window/34466/3 "2003-11-03T00:25:22Z")

</div>

dreamweaver 3

\> select the link(graphic) on text u have to add # or the link

\> press F8 key or window menu \>\> behaviours

\> click on + sign, open browser window \>\> browse the link \>\> u select height and width \>\> now dont checkmark on resize handles as u dont want user to resize the window.

\> give appropiate window name

that’s it, make sure u select onclick event in behaviour window, it comes onmouseover and use events for internet explorer 4.0 and later…

resize can only be blocked in internet explorer 5.5 and above.

then again there’s always ‘control key + N’ option and load more ways to open it in new window.

btw rev is right, pop up windows can be annoying.

---

<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:** [November 3, 2003, 2:24am UTC](https://forum.kirupa.com/t/loading-your-website-in-a-new-window/34466/4 "2003-11-03T02:24:47Z")

</div>

> \*Originally posted by Sphynx \*  
> \*\*sheeeeeeeeeeesh-

newbies…  
pj :sigh: \*\*

hope u r not talking about me 😛

---

<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:** [November 3, 2003, 11:56am UTC](https://forum.kirupa.com/t/loading-your-website-in-a-new-window/34466/5 "2003-11-03T11:56:34Z")

</div>

think dreamweaver MX is a bit different than, and was hoping to learn on HTML… think the guy was talkin bout the fact you use dreamweaver n not notepad. (which is what I’m trying to recap)

---

<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:** [November 3, 2003, 11:58am UTC](https://forum.kirupa.com/t/loading-your-website-in-a-new-window/34466/6 "2003-11-03T11:58:42Z")

</div>

> \*Originally posted by reverendflash \*  
> \*\*do a search on the forums for this…

centered popup, chromeless window…

but beware. they are evil.

why do you want to take away features of the browser? Design of a site should include the ability to go “back” if the user wishes. People are used to using the “back” button, so don’t take it away…

seriously, people hate them.

Rev \*\*

How come so many designers use them.

Fullscreen attribute is worse!!!

---

<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:** [November 3, 2003, 12:00pm UTC](https://forum.kirupa.com/t/loading-your-website-in-a-new-window/34466/7 "2003-11-03T12:00:15Z")

</div>

You need something like this:

```php
<a href="#" class="textstyle" onClick="MM_openBrWindow(filename.htm','windowname','toolbar=yes,menubar=yes,width=730,height=420')">

```

Where height and width are the dimensions of your Flash movie…

---

<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:** [November 3, 2003, 12:06pm UTC](https://forum.kirupa.com/t/loading-your-website-in-a-new-window/34466/8 "2003-11-03T12:06:52Z")

</div>

if Flash is vector what about

Width = avail.width \*08  
Height = Width \* (flash movie l/w scale factor)?

---

<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:** [November 3, 2003, 12:31pm UTC](https://forum.kirupa.com/t/loading-your-website-in-a-new-window/34466/9 "2003-11-03T12:31:08Z")

</div>

> \*Originally posted by Laslett \*  
> \*\*Fullscreen attribute is worse!!! \*\*

works for [http://www.frosch-studio.com/](http://www.frosch-studio.com/) …

---

<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:** [November 3, 2003, 6:23pm UTC](https://forum.kirupa.com/t/loading-your-website-in-a-new-window/34466/10 "2003-11-03T18:23:07Z")

</div>

yea i was talking about dreamweaver only, there are other ways to open, size, resize and stuff too, i m lazy myself, dont spend somuch time on coding thru html…

---

<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:** [November 4, 2003, 1:50pm UTC](https://forum.kirupa.com/t/loading-your-website-in-a-new-window/34466/11 "2003-11-04T13:50:07Z")

</div>

another question now… heeh sorry… urm got the coding off the tutorial… its fine and dandy apart from the fact that I cnt get the actual flash file to fit properly in the window… its a little to the left and down… any ideas?  
cheers

---

<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:** [November 4, 2003, 3:09pm UTC](https://forum.kirupa.com/t/loading-your-website-in-a-new-window/34466/12 "2003-11-04T15:09:44Z")

</div>

spitwolF i had this problem with a pop up gallery i made, i found if you give the pop up windows about 15 to 20 extra pixels above the size of your movie it works fine, i think its cause the HTML lines the swf up by default from a top and left margin thus removing the bottom and right edges.  
Either the above or you could try putting the SWF in a layer inside the pop up window…other than that im not sure.
