complete borderless pop up window?

They have: 80 posts

Joined: Feb 2003

Hihi all

I have seen a few pages from yahoo from time to time where they have a flash movie splashing out the middle of the screen and then disappearing.

so from a wild guess they must have had a pop up winodw that is completely borderless , and had a transparent background on thier flash movie.

I have been able to produce the transparent flash movie, but the pop up window i cant get rid of the border or the bar above it, searched around and cant find anything on it , can anyone point me to the right direction or my initial guess is completely wrong ?

Thx in advance Laughing out loud

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

your initial guess is wrong. they are using dhtml to hide/move/reveal a div.

They have: 80 posts

Joined: Feb 2003

lol , gr8 , me on the wrong track again!!

brings back to my initial Q , can u actually make a pop up window without the bar and borders?

Cheerz Smiling

Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

No way. Smiling

They have: 80 posts

Joined: Feb 2003

thx abhishek,

is it hard to achieve in DHTML?

He has: 1,380 posts

Joined: Feb 2002

you are not making a popup window...you are making a div layer

think of it as putting syrup on a waffle...its another layer above it, and you can still see the underside, where there isnt syrup

you need to use something like this:

div.window {
position: absolute;
z-index: 2;
margin-left: 499px;
margin-top: 25px;
etc....}

AyntRyte's picture

He has: 145 posts

Joined: Jun 2004

Jeez, now I'm hungry

Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

AyntRyte wrote: Jeez, now I'm hungry

lol, my thoughts exactly.

Yes, you can't hope to manipulate window borders as they're handled by the window manager which is beyond the browser software. With some API calls a program can remove borders from its GUI window, but that's not within reach for a web application. Or that's the theory, at least.

On the other hand, there is this script which uses some dark arts to achieve the effect. But it's mostly non-functional now, afaik, with new software versions. In any case, I don't like it, most other users don't like it, and you shouldn't want to do this, you evil, evil person. Laughing out loud

The popular method now, as Kyle says, is to fake a window by having a div floating and whizzing around; even one that has a "close"/hide button. There are countless sources for this at dynamicdrive.com Smiling

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.