Forum Moderators: open

Message Too Old, No Replies

changing the document header

         

pithhelmet

7:49 pm on May 11, 2004 (gmt 0)

10+ Year Member



Hi Everyone -

I am trying to change the header of IE
as data is entered into the form fields -

I have the javascript to change the title
of the page - but here is the kicker -

the page is setup in frames - one across the
top of the page (as a constant menu) and the
second is the content (data) window that
takes up the lower 7/8ths of the page -

Question is - how do i change the title bar
of the frames window - thus changing the
title of IE?

in javascript

thanks
tony

DrDoc

7:59 pm on May 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World!

top.title = "foobar";

pithhelmet

9:25 pm on May 11, 2004 (gmt 0)

10+ Year Member




Hello -

Thanks for the warm welcome!
and

Thanks for the reply - but alas - no worky worky

i tried it on both the onload and a button press

but no worky worky

there seems to be no attribute for title
under the top keyword...

but maybe its just my IDE (lol)

thanks for the reply

take care
tony

DrDoc

9:39 pm on May 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sorry, it's supposed to be:

top.document.title = "foobar";

pithhelmet

9:48 pm on May 11, 2004 (gmt 0)

10+ Year Member



WHOO HOO!

correct senior!

thanks a million

take care
tony