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

Re: simple question

Henk Stokhorst wrote:
> 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/asso
rt.htm" name="assortiment">
>     <FRAME SRC="http://ourworld.compuserve.com/homepages/HenkStokhorst/cata
log.htm" name="catalog">
>   <FRAMESET COLS="25%,25%,25%,25%">
>     <FRAME SRC="http://ourworld.compuserve.com/homepages/HenkStokhorst/deal
er.htm" name="dealer">
>     <FRAME SRC="http://ourworld.compuserve.com/homepages/HenkStokhorst/prij
s.htm" name="prijs">
>     <FRAME SRC="http://ourworld.compuserve.com/homepages/HenkStokhorst/leve
r.htm" name="levertijd">
>     <FRAME SRC="http://ourworld.compuserve.com/homepages/HenkStokhorst/spec
iaal.htm" name="speciaal">
> <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
> <a href="" onClick = "parent.catalog.location.href = 'http://ourworld.compuserve.com/homepages/HenkStokhorst/race.gif
> <a href="" onClick = "parent.catalog.location.href = 'http://ourworld.compuserve.com/homepages/HenkStokhorst/mountain
> <HR>
> <a href="" onClick = "parent.catalog.location.href = 'http://ourworld.compuserve.com/homepages/HenkStokhorst/helmet.j
> <a href="" onClick = "parent.catalog.location.href = 'http://ourworld.compuserve.com/homepages/HenkStokhorst/zitje.jp
> </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.ht

I don't understand the problem. I took a look at the page and it 
seems to workd - you click on an item in the left frame and it 
appears in the right frame.
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/