469,613 Members | 1,503 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,613 developers. It's quick & easy.

Is it possible to implement pop-up window without Javascript?

GS
Guys:

I have a question, Is it possible to implement pop-up window without
Java script, we don't want to use java script since it might get
blocked by pop-up blocker. Thanks in advance.

GS.

Oct 12 '06 #1
5 16985
On 2006-10-12, GS <gl*********@hotmail.comwrote:
Guys:

I have a question, Is it possible to implement pop-up window without
Java script, we don't want to use java script since it might get
blocked by pop-up blocker. Thanks in advance.
Set the popup to visibility: hidden initially, and use the :hover pseudo
in a descendent selector to set it to visibility: visible.

i.e.

#popup1
{
visibility: hidden;
}

#item1:hover #popup1
{
visibility: visible;
}
Oct 12 '06 #2
On 2006-10-12, Ben C <sp******@spam.eggswrote:
On 2006-10-12, GS <gl*********@hotmail.comwrote:
>Guys:

I have a question, Is it possible to implement pop-up window without
Java script, we don't want to use java script since it might get
blocked by pop-up blocker. Thanks in advance.

Set the popup to visibility: hidden initially, and use the :hover pseudo
in a descendent selector to set it to visibility: visible.

i.e.

#popup1
{
visibility: hidden;
}

#item1:hover #popup1
{
visibility: visible;
}
Sorry, read your post a bit too quickly. As others have pointed out you
(fortunately) can't do a popup window without JS. I was talking about a
popup menu, speech bubble, etc.
Oct 12 '06 #3

GS wrote:
Guys:

I have a question, Is it possible to implement pop-up window without
Java script, we don't want to use java script since it might get
blocked by pop-up blocker. Thanks in advance.

GS.
.........or use the target attribute, in href links and/or forms.

target="_blank" will pop a new window no matter what
target="_mywindow" will make that window once, and then refresh it
there after

Oct 12 '06 #4
I'v written a while ago some pop up stuff with CSS.
Just have a look at it at:

http://www.web-garden.be/designblog/...ry/css/page/2/

Hope it is helpfull.

br

Jobe
http://www.web-garden.be

Sa***************@gmail.com wrote:
GS wrote:
Guys:

I have a question, Is it possible to implement pop-up window without
Java script, we don't want to use java script since it might get
blocked by pop-up blocker. Thanks in advance.

GS.

........or use the target attribute, in href links and/or forms.

target="_blank" will pop a new window no matter what
target="_mywindow" will make that window once, and then refresh it
there after
Oct 13 '06 #5
Sa***************@gmail.com wrote :
GS wrote:
>Guys:

I have a question, Is it possible to implement pop-up window without
Java script, we don't want to use java script since it might get
blocked by pop-up blocker. Thanks in advance.

GS.

........or use the target attribute, in href links and/or forms.

target="_blank" will pop a new window no matter what
1- target="_blank" can be redirected by browsers into a new tab. This is
what NS 7.x was able to do. Firefox and a few other browsers can do that
as well.

"The HTML 4.01 target attribute is primarly used to target a specified
frame but it can also target a new window or an already opened secondary
window. Clicking a link which has a target attribute will no longer open
another window (or an already opened window) if the user has checked (...)"

http://www.gtalbot.org/FirefoxSectio...nLinkNewWindow

"User agents may provide users with a mechanism to override the target
attribute."
http://www.w3.org/TR/html401/present....html#h-16.3.2

2- target="_blank" will open an unnamed new window which can not be
reused, recycled. So, it's a poor design of interactivity, abusing the
user system resources.

http://developer.mozilla.org/en/docs...3D.22_blank.22
target="_mywindow" will make that window once, and then refresh it
there after
target="_mywindow" is better than "_blank" but it is invalid HTML since
only reserved names can start with the underscore.

Gérard
--
remove blah to email me
Oct 16 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Danny | last post: by
21 posts views Thread by Morten Aune Lyrstad | last post: by
14 posts views Thread by Alex | last post: by
2 posts views Thread by Thomas Ploch | last post: by
1 post views Thread by stmfc | last post: by
10 posts views Thread by =?iso-8859-1?B?QW5kcuk=?= | last post: by
reply views Thread by =?Utf-8?B?U2llZ2ZyaWVkIEhlaW50emU=?= | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.