NS + Frames

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

I'm trying to update the title bar in the window from a frame...
this works in IE 6, NS 6, but not NS 4.77

<script language="javascript">
top.document.title="My new title";
</script>

I've played with it for 2 days now, and I'm thinking that it's not possible. Can anyone else shed more light on this abyss?

Mark Hensler
If there is no answer on Google, then there is no question.

mmi's picture

They have: 457 posts

Joined: Jan 2001

hey Mark - does this suggest that top.document.title is a read-only property?

Quote: * Page display
The content area displays a page. Text can be selected and copied. The content area of some pages is segmented into rectangular frames, each frame containing its own page. A page's background can be set by you or determined by the transmitted page. The location field lets you enter the location (URL) of a page you wish to bring to screen. The status message field and title bar text are read-only.

from this page - also found this

Quote: function refreshStatus(){ // doesn't work cause document.title is read-only
// top.document.title = "STALKER ::search('" + queryString + "'):dive('" + queryDepth + "'):status('" + queryStatus + ")'";
}

on this page - a clue perhaps

on the other hand, N4 is "checked" on this page - maybe the problem is the frame...


Web Xpertz Community Forums for Webmasters & Developers

Where You Can Learn, Advise, and Have Fun in the Process

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

argh.. thanks
at least I know I can stop looking

(and I have another reason to hate netscape)

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.