Forum Moderators: open

Message Too Old, No Replies

Title a frameset

         

johnnybt

12:37 am on Jan 25, 2004 (gmt 0)

10+ Year Member



I have a website where I use frames. I have titled each page, but when i open up the index.htm page that loads the frameset, it still says "untitled document" on the browser. what do i do?

tedster

2:02 am on Jan 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A little bit of JavaScript on the content page handles that.

<script type="text/javascript">
void(parent.document.title='Content Page Title');
</script>

However, you still want to give your frameset document a Title as well - not everyone has JavaScript enabled.

thehittmann

4:41 am on Jan 25, 2004 (gmt 0)

10+ Year Member



edit the frameset page in a text editor and change the title in that.