Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to make thumbnails open in new window using Dreamweaver CS3

Posted on 2009-07-13
3
Medium Priority
?
570 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 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This program is used to assist in finding and resolving common problems with wireless connections.
How to fix a SonicWall Gateway Anti-Virus firewall blocking automatic updates to apps like Windows, Adobe, Symantec, etc.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

772 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