SAM said:
Le 11/5/08 10:31 AM, rf a écrit :
Why ?
Why do browsers block popup windows? Because the users of those browsers
demanded that they do so.
What happens when a page unexpectedly simulates a popup using this method?
The user gets bloody cranky.
The absolute worst case is when a page pops up one on load, and
obscures/greys out the rest of the page. You have to do something to dismiss
the unwanted popup (and they all work differently) before accessing the
content of the page. Makes me real damn cranky, especially when said popup
is an ad or something that has nothing at all to do with what I have just
googled for. Far worse then those splash pages the now seem to be dying out.
I suspect this is exactly what the OP wants to do.
Not me.
http://barefile.com.au/test/popup.png
(or perhaps didn't you really try to see ?)
(I'm OK to say it is a bit dirty)
On re-examining the page I have determined that yes, there is actually a div
there that can be dragged around. However it simply does *not* look like any
sort of popup I have ever seen. The total lack of borders around it makes
the whole page look like you have re-discovered the IE broken box model.
If it takes me several minutes to figure out what is going on (and I have
been writing pages that contain such draggable divs for ages) then what hope
does your average viewer have?
At least put a border around the thing. A different background colour would
be an assist as well.
And don't ever ever pop it up unless the viewer has requested it and knows
that it is going to appear.