Welcome to WebmasterWorld Guest from 54.160.163.163

Forum Moderators: incrediBILL

Message Too Old, No Replies

How Do I...

     

chrman

2:04 pm on Apr 30, 2001 (gmt 0)



I need to figure out two things in frontpage/internet explorer.
First, how do you set up a webpage that has the upper toolbars removed? If it has to be in a new window, is there a way to make that window auotmatically go to fullscreen?
Second, is there a way to create a "back" button in a web page that functions like the toolbar back button does?

Any help or sources would be appreciated.

rcjordan

2:48 pm on Apr 30, 2001 (gmt 0)

WebmasterWorld Senior Member rcjordan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



chrman, welcome to WebmasterWorld.

Your question may be re frontpage problems only, and I have no working knowledge of FP or WYSIWYG editors. However, you can do all of what you ask using 'standard' coding/javascript. I happen to have the code for the back button handy. I believe there's also a recent thread in this forum on sizing a window and stripping the toolbar, perhaps someone will drop the url.


<FORM>
<INPUT TYPE="button" VALUE="Go Back" onClick="history.back()">
</FORM>

joshie76

3:53 pm on Apr 30, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



open in a new window in the normal way setting your attributes. You can get the screen height and width from the screen.width and screen.height objects (JScript 1.2 only)

var sAttributes = "width="+screen.width+",height="+screen.height+",etc..etc..";
window.open("URL","Name",sAttributes);

chrman

4:09 pm on Apr 30, 2001 (gmt 0)



I found the forum thread that you mentioned. It can be found at [webmasterworld.com...]
i will give it a try and let you know about the results. Thanks for the fast reply.

chrman

6:33 pm on Apr 30, 2001 (gmt 0)



Ok, one more question that i'm not sure if it's possible. And i hope that i explain this right...

Is there a way to launch IE internally and not show toolbars directly instead of launching a new window after IE is open. The reason i need this is for internal document viewing for a project i am working on. The entire web is contained locally on the network with no external access.
So the scenario is this...user clicks on my html document across the network. It would be nice if it automatically opens an IE window with the toolbar removed. This of course assumes that IE is closed at the time and a fresh window is required.
I have worked with the other script and it's fine, the added touch of the first screen with no toolbars is desierable though.

On the issue of the back button, is there a way to customize the appearance of the button? (Apologies if this is obvious, i'm new at this)

rcjordan

6:41 pm on Apr 30, 2001 (gmt 0)

WebmasterWorld Senior Member rcjordan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



(no apologies req'd, you're doing fine)

No way I know of to strip the toolbars on the first page.

To customize the back button, see posts by Xoc and NFFC in this thread
[webmasterworld.com...]

joshie76

7:59 am on May 1, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You could try having the document open a 'start page'. This page automatically opens a second window (without toolbars) and loads your document. The script could then close the original window with the window.close() method.

You could even contain all this in one document by checking for the window.opener object:

if (!window.opener) {

no window opener? then open new window, load the same document and close this window
}

When this reloads the script will find the existing window.opener object and not run the script again.

J

chrman

9:53 pm on May 5, 2001 (gmt 0)



I was wondering if you could give me more information on the close.window command?
How does it work and what are the triggers?
 

Featured Threads

Hot Threads This Week

Hot Threads This Month