?
Solved

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

Posted on 2007-03-22
8
Medium Priority
?
435 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
It's sometimes a bit tricky to use date functions in Oracle BPEL. I'll explain quickly how you can add N days to the current date. In a BPEL process this can be useful, and you can adapt it to fit your needs. First of all, let's see how to add 1 …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

800 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