Solved

How to make thumbnails open in new window using Dreamweaver CS3

Posted on 2009-07-13
3
541 Views
Last Modified: 2012-05-07
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?
0
Comment
Question by:ryda1003
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
Saqib Khan earned 500 total points
ID: 24846549
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
 

Author Comment

by:ryda1003
ID: 24851094
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
 
LVL 23

Expert Comment

by:Saqib Khan
ID: 24852261
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

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

821 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