/    Sign up×
Community /Pin to ProfileBookmark

Popup window with no Title bar ?

I read somewhere that one way to open a popup window with no Title bar is to open it in the parent with the ‘fullscreen’ option, then in the popup HTML file, add a Javascript function in the HEAD section to have the window resize itself.

<script language=”JavaScript”>
window.resizeTo(150,150);
</script>

It’s hitting the coding, but the popup window isn’t resizing itself …

Does anyone know why it’s not working ?

Thanks.

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@CrazyMerlinDec 28.2005 — window.self.resizeTo
Copy linkTweet thisAlerts:
@konithomimoDec 28.2005 — window.self.resizeTo[/QUOTE]

That is useful only when used in conjunction with the fullsize method, which only works in IE. To have it work in other browsers you either have to use DHTML to place a layer over it. Thus making it appear to be gone. The only other way is to create a user defined window, which allows the user to disable the titlebar.
Copy linkTweet thisAlerts:
@felgallDec 28.2005 — The option for removing the title bar in IE was removed by the SP2 security update since not displaying the title bar is a MAJOR secuirty risk as the person has no way to tell when a hacker may have caused a window to appear in front of someone else's web page rather than it being opened by the page itself.
×

Success!

Help @tcurrier 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,
)...