Have you tried ignoring the JS aspect and just set the a href target link to
be the target frame?
I think that should work. <a href="link1.html" target="A">LinkA</a> and <a
href="link2.html" target="B">LinkB</a> (I have not actually tried this code
in a frammed enviroment.
Think that should work, I have done simeple html frame links link before I
knew any JS. When messing with frames I don't think you need to use JS,
think you may be making it more difficult than you need to.
Hope that helps
Stu
"Lars Vatland" <d2*******@yahoo.no> wrote in message
news:11*************@news.online.no...
Hello, if i have
frameset
frame name=A
frame name=B
How can i target all links in A to B?
Via a script in the frameset?
(i can only code the frameset file, not the frames)
Maybe something like:
frames['A'].window.location.target = "B"; ??
And 2) how to target only the files, not directories, in A to B?
(The purpose is to use the apache-generated index-file as frame A and
target links in it to B).
Thanks for any help,
LV
-please cc email