brown2005 Posted December 5, 2007 Share Posted December 5, 2007 http://www.randomhomepage.co.uk/homepages/index.php?page=home i have that which is what i want... and the top.php code is include('../../include/include.php'); include('../../include/hits.php'); echo"<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional dtd'>"; echo"<html xmlns='http://www.w3.org/1999/xhtml'>"; echo"<head>"; echo"<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' />"; echo"<title>$config_website</title>"; echo"<link href='$config_website_url/include/style/top.css' rel='stylesheet' type='text/css' />"; include('../../include/scripts.php'); echo"</head>"; echo"<body>"; echo"</body>"; echo"</html>"; but the title is not working... and ideas how i can get round this? Quote Link to comment Share on other sites More sharing options...
rajivgonsalves Posted December 5, 2007 Share Posted December 5, 2007 you have to specify the title through javascript, I think the following should work <script> top.window.document.title = "test"; </script> Quote Link to comment Share on other sites More sharing options...
brown2005 Posted December 5, 2007 Author Share Posted December 5, 2007 spot on. thanks mate. Quote Link to comment Share on other sites More sharing options...
brown2005 Posted December 5, 2007 Author Share Posted December 5, 2007 new problem with the same thing. goto the page and click say the website link on the top blue bar and it has the bottom bar in the top bar. how can i stop that please. Quote Link to comment Share on other sites More sharing options...
brown2005 Posted December 5, 2007 Author Share Posted December 5, 2007 its ok ive sorted it.. added a target='_top' and works Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.