School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 309,262 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,472 people online right now. Registration is fast and FREE... Join Now!




Manupulating window size

 

Manupulating window size

nil_gh_80

21 Sep, 2007 - 01:08 AM
Post #1

New D.I.C Head
*

Joined: 20 Sep, 2007
Posts: 1


My Contributions
I want a new window will be open by clicking a link, which will be my desirable size like pop-up window how can I do this using HTML/Javascript.

User is offlineProfile CardPM
+Quote Post


devangnegandhi

RE: Manupulating Window Size

21 Sep, 2007 - 10:13 PM
Post #2

New D.I.C Head
Group Icon

Joined: 23 Jan, 2006
Posts: 40



Thanked: 1 times
Dream Kudos: 100
My Contributions
just call a function with the below javascript and it will open a new window...... just change the width and height according to your needs......and if you dont want the status or menubar to appear, then just remove it from the open() command.....

CODE

var newWindow = window.open("someDoc.html","windowName","status,menubar,height=400,width=300");
newWindow.focus( );

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/26/09 10:14AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month