Page 1 of 1
php/html help please
Posted: Wed 08 Dec, 2004 22.33
by nidave
Does anyone know how to give an index.htm a name so that
if I click on a link from a popup window it changes the index.htm page?
I know you can name windows and use that refrence but how do you name the defult index.htm?
Posted: Thu 09 Dec, 2004 09.57
by Dr Lobster*
Magic TARGET names
These names all begin with the underscore character. Any targeted window name beginning with underscore which is not one of these names, will be ignored.
TARGET="_blank"
This target will cause the link to always be loaded in a new blank window. This window is not named.
TARGET="_self"
This target causes the link to always load in the same window the anchor was clicked in. This is useful for overriding a globally assigned BASE target.
TARGET="_parent"
This target makes the link load in the immediate FRAMESET parent of this document. This defaults to acting like "_self" if the document has no parent.
TARGET="_top"
This target makes the link load in the full body of the window. This defaults to acting like "_self" if the document is already at the top. It is useful for breaking out of an arbitrarily deep FRAME nesting.
in addition to this, i believe you can use target="_main" too. give _top, _main, _parent a go and see what happens. i have no clue on the platform portability of these, hyma is the resident forum king on standards compliance, so hopefully he'll be able to help you out when he reads this post.
Posted: Thu 09 Dec, 2004 12.42
by nidave
Dr Sigmund Mohammad wrote:Magic TARGET names
These names all begin with the underscore character. Any targeted window name beginning with underscore which is not one of these names, will be ignored.
Thanks for that - I have managed to solve the problem with a javacript call on the index page - to give it a name so I can refence it from the popup window