Solved

Open and Close window, no JavaScript

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Form Submit falis 6 33
Python - desktop use 1 30
HTML5 Get data in table rows 5 26
Get Pixel color of the x and y axis Html without canvas 8 32
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

806 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