JAVASCRIPT - New window without URL (location)
Sep 06, 2012
By
Hardy Reyes
Hi friends,
I write because I have integrated into the storyline following trigger:
var address = "http://www.google.com";
var target = "_blank";
win = window.open (address, target, 'width = 640, height = 360');
It works correctly, opening a popup of 640 x 360 with Google page.
Now what I need is to hide the URL (location), I implemented "location = 0 (or no)."
var address = "http://www.google.com";
var target = "_blank";
win = window.open (address, target, 'location = 0, width = 640, height = 360');
But I can't hide the url.
Anybody could help me?
4 Replies
Hi, Hardy -
What browser are you using? The reason I ask is many modern browsers do not allow the address bar to be hidden as a security measure.
You might try this:
win = window.open (address, target, 'location = no, width = 640, height = 360');
I see you already tried location = no.
Hi Steve,
Sorry for the delay, but was not getting reminders of this forum.
I tried it in Chrome, Firefox and Explorer. Everyone keeps showing me the url.
Best regards,
After 6 years, any solution for this Hardy?
This discussion is closed. You can start a new discussion or contact Articulate Support.