Click to See Complete Forum and Search --> : document.title


David Harrison
05-13-2003, 12:46 PM
On my site I use document.title to display the title's of each page. However when browsing my site using Netscape I noticed that document.title didn't work. So is there a Netscape equivalent or perhaps one that works for both?
Also just quickly, I have noticed that Netscape always leaves a gap at the bottom of my page (geocities also leaves a gap, so I suppose there will be a bigger gap if you look at the online version), I think this may be because it doesn't like bottommargin="0", or is it because of some other reason, I think it's the same for rightmargin="0" aswell but you have to use screen resolution 640x480 to see this one.

khalidali63
05-13-2003, 12:53 PM
Please re-view your code,
document.title="some title"
works in all
Mozilla1+
IE6+,
NS6+,
Opera7+

David Harrison
05-14-2003, 05:09 AM
Well I tried it in Netscape 7.02 and it just put's Netscape in the title bar.

khalidali63
05-14-2003, 06:15 AM
I am certain,there is something wrong with the code ...:D

Try this link out..
http://68.145.35.86/skills/javascripts/ChangePageTitleDynamically.html