By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,967 Members | 2,124 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,967 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a

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

P: n/a
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

P: n/a
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.