473,721 Members | 2,234 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.cl ass 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="Helvetic a">
<param name=textsize value=11>
<param name=coloursche me value=7>
</applet></body>

My frame.html:

html>
<head>
<script language="JavaS cript">
function checkFrames()
{
myframe = "myframe.ht m";
top_page = top.location.to String().toLowe rCase();
if (top_page.index Of(myframe)==-1)
top.location = myframe;
}

</script>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="GENERATOR " content="Micros oft FrontPage 4.0">
<meta name="ProgId" content="FrontP age.Editor.Docu ment">
<title>Kennet h Montgomery</title>
<script language="JavaS cript" fptype="dynamic animation">
<!--
function dynAnimation() {}
function clickSwapImg() {}
//-->
</script>
<script language="JavaS cript1.2" fptype="dynamic animation"
src="animate.js ">
</script>
</head>

my menu.txt file:

html>
<head>
<script language="JavaS cript">
function checkFrames()
{
myframe = "myframe.ht m";
top_page = top.location.to String().toLowe rCase();
if (top_page.index Of(myframe)==-1)
top.location = myframe;
}

</script>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="GENERATOR " content="Micros oft FrontPage 4.0">
<meta name="ProgId" content="FrontP age.Editor.Docu ment">
<title>Kennet h Montgomery</title>
<script language="JavaS cript" fptype="dynamic animation">
<!--
function dynAnimation() {}
function clickSwapImg() {}
//-->
</script>
<script language="JavaS cript1.2" fptype="dynamic animation"
src="animate.js ">
</script>
</head>

One of my link files:

<html>
<head>
<script language="JavaS cript">
function checkFrames()
{
myframe = "myframe.ht m";
top_page = top.location.to String().toLowe rCase();
if (top_page.index Of(myframe)==-1)
top.location = myframe;
}

</script>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="GENERATOR " content="Micros oft FrontPage 4.0">
<meta name="ProgId" content="FrontP age.Editor.Docu ment">
<title>Kennet h Montgomery</title>
<script language="JavaS cript" fptype="dynamic animation">
<!--
function dynAnimation() {}
function clickSwapImg() {}
//-->
</script>
<script language="JavaS cript1.2" fptype="dynamic animation"
src="animate.js ">
</script>
</head>

<body onload="dynAnim ation()" language="Javas cript1.2">

<p class="MsoHeade r" style="tab-stops: 99.0pt center 3.0in left 4.75in
right 6.0in; position: relative !important; visibility: hidden"
language="Javas cript1.2" align="center"> &nbsp;</p>
<p class="MsoHeade r" 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;fon t-family:Garamond ;
background:silv er;mso-bidi-font-weight:bold">Ke nneth Montgomery<o:p>
</o:p>
</span></p>
<p class="MsoHeade r" style="tab-stops: 99.0pt center 3.0in left 4.75in
right 6.0in; position: relative !important; visibility: hidden"
align="center" dynamicanimatio n="fpAnimflyRig htFP1"
id="fpAnimflyRi ghtFP1" language="Javas cript1.2"><span
style="font-size:14.0pt;mso-bidi-font-size:10.0pt;fon t-family:Garamond ;
background:silv er;mso-bidi-font-weight:bold">14 14 Shiloh Road, Apt.
2923<o:p>
</o:p>
</span></p>
<p class="MsoHeade r" style="tab-stops: 99.0pt center 3.0in left 4.75in
right 6.0in; position: relative !important; visibility: hidden"
align="center" dynamicanimatio n="fpAnimflyRig htFP2"
id="fpAnimflyRi ghtFP2" language="Javas cript1.2"><span
style="font-size:14.0pt;mso-bidi-font-size:10.0pt;fon t-family:Garamond ;
background:silv er;mso-bidi-font-weight:bold">Pl ano, Texas
75074-8023<o:p>
</o:p>
</span></p>
<p class="MsoHeade r" style="tab-stops: 99.0pt center 3.0in left 4.75in
right 6.0in; position: relative !important; visibility: hidden"
align="center" dynamicanimatio n="fpAnimflyRig htFP3"
id="fpAnimflyRi ghtFP3" language="Javas cript1.2"><span
style="font-size:14.0pt;mso-bidi-font-size:10.0pt;fon t-family:Garamond ;
background:silv er;mso-bidi-font-weight:bold">Ho me Phone:
972-881-4768<o:p>
</o:p>
</span></p>
<p class="MsoHeade r" style="tab-stops: 99.0pt center 3.0in left 4.75in
right 6.0in; position: relative !important; visibility: hidden"
align="center" dynamicanimatio n="fpAnimflyRig htFP4"
id="fpAnimflyRi ghtFP4" language="Javas cript1.2"><span
style="font-size:14.0pt;mso-bidi-font-size:10.0pt;fon t-family:Garamond ;
background:silv er;mso-bidi-font-weight:bold"><a
href="mailto:ba **********@yaho o.com">E-mail:<span style="mso-spacerun:
yes">&nbsp; </span>ba******** **@yahoo.com</a><o:p>
</o:p>
</span></p>
<p class="MsoHeade r" style="tab-stops: 99.0pt center 3.0in left 4.75in
right 6.0in; position: relative !important; visibility: hidden"
align="center" dynamicanimatio n="fpAnimflyRig htFP5"
id="fpAnimflyRi ghtFP5" language="Javas cript1.2">&nbsp ;</p>
<p class="MsoHeade r" style="tab-stops: 99.0pt center 3.0in left 4.75in
right 6.0in; position: relative !important; visibility: hidden"
align="center" dynamicanimatio n="fpAnimflyRig htFP6"
id="fpAnimflyRi ghtFP6" language="Javas cript1.2">&nbsp ;</p>
<p class="MsoHeade r" style="tab-stops: 99.0pt center 3.0in left 4.75in
right 6.0in; position: relative !important; visibility: hidden"
align="center" dynamicanimatio n="fpAnimflyRig htFP7"
id="fpAnimflyRi ghtFP7" language="Javas cript1.2"><img border="0"
src="rooster.jp g" width="128" height="128"></p>

</body>

</html>
Jul 20 '05 #1
1 3254
In article <72************ *************@p osting.google.c om>,
ba**********@ya hoo.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="mainFra meName">
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
13719
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 click disable function right(e) { //This function is for Net 4. if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) {
12
3406
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, a left frame and a right frame. The menu is on the top frame and when hovering the categories, the sections appear under the left and right frame. How do I solve that problem? (I use Dreamweaver.) Thanks for all your answers.
13
5026
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 I'm using: FrameSet ------------------------------------------------------- <html>
1
4328
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 want to make first text as Table Heading/menu category. For examle in the given menu i want to make a heading as "Comp. Languages" which won't be a link. 2) The position of this menu is absolute to the page. I want to make it absolute to the Table...
4
5778
by: Yuk Cheng | last post by:
<<<start index.htm>>> <html> <head> <script> function perform(action){ } </script> </head>
9
3090
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 navigate on the same page. So essentially i would like to have a Horizontal menu and a vertical menu for people to navigate with. From everything i have been reading i dont think this is possible as both menus would call the same config file...
2
1776
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 the code that you find below. I have a problem. because I am not able...when I choose a voice in the menu, the relative web page open in the left menu....where there is the menu; but
0
8840
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9367
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9131
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9064
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8007
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4753
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3189
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2576
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2130
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.