Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 170
  • Last Modified:

FP2002 how do I force a .html to open a certain size & no menu's?

I'm using FrontPage 2002 & I'm trying create a page that when opened will only open to a specified size & have no visible menu's or scroll bars.  I'd appreciate any help with this.

condit
0
condit
Asked:
condit
  • 4
  • 2
1 Solution
 
ClassyLinksCommented:
Hi there.

You do this from the link to the page.

Put this little JavaScript in your <head> section:

<script language="JavaScript">

<!--//BEGIN Script

function new_window(url) {

link = window.open(url,"Link","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=600,height=500,left=40,top=50");

}
//END Script-->
</script>

Then you can call your links like this:

<a href="javascript:new_window('http://www.canada411.sympatico.ca/')">Canada 411</a>

Set a feature to 0 if you want to disable it.  Change the width & height parameters to the size of window you want to open and the left/top to where you want it to appear on the screen.

HTH
0
 
conditAuthor Commented:
ClassyLinks

I should explain a little bit more about what the final outcome will be.  I'm trying to get a cd I'm creating to "autorun" a .html file set to a paticular size w/no menues showing.  From this .html page you will have the option of opening the website from the cd-rom or installing an .exe file.
0
 
ClassyLinksCommented:
Aye, there's the rub.

AFAIK, Unless you have your autorun hitting a link, you cannot control how the browser opens.  That is a user setting.
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
ClassyLinksCommented:
how are you calling the html from the auto run?  Maybe we can work with that (but I don't know much about autoruns so bare with me.)
0
 
conditAuthor Commented:
ClassyLinks

actually I did accomplish what I was trying to do with your first suggestion.  Thank you very much.

condit
0
 
ClassyLinksCommented:
You are welcome...I'm glad to help.

Stop by any time  8-)
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now