/    Sign up×
Community /Pin to ProfileBookmark

Open new window

Hi

Im a newbie when it comes to JS. Im using dreaweaver mx and want to create a link that when clicked will open a new window. This part I can do. What I need to do is control the window so that it disables the the scroll bar and cant be resized. Somehow doing this with the behavior in DW doesnt remove the scroll bars.

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@KravvitzAug 23.2006 — Removing the scrollbars and making a window unable to be resized are bad practices. What happens if someone's using a lower screen resolution than you and the window takes up the whole screen yet some of the content is not visible and they can't scroll to see it?
Copy linkTweet thisAlerts:
@wcthrillauthorAug 23.2006 — The window wont be large. Do you know how to do it?
Copy linkTweet thisAlerts:
@KravvitzAug 24.2006 — Yes. [url=http://www.google.com/search?q=JavaScript+window.open+%7Etutorial]Use window.open().[/url]

Even so, there is no good reason to make it unable to be resized.
Copy linkTweet thisAlerts:
@wcthrillauthorAug 24.2006 — well thks for the input..but since you dont know how to do it stop replying..I need sum1 who knows not sum1 who questions whether its right or wrong
Copy linkTweet thisAlerts:
@KravvitzAug 24.2006 — [url=http://developer.mozilla.org/en/docs/DOM:window.open#Window_functionality_features]This one lists the two options you would need to use.[/url]

Just because it's possible to do something, doesn't mean you should. Would you not keep a child from touching a hot stove?

Assuming that just because I don't give you the exact information directly means that I don't know the answer is silly.
×

Success!

Help @wcthrill 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 5.19,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...