Solved

How to onlick picture and popup the actual size (bigger) ?

Posted on 2007-03-22
8
366 Views
Last Modified: 2012-06-27
How to onlick picture and popup the actual size (bigger) ?

example page: http://www.manager.co.th/Crime/ViewNews.aspx?NewsID=9500000033491
(2 pictures on the left size)

It seem they didn't use javascript?
I would like to do my page the same as they do.
But I don't wanna use javascript.

Thanks in advanced.
0
Comment
Question by:akkha
8 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
Comment Utility
Of course they did
<a href="http://pics.manager.co.th/Images/550000003698001.JPEG" onClick="ShowImage('http://pics.manager.co.th/ShowImage.html?Image=%2fImages%2f550000003698001.JPEG&Width=400&Height=300', 400, 300); return false;"><img src="http://pics.manager.co.th/Thumbnails/550000003698001.JPEG" width="150" height="112" vspace="5" border="0"></a>

And there is NO way you can open a new window and have it resize to the size of the image without using javascript
0
 

Author Comment

by:akkha
Comment Utility
hi mplungjan
please tell me the javascript that I should put on <head> ?
i'm novice about html.

Thanks in advanced
0
 
LVL 4

Expert Comment

by:tree_d
Comment Utility
If all you want to do is open another window with the large image in it, this will work:
<a href="big-image.jpg"  target="_blank"><img src="small-image.jpg" /></a>
The new window will not necessarily be the size of the image.
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:akkha
Comment Utility
Hi
I do want they popup blank in the ACTUAL size of the picture like example I've provided.
(Internet Explorer must be the same size as picture).
Thanks in advanced
0
 

Author Comment

by:akkha
Comment Utility
I've found the solution here already: http://javascript.internet.com/generators/popup-window.html#source

Thank you all.
0
 
LVL 75

Expert Comment

by:Michel Plungjan
Comment Utility
Have a look here:
view-source:http://www.manager.co.th/JavaScript/Image.js
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
Comment Utility
PAQed with points refunded (125)

Computer101
EE Admin
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now