How to make thumbnails open in new window using Dreamweaver CS3

I need my thumbnail links to open in a new window so that the users do not have to hit the back button to get back to the list of images.  Is there an easy way to do this with Dreamweaver?
ryda1003Asked:
Who is Participating?
 
Saqib KhanSenior DeveloperCommented:
in your links simply add a new attribute

<a href="bluh.html" target="_blank">Link</a>

so target="_blank" will do the Trick

in Drewamweaver i believe if you highlight link you can use the option "target".
0
 
ryda1003Author Commented:
Adikhan
You are correct that I can select the _blank in the "target" option.  That works great!  Thanks for that info.
One more step if you dont mind :), how can I make the new window open at a certain size instead of full size?
0
 
Saqib KhanSenior DeveloperCommented:
Sure for that you need to use javaScript

<a href="#" onClick="window.open('page.html','myWindow','width=500 height=500');return false">Hello</a>

so basicly add onClick even in your links and specifiy the width and height.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.