Click to See Complete Forum and Search --> : Simple button in frame


Bondmj
08-08-2003, 01:28 PM
A simple newbie question.

I want to use a simple button in a frame linked back to my home page, which I want to open in the whole page not just one of the frames (_top)

I know it's an easy one but I am stuck any help would be appreciated ...


Thanks
Bondy

AdamBrill
08-08-2003, 01:40 PM
This should do it:top.location="wherever.htm";

Bondmj
08-08-2003, 01:47 PM
Thanks Adam,

Worked brilliantly,
Not sure where my head was ..... must be because it's now 4:45am :o

Charles
08-08-2003, 01:48 PM
Originally posted by AdamBrill
This should do it:top.location="wherever.htm"; That will work most, but certainly not all of the time. The following will always work.

<form action="whereever.htm" target="_top"><input type="submit"></form>

Bondmj
08-08-2003, 01:53 PM
Thanks Adam,

Worked brilliantly,
Not sure where my head was ..... must be because it's now 4:45am :o