473,387 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

open with no IE menu and buttons

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

Jul 24 '06 #1
4 1442
"981119" <ne*****@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
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
Jul 24 '06 #2
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

Jul 24 '06 #3
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

Jul 24 '06 #4
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/ >
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.
<script language="javascript">
language is deprecated, use the type attribute instead.
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/
Jul 24 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: John Pote | last post by:
I have a menu bar in a top level window as follows menuBar = Menu(rootWin) menuBar.add_command( label='Quit', command=rootWin.quit) configMenu = Menu(menuBar, tearoff=0)...
3
by: Bob | last post by:
I am trying to create a popup page (to act as a menu) from a parent page. When the parent page (index.jsp) calls my popup function (see below) it will properly open the correct size browser window...
1
by: ssb | last post by:
Hello, One form in my application is the MAIN form. It is set up as "startup" form. However, I need to do the following: (1) When I double click MDE file to launch my project, the MAIN form...
2
by: FMR | last post by:
I have an Access 2000 application that has a backend database which sits on the network and a frontend installed to each PC. When the frontend is opened, users have to log on and then the...
4
by: riggs | last post by:
Hi, I've got a simple program that contains a windows form with 3 command buttons on. The project also includes a notifyicon and a context menu. The context menu has 3 menu items (mirroring the 3...
1
by: Dino Buljubasic | last post by:
Hi, I have a toolbar with several buttons on it, one of which is set up to be as a DropDown button. I also have a context menu with menu items assigend to it so when I click that button, my...
4
by: robert.waters | last post by:
Hello, I have a main form that is maximized when my application loads; this main form contains links to all other forms. I've had to specify the Popup property of these other forms, so that...
2
by: RLN | last post by:
I was at this link to add a menu bar to my Access app. http://office.microsoft.com/en-s/access/HP051890341033.aspx I got the menu bar added, but had some more questions about it. In the link...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.