Forum Moderators: open

Message Too Old, No Replies

index page - without status bar - possible?

         

Lead_Head

12:29 pm on Mar 30, 2003 (gmt 0)

10+ Year Member



Lo all,

as title really, I've heard about 'chromeless windows' but that is for a pop-up window. how would I go about removing the status bar for my index page - and continue this throughout the website?

Regards

Nick

tedster

4:24 pm on Mar 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, Lead_Head.

The short answer - it's not possible. The look of the original window is not available to the author's javascript, only the user has that control.

If you're creating a dedicated application for a "captive audience", you can consider using signed scripts and getting universal browser privileges. But that's not going to cut it on a public website.

Lead_Head

4:58 pm on Mar 30, 2003 (gmt 0)

10+ Year Member



thnx Tedster! :)

I basically got a re-directory web address, and it re-directs to my ISP webspace. This webspace contains my Dads name - therefore I dont want it displayed.

I've noticed on some websites scrolling text replacing the "Opening page [blah...] de blah" in the status bar.

How is this done?

Regards

Nick

tedster

5:32 pm on Mar 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Javascript can replace the status bar message with the defaultStatus property of the window. To do this, you could place this script in the HEAD section of your page.

<script type="text/javascript">
window.defaultStatus = "Your custom message here"
</script.

This will set the default status message -- but that default message will still be temporarily overwritten as needed, for instance, when there's a mouseover on a link.

You mentioned scrolling messages - you probably don't need scrolling (it's pretty distracting from the rest of your page, IMO) but there are many such scripts around the web. They usually depend on the setTimeout() method to continually redraw the defaultStatus message.

Lead_Head

4:06 pm on Mar 31, 2003 (gmt 0)

10+ Year Member



Thanks a lot mate, I'm going to test this out now :)

Regards

Nick