Solved

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

Posted on 2006-06-18
2
549 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
Comment Utility
<a href="#" onclick="window.open('http://google.com', '', 'width=800,height=200'); return false">Click</a>
0
 
LVL 1

Author Comment

by:hawkeye_zzz
Comment Utility
Brilliant! thanks!!
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now