Connecting Tech Pros Worldwide Forums | Help | Site Map

open with no IE menu and buttons

981119
Guest
 
Posts: n/a
#1: Jul 24 '06
Hello all,

First time in this forum, actually i'm no experience with javascript,
i have one htm file which contains some javascript
one quick question, can i add javascript to let it open with no IE menu
and buttons?
i know that window.open can do it, but i mean script should be added in
this current htm file.

any comments is appreciated.

Best Regards,

-Chris


Jim Davis
Guest
 
Posts: n/a
#2: Jul 24 '06

re: open with no IE menu and buttons


"981119" <neogump@gmail.comwrote in message
news:1153714517.347448.313490@i42g2000cwa.googlegr oups.com...
Quote:
Hello all,
>
First time in this forum, actually i'm no experience with javascript,
i have one htm file which contains some javascript
one quick question, can i add javascript to let it open with no IE menu
and buttons?
i know that window.open can do it, but i mean script should be added in
this current htm file.
No... there are no methods to configure the currently active window in that
way. Even if they're were it would have to operate on the current window -
remember that when a browser opens it doesn't "have a page". The chrome
(toolbars, menus, etc) are constructed and displayed before the page is
looked at.

So anything like what you're saying would have to work by eliminating those
features from the current window... and anything that could do that would be
quickly tagged as a security issue by spammers abusing it.

You could, as you noted, open the application in a new, configured window
from a "launcher" page. That's the most common way to do it.

Jim Davis


981119
Guest
 
Posts: n/a
#3: Jul 24 '06

re: open with no IE menu and buttons


Hi Jim,

Thanks for you suggestion!

last thing, i create another htm file, can it work as show below?

<script language="javascript">
window.open("calculator-en.htm","","toolbar=no,menubar=no,
scrollbars=no,status=no,top=0,left=0")
</script>

i tried, however no page is loaded.

Thanks!

Best Regards,


-Chris

981119
Guest
 
Posts: n/a
#4: Jul 24 '06

re: open with no IE menu and buttons


Hi Jim,

I tried out, yes, it can work:

<script language="javascript">
window.open("calculator-en.htm","","toolbar=no,menubar=no")
</script>

It's really a good forum here,

Thanks you very much Jim.

Best Regards,

-Chris

Randy Webb
Guest
 
Posts: n/a
#5: Jul 24 '06

re: open with no IE menu and buttons


981119 said the following on 7/24/2006 1:19 AM:

Please quote what you are replying to.

If you want to post a followup via groups.google.com, don't use the
"Reply" link at the bottom of the article. Click on "show options" at
the top of the article, then click on the "Reply" at the bottom of the
article headers.

<URL: http://www.safalra.com/special/googlegroupsreply/ >
Quote:
Hi Jim,
I tried out, yes, it can work:
You should test that code with IE6 with the popup blocker enabled and
see how long it "works" with a new window that was not initiated by user
interaction.
Quote:
<script language="javascript">
language is deprecated, use the type attribute instead.
Quote:
window.open("calculator-en.htm","","toolbar=no,menubar=no")
</script>
>
It's really a good forum here,
Maybe that would be true if this were a "forum" but, rather, it is a
Usenet Discussion Group.

But, had you read the group FAQ, specifically 4.36, you probably
wouldn't have had to post this question at all.

"How do I modify the current browser window?"
<URL: http://jibbering.com/faq/#FAQ4_36>

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Closed Thread