mantrid said:
David E. Ross said:
I use
<form action="screen.php" target="_blank" method="post"> and a submit button
to open a new separate window which is simply a display screen. I therefore
do not wish to have the address, tool and menu bars displayed. Can I do this
from the
form script? or would I have to put some HTML script on the page that is to
be opened. or is it only possible with java script?
Can anyone offer a solution on how to do this?
[...]
Do I understand you? You want to change how my browser appears and
works after I put an effort into making it appear and work exactly the
way I want it?
You can't. I use SeaMonkey as my browser. I installed an extension
that creates a non-standard toolbar that, if you suppress any of the
standard bars, this bar will still remain. On this bar, I have a button
that restores the other bars.
[...]
Why is everyone getting uptight about this?
Besides people being generally stupid, obnoxious or daft (remember the song?
;-)), several reasons come to mind:
1. You have posted with a Subject that tells of removing something people
like.
2. You have crossposted to three newsgroups, and across two top-level
hierarchies, without Followup-To, needlessly.
3. Your question indicates that you have not done any, or at least not
sufficient, research by yourself as what you are asking for is a FAQ
(frequently asked question) that can be easily found with your favorite
search engine.
4. You wish to create a separate (popup) window which is generally frowned
upon as it consumes more processing time and memory than usual Web
navigation, and is counter-intuitive to it.
Popups were also frequently used for ads before there were popup blockers
that are now circumvented by ads in block-level elements. It is curious
that although advertisement on the Web allow services there to remain for
free or at least less expensive than without advertisement, they are
generally frowned upon, myself included.
5. You are using a well-known broken newsreader application and you don't
know (yet) how to work around that properly (see above):
http://insideoe.com/
However, I recommend you use Mozilla Thunderbird or KNode instead.
You also don't know (yet) how to quote properly:
http://www.jibbering.com/faq/faq_notes/clj_posts.html#ps1Post
Therefore your postings are not as easily legible and consume more time
and bandwidth of their readers than they need to. More information can
be found here:
http://en.wikipedia.org/wiki/Usenet
Perhaps it is easier if you see the service I am providing my users and then
you will understand why it is not nessessary to have clutter like tool and
address bars
goto
http://www.iddsoftware.co.uk/announcer/announcermain.php
and then click the example to see the display
6. You have not posted this in the first place.
The oft-posted solution is to assign an event listener for the `submit'
event of the form, in which you attempt to create a window as you would
like it to be and then submit to that window:
<form action="..." target="formPopup" ...
onsubmit="return handleSubmit(this);">
<script type="text/javascript">
function handleSubmit(f)
{
/*
* Minimum allowed dimensions for the window,
* and minimum features for accessibility; YMMV.
*/
if (window.open("", f.target,
"width=100,height=100,scrollbars,resizeable"));
{
f.submit();
return false;
}
return true;
}
</script>
<!-- the form content goes here -->
</form>
Note that there may be a race condition. To work around that is left as an
exercise to the reader.
That aside, if you still think that scrolling texts are a pretty neat idea,
you really should do a quick search on the Web about news tickers and how
and why they are actually hated by visitors.
F'up2 comp.lang.javascript
PointedEars