homepage Welcome to WebmasterWorld Guest from 54.167.138.53
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
How Do I...
chrman




msg:562580
 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




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

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




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

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




msg:562583
 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




msg:562584
 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




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

(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




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

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




msg:562587
 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?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved