Twango Posted January 27, 2010 Share Posted January 27, 2010 how would i change the title of a window? document.write("<title>this</title"); isnt working. thanks! Link to comment Share on other sites More sharing options...
jeffman Posted January 27, 2010 Share Posted January 27, 2010 document.title = "Twango"; Link to comment Share on other sites More sharing options...
Twango Posted January 27, 2010 Author Share Posted January 27, 2010 not working. it doesnt do anything?so like <script>document.title = "This";</script>cause that isnt working? Link to comment Share on other sites More sharing options...
jeffman Posted January 27, 2010 Share Posted January 27, 2010 Something else in your document must be interfering. Post more code. Link to comment Share on other sites More sharing options...
Twango Posted January 27, 2010 Author Share Posted January 27, 2010 Something else in your document must be interfering. Post more code.<script type="text/javascript">function hh(){window.open("http://www.redcross.org","Help'>http://www.redcross.org","Help Haiti Now");document.title = "This";}</script><div style="position:fixed;bottom:0px;left:0px"><p style="background-color:darkgray" title="Help Haiti now" onclick="hh()"><b>Help Haiti. <a href="http://www.redcross.org" style="color:red;text-decoration:none" title="Click to help Haiti now" target="_blank">RedCross.org</a></p></b></div>*Updatemy incompetence has been noticed, i forgot to call the function. lol. sorry! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.