?
Solved

Open and Close window, no JavaScript

Posted on 2000-05-09
5
Medium Priority
?
207 Views
Last Modified: 2010-04-09
I am looking for a way to open a new window without a toolbar and then close that window with the click of a hyperlink.  All without JavaScript.  Any Ideas?
0
Comment
Question by:scotiaceilidh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Expert Comment

by:webhornet
ID: 2793271
no way

you can open a window like that:
<A HREF="file.html" TARGET="_blank">

but i see no way to close the window w/o javascript.

could you tell us y u don't wanna use javascript, we might find an answer much more easier.


i hope this helps
WebHornet
0
 
LVL 9

Accepted Solution

by:
Dain_Anderson earned 160 total points
ID: 2793903
You cannot open a window, without a toolbar, with plain HTML. The TARGET="_blank" will produce a full window, toolbars and all.

Closing a window without JavaScript can only be done two ways: clicking on the "x" in the corner or by holding down alt-f4 (windows). Since closing a window is an event-based operation, it takes a scripting language to trigger the event.

Hope that helps.
0
 
LVL 8

Expert Comment

by:jbirk
ID: 2793914
Yeah, why no javascript?  It's been supported since NN 2.0 and IE 3.0, both which came out about 10 years ago!  Few people turn it off anymore either...  The only problem might be with the small percentage that use text based free connections, and non-NN/IE browsers.  But this is a very small percentage from what I've seen...

-Josh
0
 

Expert Comment

by:webhornet
ID: 2794022
thanks dain for repeating my comment...
0
 
LVL 1

Author Comment

by:scotiaceilidh
ID: 2855983
Answer accepted
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question