Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 560
  • Last Modified:

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

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
hawkeye_zzz
Asked:
hawkeye_zzz
1 Solution
 
pD_EOCommented:
<a href="#" onclick="window.open('http://google.com', '', 'width=800,height=200'); return false">Click</a>
0
 
hawkeye_zzzAuthor Commented:
Brilliant! thanks!!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now