Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

An html page without any bars!!! 1

Status
Not open for further replies.

Inandjo

Programmer
Dec 7, 2001
46
FR
hi there,
i'm trying to have an html page without any task bar, status bar, scroll bar just like those adds pages.
I'm not looking for something like:

mywin = open("/test.html","whatever","resizable=no,menuBar=no......");

I wamt it straight on the first page!!!
Does anyone have an idea on how to achieve this, ...please????
 
You can remove the scrollbars by using document.body.scroll='no'

I'm no tsure you can change the other things.
 
Why not create a page that makes a popup window with your main page as the popup, when you do that you can choose to use the following:
-toolbar
-location
-directories
-status
-menubar
-scrollbars
-resizable

your coding for the popup window should be in your <BODY> tag I don't recommend making it a function and trying to call it later, I've been having a lot of problems trying to do that.

Hope that might help
Nate(0598792469)
 
Hello

This cannot be done on the first page. I know what you mean, you don't want to have to offer an open window option, you want it done immediately with the first visit

This cannot be done due to security, sadly

The reason is if you do not have a page at first load with a url box and top toolbar, for example, you might have a person create a link in the default 'home' of your browser without you knowing, using such features, and when you load up the browser, you can't go anywhere, you're stuck

and that page might be a hacker's page who creates 100 pop up windows, so every time you open up your browser, you're computer will freeze

Scary, huh? I know many programmers want what you requested, but it won't exist, it's not physically possible, without creating a new window.

I hope this answer helps you
 
yeah thanx nyc2001,
but this is hot steaming stuff that i need .
Is there no way to achieve that stuff???
It's crazyly important for me..
 
I haven't tested this yet but if it is so crucial you can't just have a pretty splash screen, you could try using javascript to open a new window then close the original one. If it's the main window the user will get prompted for a dialog boxing asking if they allow it to be closed.

It's not perfect but it's probably as close as you can get unfortunately.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top