Still trouble with var url onClick...

I've intended to use this script in my schools page..in the topp frame.
The page is still under construction...
http://www.fredly.fhs.no

<HTML>
<HEAD>



      <SCRIPT LANGUAGE="Javascript"><!--
      var IMAGE_COUNT=3;
      var SelectedImage=-1;
      
      var srcsOut = new Array(IMAGE_COUNT);
      var srcsOver = new Array(IMAGE_COUNT);
      var srcsClick = new Array(IMAGE_COUNT);
      var urls = new Array(IMAGE_COUNT);

      srcsOut[0] = "bg_ansa.jpg";
      srcsOut[1] = "bg_elev.jpg";
      srcsOut[2] = "bg_link.jpg";

      srcsOver[0] = "br_ansa.jpg";
      srcsOver[1] = "br_elev.jpg";
      srcsOver[2] = "br_link.jpg";

      srcsClick[0] = "brransa.jpg";
      srcsClick[1] = "brrelev.jpg";
      srcsClick[2] = "brrlink.jpg";

      urls[0]="fakta.htm"
      urls[1]="linker.htm"
      urls[2]="e-mail.htm"

      function doOver(which){
      if(SelectedImage!=which)document.images[which].src=
srcsOver[which];
      }

      function doOut(which){
      if(SelectedImage!=which)document.images[which].src=
srcsOut[which];
      }

      function doClick(which)
      {if(SelectedImage!=-1)document.images[SelectedImage].src=
srcsOut[SelectedImage];
      document.images[which].src=srcsClick[which];
      SelectedImage=which;
      top.window.main.location=urls[which];
      }
      //--></SCRIPT>

</HEAD>
<BODY BGCOLOR=FFFFFF TEXT=000000 LINK=0000FF VLINK=800080>

      <A HREF="Javascript:void(doClick(0))"onMouseOver="doOver(0);
return true" onMouseOut="doOut(0)">
      <IMG SRC="bg_ansa.jpg" BORDER="0"></A>
      <A HREF="Javascript:void(doClick(1))"onMouseOver="doOver(1);
return true" onMouseOut="doOut(1)">
      <IMG SRC="bg_elev.jpg" BORDER="0"></A>
      <A HREF="Javascript:void(doClick(2))"onMouseOver="doOver(2);
return true" onMouseOut="doOut(2)">
      <IMG SRC="bg_link.jpg" BORDER="0"></A>

</BODY>
</HTML>

As u can see.. I want the topframe to be as an indicator so those who visit the page can see what page they are on..(if u understand) But what I also want is that the menu frame on the left can be used the same way on the same time. I want them to coordinate so that they show exactly what page u're on. How do I do that? Do I have to use images or can the same be done with text?
The script above works rather bad in Explorer 3.0.
And most of all I want the function to work in Explorer 3.0 as well as Netscape 3.0!!!
Please help me with examples and explanation!
radarsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tecbuilderCommented:
MSIE 3.x cannot do what you want.  MSIE 3.x cannot change images on the fly.  As for your code it looks ok.  If you want things to look as if they were getting updated on the fly, then you will have to use images.  If you want text to change the frame would have to be reloaded/refreshed with the new text, unless you wanted to design your site with DHTML.  DHTML is only supported in the 4.x versions of Netscape and MSIE.
0
radarsAuthor Commented:
Not what I asked for!
How can I use the left menu together with the top menu?
0
rotiaCommented:
I've made it with applets.

I've made a Java Applet that works like a button, but it changes two frames, the body frame and the top frame, so when you click on the left side frame buttons you can change at the same time the contens of the 2 other frames.

And when u click on the top side frame, you can do the same.

0
radarsAuthor Commented:
I want an answer in Javascript not as a Java applet!
0
superquestionsCommented:
Impossible!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.