473,385 Members | 1,325 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Cant get menu script to to put linked page in the same frame.

Cant get menu script to to put linked page in the same frame. I am
new to Java
and I am wondering what am I doing wrong? below are my java applet
file, frame.html file, and my text file and one of my link file that
should load next to the menu on the same page. And Thank You in
advance.

Here is my menu applet:

<html>
<head>
<title>tree</title>
</head>
<body>
<applet code=it3free.class width=200 height=300>
<param name=copyright value="Image Intelligence Ltd. 1998
(www.imint.com)">
<param name=menufile value="menu.txt">
<param name=textfont value="Helvetica">
<param name=textsize value=11>
<param name=colourscheme value=7>
</applet></body>

My frame.html:

html>
<head>
<script language="JavaScript">
function checkFrames()
{
myframe = "myframe.htm";
top_page = top.location.toString().toLowerCase();
if (top_page.indexOf(myframe)==-1)
top.location = myframe;
}

</script>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Kenneth Montgomery</title>
<script language="JavaScript" fptype="dynamicanimation">
<!--
function dynAnimation() {}
function clickSwapImg() {}
//-->
</script>
<script language="JavaScript1.2" fptype="dynamicanimation"
src="animate.js">
</script>
</head>

my menu.txt file:

html>
<head>
<script language="JavaScript">
function checkFrames()
{
myframe = "myframe.htm";
top_page = top.location.toString().toLowerCase();
if (top_page.indexOf(myframe)==-1)
top.location = myframe;
}

</script>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Kenneth Montgomery</title>
<script language="JavaScript" fptype="dynamicanimation">
<!--
function dynAnimation() {}
function clickSwapImg() {}
//-->
</script>
<script language="JavaScript1.2" fptype="dynamicanimation"
src="animate.js">
</script>
</head>

One of my link files:

<html>
<head>
<script language="JavaScript">
function checkFrames()
{
myframe = "myframe.htm";
top_page = top.location.toString().toLowerCase();
if (top_page.indexOf(myframe)==-1)
top.location = myframe;
}

</script>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Kenneth Montgomery</title>
<script language="JavaScript" fptype="dynamicanimation">
<!--
function dynAnimation() {}
function clickSwapImg() {}
//-->
</script>
<script language="JavaScript1.2" fptype="dynamicanimation"
src="animate.js">
</script>
</head>

<body onload="dynAnimation()" language="Javascript1.2">

<p class="MsoHeader" style="tab-stops: 99.0pt center 3.0in left 4.75in
right 6.0in; position: relative !important; visibility: hidden"
language="Javascript1.2" align="center">&nbsp;</p>
<p class="MsoHeader" style="tab-stops:99.0pt center 3.0in left 4.75in
right 6.0in" align="center"><span
style="font-size:14.0pt;mso-bidi-font-size:10.0pt;font-family:Garamond;
background:silver;mso-bidi-font-weight:bold">Kenneth Montgomery<o:p>
</o:p>
</span></p>
<p class="MsoHeader" style="tab-stops: 99.0pt center 3.0in left 4.75in
right 6.0in; position: relative !important; visibility: hidden"
align="center" dynamicanimation="fpAnimflyRightFP1"
id="fpAnimflyRightFP1" language="Javascript1.2"><span
style="font-size:14.0pt;mso-bidi-font-size:10.0pt;font-family:Garamond;
background:silver;mso-bidi-font-weight:bold">1414 Shiloh Road, Apt.
2923<o:p>
</o:p>
</span></p>
<p class="MsoHeader" style="tab-stops: 99.0pt center 3.0in left 4.75in
right 6.0in; position: relative !important; visibility: hidden"
align="center" dynamicanimation="fpAnimflyRightFP2"
id="fpAnimflyRightFP2" language="Javascript1.2"><span
style="font-size:14.0pt;mso-bidi-font-size:10.0pt;font-family:Garamond;
background:silver;mso-bidi-font-weight:bold">Plano, Texas
75074-8023<o:p>
</o:p>
</span></p>
<p class="MsoHeader" style="tab-stops: 99.0pt center 3.0in left 4.75in
right 6.0in; position: relative !important; visibility: hidden"
align="center" dynamicanimation="fpAnimflyRightFP3"
id="fpAnimflyRightFP3" language="Javascript1.2"><span
style="font-size:14.0pt;mso-bidi-font-size:10.0pt;font-family:Garamond;
background:silver;mso-bidi-font-weight:bold">Home Phone:
972-881-4768<o:p>
</o:p>
</span></p>
<p class="MsoHeader" style="tab-stops: 99.0pt center 3.0in left 4.75in
right 6.0in; position: relative !important; visibility: hidden"
align="center" dynamicanimation="fpAnimflyRightFP4"
id="fpAnimflyRightFP4" language="Javascript1.2"><span
style="font-size:14.0pt;mso-bidi-font-size:10.0pt;font-family:Garamond;
background:silver;mso-bidi-font-weight:bold"><a
href="mailto:ba**********@yahoo.com">E-mail:<span style="mso-spacerun:
yes">&nbsp; </span>ba**********@yahoo.com</a><o:p>
</o:p>
</span></p>
<p class="MsoHeader" style="tab-stops: 99.0pt center 3.0in left 4.75in
right 6.0in; position: relative !important; visibility: hidden"
align="center" dynamicanimation="fpAnimflyRightFP5"
id="fpAnimflyRightFP5" language="Javascript1.2">&nbsp;</p>
<p class="MsoHeader" style="tab-stops: 99.0pt center 3.0in left 4.75in
right 6.0in; position: relative !important; visibility: hidden"
align="center" dynamicanimation="fpAnimflyRightFP6"
id="fpAnimflyRightFP6" language="Javascript1.2">&nbsp;</p>
<p class="MsoHeader" style="tab-stops: 99.0pt center 3.0in left 4.75in
right 6.0in; position: relative !important; visibility: hidden"
align="center" dynamicanimation="fpAnimflyRightFP7"
id="fpAnimflyRightFP7" language="Javascript1.2"><img border="0"
src="rooster.jpg" width="128" height="128"></p>

</body>

</html>
Jul 20 '05 #1
1 3215
In article <72*************************@posting.google.com> ,
ba**********@yahoo.com enlightened us with...
Cant get menu script to to put linked page in the same frame. I am
new to Java
and I am wondering what am I doing wrong? below are my java applet
file, frame.html file, and my text file and one of my link file that
should load next to the menu on the same page. And Thank You in
advance.

Here is my menu applet:
I assume this is the html page that has the menu in it, so...

<html>
<head>
<title>tree</title>
</head>
<body>


<base target="mainFrameName">
Where mainFrameName is the name of the frame you want the links loaded
in, as named in your frameset.
Note that this will make ALL links in that html page target the
mainFrameName frame unless you specify a different target for them.

--
--
~kaeli~
Why did kamikaze pilots wear helmets?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: yaktipper | last post by:
This explains how to disable the view source / right-click menu in Netscape 4, Netscape 6 and Internet Explorer (IE). <script language="JavaScript"> //This code is the beginning of the right...
12
by: MP Multimedia | last post by:
Hello everyone, I need help. I'm using a hierarchical menu made in javascript. When I used it in a one frame page, it came out fine. But now I need to change my page to 3 frames: a top frame,...
13
by: elad | last post by:
Hi The Menu doesn't work properly when I have 2 frame and the Menu popup frame=document target frame, when I choose item in the menu the doc opened and the menu get stuck. Here is the code...
1
by: ajay | last post by:
I have following code for a slide menu but i twiked it to work for a single level menu. Open it in a Browser to get a clear picture. I have 2 Qs 1) How to make first entry as non-link. i.e i...
4
by: Yuk Cheng | last post by:
<<<start index.htm>>> <html> <head> <script> function perform(action){ } </script> </head>
9
by: cmac | last post by:
Greetings, I love the HV menu and have been uning it for a long time. I recently was asked how to make a page for my wife (wedding coming up soon) and my wife would like to have 2 ways to...
2
by: SiNi | last post by:
Hello. I am an italian student and I do not known javascript language. I need your help! I have built a web page with frames (left frame and main frame). In the left frames I have attach...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.