Solved

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

Posted on 2007-03-22
8
393 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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

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

Suggested Solutions

Title # Comments Views Activity
Auto Complete Using JQuery 5 80
Problem with Connection / Parameter: 4 21
Problem to run file 9 114
cookies analysis tools 2 91
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
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.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

770 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