/    Sign up×
Community /Pin to ProfileBookmark

Delete/Hide browser toolbars after opening page

I’m making a email newsletter which opens a pop-up window with a form. Hotmail and Yahoo mail seem to edit the script of the openNewWindow I use. So the only solution I see right now is to open a normal new window and try to make it appear as a pop-up window using onLoad in the body tag.

So: is there a way to gat rid of the various toolbars of a browser [I]after[/I] a normal window is opened? I already got my page to resize to the good size using onLoad.

to post a comment
HTML

5 Comments(s)

Copy linkTweet thisAlerts:
@tabzterSep 12.2005 — use this example:

[B]

window.open("yoursite.html","windowName","width=200,height=100,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=yes");[/B]


but change the settings as to what you desire. They are kinda self-explanatory.
Copy linkTweet thisAlerts:
@arjanzzzauthorSep 12.2005 — Thanks for the answer but it doesn't seem to work... I now use:

<BODY onLoad="javascript:window.resizeTo(820,800)">

in the new page, which works fine, but still no clue on how to get rif of the toolbars...

Thanks again!
Copy linkTweet thisAlerts:
@arjanzzzauthorSep 12.2005 — anyone?
Copy linkTweet thisAlerts:
@felgallSep 12.2005 — Any sensible person has Javascript disabled in their email program. If you want them to open a popup from an email provide an ordinary link.
Copy linkTweet thisAlerts:
@arjanzzzauthorSep 12.2005 — I do that, but after that I want to resize that new window and get rid of the toolbars.... not for any 'scary' purpose, just because it looks much better. But I think I have to close the browser window and open a new one with onLoad in the body tag(?)
×

Success!

Help @arjanzzz spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...