Solved

Open and Close window, no JavaScript

Posted on 2000-05-09
5
197 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 40 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

Technology Partners: 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

This article discusses four methods for overlaying images in a container on a web page
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
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 …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

733 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