Solved

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

Posted on 2007-03-22
8
381 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
ID: 18778232
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
ID: 18782031
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
ID: 18833246
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:akkha
ID: 18868610
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
ID: 18868634
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
ID: 18869836
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
ID: 19300363
PAQed with points refunded (125)

Computer101
EE Admin
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

920 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

16 Experts available now in Live!

Get 1:1 Help Now