Forum Moderators: open
A domain-name service provides redirection to my web page. For example, if you entered the URL "www.example.com", their frame document would load my webpage from my domain
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<title>www.example.com</title>
</head>
<frameset rows="*">
<frame name="siteredirect" src="http://my.pitiful.007.site/topdirectory/" marginwidth="0" marginheight="0" scrolling="auto" frameborder="0" noresize>
</frameset>
</html>
My question is, within my html, how can I change the window title from the framing page to something of my own choosing?
Thanks.
Robert
<Sorry, no personal URLs.
See Forum Charter [webmasterworld.com]>
[edited by: tedster at 8:19 pm (utc) on June 20, 2005]
This javascript works when the frameset and framed page are both from the same domain:
<script type="text/javascript">
void(parent.document.title='Title I Really Want');
</script>
You can try it and see if it works. Security concerns may block it on cross-domain frames, in which case you will not have much recourse.