Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-06-18
2
Medium Priority
?
558 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 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
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…
Suggested Courses

885 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