Solved

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

Posted on 2006-06-18
2
554 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
This article discusses how to implement server side field validation and display customized error messages to the client.
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…

734 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