Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2001-09-06
6
Medium Priority
?
168 Views
Last Modified: 2013-12-24
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
Comment
Question by:condit
  • 4
  • 2
6 Comments
 
LVL 7

Accepted Solution

by:
ClassyLinks earned 200 total points
ID: 6462074
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
 

Author Comment

by:condit
ID: 6462136
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
 
LVL 7

Expert Comment

by:ClassyLinks
ID: 6462189
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 Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 
LVL 7

Expert Comment

by:ClassyLinks
ID: 6462196
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
 

Author Comment

by:condit
ID: 6462292
ClassyLinks

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

condit
0
 
LVL 7

Expert Comment

by:ClassyLinks
ID: 6462324
You are welcome...I'm glad to help.

Stop by any time  8-)
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question