473,397 Members | 2,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

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 17162
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Danny | last post by:
Hi, I am writing a C program trying to read highlighted text in aother application (Acrobat Reader or Microsoft Office). How do I find out which application is on focus and grab the text...
21
by: Morten Aune Lyrstad | last post by:
I wish to create my own assembly language for script. For now it is mostly for fun and for the sake of the learning, but I am also creating a game engine where I want this system in. Once the...
14
by: Alex | last post by:
Hi, I have a question regarding to string variable. Please look at below example. ------------------------------ #define STR "ABC" char *testStr testStr = STR;
0
by: olsongt | last post by:
This one made me smile. From: http://aima.cs.berkeley.edu/python/utils.html#Queue class Queue: """Queue is an abstract class/interface. There are three types: Stack(): A Last In First Out...
2
by: hakimks | last post by:
You are provided with a sample C programs: calc.c, which implements a reverse polish notation calculator. Study it carefully. This program uses a stack (of course!) but the stack implementation is...
2
by: sekitoleko | last post by:
This operation involves push/pop operations on a stack,arranging the smaller discs to sit on larger ones.How can I write a program to implement this?
2
by: Thomas Ploch | last post by:
Hello folks, I am having troubles with implementing a timed queue. I am using the 'Queue' module to manage several queues. But I want a timed access, i.e. only 2 fetches per second max. I am...
1
by: stmfc | last post by:
i have implemented famous producer consumer example for multi-threading tutorials, to have some insight about multi-threading. there is producer thread which inserts into a buffer, if the buffer is...
10
by: =?iso-8859-1?B?QW5kcuk=?= | last post by:
In my application, I make use of the Borg idiom, invented by Alex Martelli. class Borg(object): '''Borg Idiom, from the Python Cookbook, 2nd Edition, p:273 Derive a class form this; all...
0
by: =?Utf-8?B?U2llZ2ZyaWVkIEhlaW50emU=?= | last post by:
I think SetWorldTransform/GetWorldTransform/ModifyWorldTransform are the functions I want. Does anyone have an example that implements a stack? (1) I want to call SetWorldTransform in...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.