complete borderless pop up window?
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
Suzanne posted this at 00:36 — 1st July 2004.
She has: 5,507 posts
Joined: Feb 2000
your initial guess is wrong. they are using dhtml to hide/move/reveal a div.
starter posted this at 00:50 — 1st July 2004.
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
Abhishek Reddy posted this at 00:57 — 1st July 2004.
He has: 3,348 posts
Joined: Jul 2001
No way.
starter posted this at 01:42 — 1st July 2004.
They have: 80 posts
Joined: Feb 2003
thx abhishek,
is it hard to achieve in DHTML?
kb posted this at 01:58 — 1st July 2004.
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 posted this at 02:48 — 1st July 2004.
He has: 145 posts
Joined: Jun 2004
Jeez, now I'm hungry
Abhishek Reddy posted this at 05:03 — 1st July 2004.
He has: 3,348 posts
Joined: Jul 2001
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.
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
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.