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

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

example page:
(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.
Question by:akkha
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
LVL 75

Expert Comment

by:Michel Plungjan
ID: 18778232
Of course they did
<a href="" onClick="ShowImage('', 400, 300); return false;"><img src="" 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

Author Comment

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

Thanks in advanced

Expert Comment

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.
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users


Author Comment

ID: 18868610
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

Author Comment

ID: 18868634
I've found the solution here already:

Thank you all.
LVL 75

Expert Comment

by:Michel Plungjan
ID: 18869836
Have a look here:

Accepted Solution

Computer101 earned 0 total points
ID: 19300363
PAQed with points refunded (125)

EE Admin

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When you work with shopping cart / ecommerce relates web sites, you need to pass the certain form post details to the payment gateway process page with required details for the products items you give to order. Also you may need to track the ordered…
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 …
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 the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

691 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