This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Removing Address Bar? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Removing Address Bar?" Watch "Removing Address Bar?" New topic
Author

Removing Address Bar?

Sophy Jones
Greenhorn

Joined: Jun 05, 2013
Posts: 1
Hi
I'm new and don't know the jargon so I beg your pardon.
Basically my work asked me to create a locally hosted HTML page for our directors showreels to be sent around on a USB.
All good. I'm actually pretty impressed I managed to get that far.

Now they look pretty and are all sorted HOWEVER (dun dun dun) my boss has asked if we can remove the address bar.
From my googling it seems that this is not a possibility.

IS IT!?
I just can't tell.

Also, if it is. Please pretty please break it down in layman's terms for me. I'm just proud I managed to get a freaking video to play.

THANK YOU
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60077
    
  65

Nope. Even when you open a new window with window.open() the browser will display the URL.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rob Crowther
author
Ranch Hand

Joined: Nov 06, 2012
Posts: 270
    
    4

Depending on what browser you're using there is a possibility: the Full Screen API. Note that this API is experimental, so don't write your web page in such a way that it depends on the functionality (the term to search for here is 'progressive enhancement'). Here's a tutorial which discusses the issues of getting fullscreen working in compatible browsers.


Read my books: Hello! HTML5 & CSS3 | HTML5 in Action | Read my blog
 
 
subject: Removing Address Bar?
 
Similar Threads
Exceptions question
Using an image (jpg) in a JLabel
How to create a tree component in JSF
Tomcat server 6 not starting in eclipse europa
Arrays: Calling input from other methods and classes