Solved

How to open a normal href new window and control its size

Posted on 2006-06-18
2
551 Views
Last Modified: 2012-08-14
I have a normal <A Href ="blah.html" target="_blank"><imgsrc etc....
How do I get the resulting window from clicking that link to be 800 high by 200 wide, no scroll bars?
Everywhere I look talks about popups that fire off when the page opens, I just want to have a normal window opening when I click the link.
0
Comment
Question by:hawkeye_zzz
2 Comments
 
LVL 6

Accepted Solution

by:
pD_EO earned 500 total points
ID: 16930839
<a href="#" onclick="window.open('http://google.com', '', 'width=800,height=200'); return false">Click</a>
0
 
LVL 1

Author Comment

by:hawkeye_zzz
ID: 16930927
Brilliant! thanks!!
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question