Solved

Open and Close window, no JavaScript

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
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…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

708 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now