There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Software Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
dreamweaver link question


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
aconite's Avatar
Senior Member with 171 posts.
 
Join Date: Feb 2006
Experience: Intermediate
10-Aug-2006, 12:16 PM #1
dreamweaver link question
hi,

I have a set of images on my page which I have laid out in dreamweaver mx, I have set the image link to "target _blank", what I want is that when you click on the image link, the size of the browser window is set to the image size which is (w)354px X(h)500px.
Can anyone help
thanks
Rockn's Avatar
Computer Specs
Distinguished Member with 17,888 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
10-Aug-2006, 09:00 PM #2
You need to assign a behavior to the image.

<a href="#" onClick="MM_openBrWindow('http://www.intel.com','up','width=120,height=120')"><img src="Creature.gif" width="94" height="229" border="0"></a>
aconite's Avatar
Senior Member with 171 posts.
 
Join Date: Feb 2006
Experience: Intermediate
11-Aug-2006, 07:23 AM #3
what is MM
thanks again
Rockn's Avatar
Computer Specs
Distinguished Member with 17,888 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
11-Aug-2006, 08:06 AM #4
Forgot to post the function:

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
aconite's Avatar
Senior Member with 171 posts.
 
Join Date: Feb 2006
Experience: Intermediate
13-Aug-2006, 04:09 PM #5
Rockn,

have typed in function as well as code but the browser window is still not the size of my image, below is the code, there are a lot more images but I just did just one:

<head>
<script language="JavaScript" type="text/javascript">
<!--
function MM_openBrWindow(theURL,winName,features){//v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>

<body>
<a href="../images/elle%20march%2005%20large.png" onclick="MM_openBRWindow('http://www.christinebec.com','up','width="354", height="500')"><img src="../images/elle%20march%2005%20small.png" alt="Elle March 2005" width="106" height="150" border="0" />
</body>
Rockn's Avatar
Computer Specs
Distinguished Member with 17,888 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
13-Aug-2006, 09:42 PM #6
href refers to a web page not an image. You would have to create another HTML page with the image in it in order to do what you want.
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:42 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.