Click to See Complete Forum and Search --> : break iframe


Popey
12-03-2003, 07:58 AM
whats the target="" bit to make a link in an iframe fill the window but not open a new window

im sure i know but cant remember

cheers
adam

DaveSW
12-03-2003, 09:49 AM
I'd guess _parent... but I might be wrong

Pittimann
12-03-2003, 10:37 AM
Hi!

That depends on how deeply the frames are nested.
target="_parent" should work in most cases.
Anyway - I'm sure if the iframe is somewhere in a document with a very "complicated" frame structure, target="_top" will be safer (target="_parent" points to the immediate farmeset parent)...

Cheers - Pit

Popey
12-03-2003, 10:39 AM
its the only frame on the page but ive used _top to be safe

cheers
adam