[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

simple question



I started writing a JavaScript and got trapped in a weird effect. I started by defing a frameset :

<HTML>
<HEAD>
<TITLE>Dealer applicatie</TITLE>
</HEAD>
<FRAMESET ROWS="75%,25%"> 
  <FRAMESET COLS="25%,75%"> 
    <FRAME SRC="http://ourworld.compuserve.com/homepages/HenkStokhorst/assort.htm"; name="assortiment"> 
    <FRAME SRC="http://ourworld.compuserve.com/homepages/HenkStokhorst/catalog.htm"; name="catalog"> 
  </FRAMESET> 
  <FRAMESET COLS="25%,25%,25%,25%"> 
    <FRAME SRC="http://ourworld.compuserve.com/homepages/HenkStokhorst/dealer.htm"; name="dealer"> 
    <FRAME SRC="http://ourworld.compuserve.com/homepages/HenkStokhorst/prijs.htm"; name="prijs"> 
    <FRAME SRC="http://ourworld.compuserve.com/homepages/HenkStokhorst/lever.htm"; name="levertijd"> 
    <FRAME SRC="http://ourworld.compuserve.com/homepages/HenkStokhorst/speciaal.htm"; name="speciaal"> 
  </FRAMESET> 
</FRAMESET> 
<BODY>
</BODY>
</HTML>

Then I wrote the assort.htm file, which should enable the reader to choose a product from a list and have a picture of it displayed in the catalog 
frame :

<HTML>
<HEAD>
<TITLE>Assortiment</TITLE>
</HEAD>
<BODY>
<H3>Assortiment</H3>
<a href="" onClick = "parent.catalog.location.href = 'http://ourworld.compuserve.com/homepages/HenkStokhorst/stad.gif'">Stadsfiets<BR></a>
<a href="" onClick = "parent.catalog.location.href = 'http://ourworld.compuserve.com/homepages/HenkStokhorst/race.gif'">Racefiets<BR></a>
<a href="" onClick = "parent.catalog.location.href = 'http://ourworld.compuserve.com/homepages/HenkStokhorst/mountain.gif'">Mountainbike<BR></a>
<HR>
<a href="" onClick = "parent.catalog.location.href = 'http://ourworld.compuserve.com/homepages/HenkStokhorst/helmet.jpg'">Helm<BR></a>
<a href="" onClick = "parent.catalog.location.href = 'http://ourworld.compuserve.com/homepages/HenkStokhorst/zitje.jpg'">Kinderzitje<BR></a>
</BODY>
</HTML>

I uploaded the files and it works. However the frame 'assortiment' gets filled with the entire frameset. I guess this is because of the * href="" * 
part. What do I do to get this working?
The site can be visited at http://ourworld.compuserve.com/homepages/HenkStokhorst/applic.htm


Regards,

Henk Stokhorst
--------------------------------------------------------------------
For help about the list, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
List archives and pointer to FAQ: http://www.obscure.org/javascript/