hi

I am trying to assign open a page in a new window, the following codes are doing so:

<a title="" target="_blank" href=" my_page.htm">
<img border="0" src="test.gif"></a>

but there are not any control on the size, scroll bar, etc. of the new window. so how can the parameters be defined in this case. please help...

Recommended Answers

All 2 Replies

Try this one...

<a title="" href="javascript:void(0);" onclick="window.open ('my_page.htm',target='_blank','width=500,height=500,toolbar=no,scrollbars=no,menubar=no,status=no,location=no');">
<img border="0" src="test.gif"></a>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.