Welcome to WebmasterWorld Guest from 54.83.81.52

Forum Moderators: incrediBILL

Message Too Old, No Replies

Change window size without Javascript?

     
5:57 pm on Feb 15, 2007 (gmt 0)

New User

10+ Year Member

joined:Feb 15, 2007
posts:1
votes: 0


Ok Id like when a person click on a link a new window coms up but a certian size. Id rather not use java as then its block by a pop up blocker.

Any solutions guys and gals would be greatly apreciated!

9:58 pm on Feb 15, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member penders is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2006
posts: 3123
votes: 0


I don't think you can open a window of certain size WITHOUT JavaScript unfortunately.

But if you are opening your window in the onclick event of the link (ie. as a result of a direct user action), then this should NOT be blocked (by default) by the browsers pop-up blocker unless it is configured to block every pop-up, which I don't *think* is the norm?!

10:05 pm on Feb 15, 2007 (gmt 0)

Preferred Member

10+ Year Member

joined:Mar 14, 2001
posts:616
votes: 0


Even with a Java script to open a window, don't expect it to be opened at the requested size.

The default security settings of IE-7 cause all such windows to open full sized.

10:03 am on Feb 16, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 22, 2002
posts:1751
votes: 0


> The default security settings of IE-7 cause all such windows to open full sized.

That is not my experience. A window can be opened at, say 400300, without problems. Once it is opened, you can also run a script within the new window to resize it, e.g. to fit the size of a photo.

10:04 pm on Feb 16, 2007 (gmt 0)

Moderator from US 

WebmasterWorld Administrator keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 26, 2001
posts:10393
votes: 597



> The default security settings of IE-7 cause all such windows to open full sized.

Not my experience either. I use many JS pop-ups and all retain designated size in IE7, IE6, Firefox, et al.

12:59 am on Feb 22, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 11, 2006
posts:57
votes: 0


I'm interested in doing this as well. Can anyone share how to do this?
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members