Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2007-03-22
8
Medium Priority
?
446 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

610 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