Javascript and frames

Giganews Newsgroups
Subject: Javascript and frames
Posted by:  Atz (ma…
Date: Mon, 28 Jul 2003

How to open existing page in the mainFrame.

My start page has 4 frames and on the left side are menu links in table,
with some effects .

<td height="23" align="center" valign="center" bordercolor="#666666"
bgcolor="#E1E1E1" style="cursor:hand" onclick="window.location='page1.html'"
onmouseover="bgColor='#FFFFCC'"  onmouseout="bgColor='#E1E1E1'">

<a href="page1.html" target="mainFrame" class="tditem"> Search</a>


If i use this code the page is loaded into same page and not in mainFrame.

I tryed with this :

but there is no effect...

Thanx in advance