How can hide the menu bar ,address bar with javascript in ie7.i have the code and used in ie6 but it doesn't work in ie7

because webpages have no right to go doing that

This function has been available few years back and often been used with photo galleries, however recently most of the browsers do not allow you to do so, some interesting info can be found in http://www.thescripts.com/forum/post299480-14.html

TRY MY SUGGESTIONS AT YOUR OWN RISK!
I ACCEPT NO RESPONSIBILITY FOR ANYTHING ADVERSE CAUSED BY MY ADVICE

Does it happen so often that you need a disclaimer? ;-)

its because some random person got annoyed when she trashed her pc (by her own stupidity) and kept emailing me constantly

Classic!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.